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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5587bd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0040be70
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
lea esi, [edi + 4]
mov ecx, dword [ebx + 4]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 8]
mov ecx, dword [ebx + 8]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0xc]
mov ecx, dword [ebx + 0xc]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 7
lea esi, [edi + 0x14]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov ecx, dword [ebx + 0x14]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x18]
mov ecx, dword [ebx + 0x18]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x1c]
mov ecx, dword [ebx + 0x1c]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xd
lea esi, [edi + 0x20]
mov ecx, dword [ebx + 0x20]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xf
lea esi, [edi + 0x24]
mov ecx, dword [ebx + 0x24]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x2c]
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x2c]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x13
lea esi, [edi + 0x30]
mov ecx, dword [ebx + 0x30]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x15
lea esi, [edi + 0x34]
mov ecx, dword [ebx + 0x34]
sub ecx, 0x10
mov dword [ebp + 8], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x17
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x49d867
push 0x1c
push eax
call fcn.0052b330
add esp, 8
mov dword [edi + 0x3c], eax
test eax, eax
je 0x49d867
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x44], eax
xor edi, edi
mov eax, dword [ebx + 0x40]
test eax, eax
jle 0x49d864
xor esi, esi
test esi, esi
js 0x49d8d6
cmp edi, eax
jge 0x49d8d6
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0x10]
add eax, esi
push eax
lea ecx, [ecx + 0x3c]
call fcn.0049d8f0
mov eax, dword [ebx + 0x40]
inc edi
add esi, 0x1c
cmp edi, eax
jl 0x49d838
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 0x18
add edi, 0x48
mov ecx, dword [ebx + 0x48]
sub ecx, 0x10
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], edi
call fcn.0040be70
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
lea esi, [edi + 4]
mov ecx, dword [ebx + 0x4c]
sub ecx, 0x10
mov dword [ebp - 0x14], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x1c
lea esi, [edi + 8]
mov ecx, dword [ebx + 0x50]
sub ecx, 0x10
mov dword [ebp - 0x14], esi
call fcn.0040be70
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
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
push 1
push 0xc000008c
call fcn.0040f790
int3