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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bec0b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x639490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x30
call fcn.00406670
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e020
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 5
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 6
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 8
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0xa
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0xe
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x12
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x16
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x1a
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dff0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e020
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x24
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e020
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x28
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x29
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x2a
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x10
mov ecx, dword [ebp - 0x18]
add ecx, 0x2c
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040e020
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x30
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040e050
add esp, 0x14
mov eax, dword [ebp - 0x18]
add eax, 0x48
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040e020
add esp, 0x10
mov eax, dword [ebp - 0x18]
add eax, 0x4c
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040dff0
add esp, 0x10
mov eax, dword [ebp - 0x18]
add eax, 0x4e
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040dfc0
add esp, 0x10
mov eax, dword [ebp - 0x18]
add eax, 0x50
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040e020
add esp, 0x10
mov eax, dword [ebp - 0x18]
add eax, 0x54
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040e020
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581c71
mov esp, ebp
pop ebp
ret 4