Function at 0x4494a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e590a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x521104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], esi
call fcn.0040e330
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push eax
call fcn.0040e330
mov byte [ebp - 4], 1
lea ecx, [esi + 0x34]
mov al, byte [ebx + 0x30]
mov byte [esi + 0x30], al
lea eax, [ebx + 0x34]
push eax
call fcn.0040e330
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
mov dword [esi + 0x50], eax
lea eax, [ebx + 0x58]
mov dword [esi + 0x54], ecx
lea ecx, [esi + 0x58]
push eax
call fcn.0040e330
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov dword [esi + 0x78], eax
lea eax, [ebx + 0x80]
mov dword [esi + 0x7c], ecx
lea ecx, [esi + 0x80]
push eax
call fcn.0040e330
mov byte [ebp - 4], 4
lea edi, [esi + 0xa4]
mov eax, dword [ebx + 0x98]
mov dword [esi + 0x98], eax
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0x9c], eax
mov eax, dword [ebx + 0xa0]
mov dword [esi + 0xa0], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebx + 0xa8]
sub eax, dword [ebx + 0xa4]
sar eax, 2
mov dword [ebp - 0x10], edi
test eax, eax
je 0x4495e4
cmp eax, 0x3fffffff
ja 0x4497f5
push eax
mov ecx, edi
call fcn.0043d320
mov esi, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xa4]
sub esi, eax
mov edi, dword [edi]
push esi
push eax
push edi
call fcn.004a6310
mov ecx, dword [ebp - 0x10]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea eax, [ebx + 0xb0]
mov byte [ebp - 4], 5
lea ecx, [esi + 0xb0]
push eax
call fcn.0040e330
lea eax, [ebx + 0xc8]
mov byte [ebp - 4], 6
lea ecx, [esi + 0xc8]
push eax
call fcn.0040e330
lea eax, [ebx + 0xe0]
mov byte [ebp - 4], 7
lea ecx, [esi + 0xe0]
push eax
call fcn.0040e330
lea eax, [ebx + 0xf8]
mov byte [ebp - 4], 8
lea ecx, [esi + 0xf8]
push eax
call fcn.0040e330
lea edi, [esi + 0x110]
mov byte [ebp - 4], 9
lea esi, [ebx + 0x110]
mov dword [ebp - 0x10], edi
push esi
mov ecx, edi
call fcn.0040e330
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x18]
push eax
call fcn.0040e330
lea eax, [esi + 0x30]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x30]
push eax
call fcn.0040e330
mov byte [ebp - 4], 0xc
lea eax, [ebx + 0x158]
mov edi, dword [ebp - 0x18]
push eax
lea ecx, [edi + 0x158]
call fcn.0040e330
lea eax, [ebx + 0x170]
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x170]
push eax
call fcn.0040e330
lea eax, [ebx + 0x188]
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0x188]
push eax
call fcn.0040e330
lea eax, [ebx + 0x1a0]
mov byte [ebp - 4], 0xf
lea ecx, [edi + 0x1a0]
push eax
call fcn.0040e330
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x1b8]
movzx eax, byte [ebx + 0x1b8]
lea ecx, [esi + 4]
mov byte [esi], al
lea eax, [ebx + 0x1bc]
push eax
mov dword [ebp - 0x10], esi
call fcn.0040e330
mov byte [ebp - 4], 0x11
add esi, 0x1c
push 0x28
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a38e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebx + 0x1d4]
mov byte [ebp - 4], 0x12
push eax
mov ecx, esi
call fcn.00448c20
mov byte [ebp - 4], 0x13
lea esi, [edi + 0x1e0]
movzx eax, byte [ebx + 0x1dc]
mov byte [edi + 0x1dc], al
push 0xa0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004a38e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebx + 0x1e0]
mov byte [ebp - 4], 0x14
push eax
mov ecx, esi
call fcn.00448ba0
mov byte [ebp - 4], 0x15
lea esi, [edi + 0x1e8]
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.004a38e1
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea edx, [ebx + 0x1e8]
mov byte [ebp - 4], 0x16
push edx
mov ecx, esi
call fcn.00445fe0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0040d880
int3