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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x53d028
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push edi
mov eax, dword [0x590a50]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x56910e
lea ecx, [esp + 0x34]
call fcn.00403db0
mov dword [esp + 0x80], 0
mov eax, dword [esi + 0x360]
push eax
lea ecx, [esp + 0x34]
push 0x569114
push ecx
call fcn.00401650
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
push 1
push 0
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x364]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x38]
push str._4.4f
push eax
call fcn.00401650
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
push 1
push 1
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x368]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x38]
push str._4.4f
push edx
call fcn.00401650
mov eax, dword [esp + 0x40]
add esp, 0x10
push eax
push 1
push 2
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x36c]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x38]
push str._4.4f
push ecx
call fcn.00401650
mov edx, dword [esp + 0x40]
add esp, 0x10
push edx
push 1
push 3
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x374]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x38]
push str._4.4f
push eax
call fcn.00401650
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
push 1
push 4
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x37c]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x38]
push str._4.4f
push edx
call fcn.00401650
mov eax, dword [esp + 0x40]
add esp, 0x10
push eax
push 1
push 5
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x384]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x38]
push str._4.4f
push ecx
call fcn.00401650
mov edx, dword [esp + 0x40]
add esp, 0x10
push edx
push 1
push 6
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x370]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x38]
push str._4.4f
push eax
call fcn.00401650
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
push 1
push 7
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x378]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x38]
push str._4.4f
push edx
call fcn.00401650
mov eax, dword [esp + 0x40]
add esp, 0x10
push eax
push 1
push 8
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x380]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x38]
push str._4.4f
push ecx
call fcn.00401650
mov edx, dword [esp + 0x40]
add esp, 0x10
push edx
push 1
push 9
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x388]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x38]
push str._4.4f
push eax
call fcn.00401650
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
push 1
push 0xa
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x36c]
fdiv dword [esi + 0x370]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.0052f870
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul qword [0x56b0d8]
fstp dword [esp + 0x3c]
fld dword [esi + 0x374]
fdiv dword [esi + 0x378]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.0052f870
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul qword [0x56b0d8]
fstp dword [esp + 0x38]
fld dword [esi + 0x37c]
fdiv dword [esi + 0x380]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.0052f870
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul qword [0x56b0d8]
fstp dword [esp + 0x40]
fld dword [esi + 0x384]
fdiv dword [esi + 0x388]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
call fcn.0052f870
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
sub esp, 8
fmul qword [0x56b0d8]
lea edx, [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fadd dword [esp + 0x44]
fadd dword [esp + 0x48]
fadd dword [esp + 0x3c]
fmul qword [0x56b108]
fstp qword [esp]
push str._4.4f
push edx
call fcn.00401650
mov eax, dword [esp + 0x40]
add esp, 0x10
push eax
push 1
push 0xb
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x390]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x38]
push str._4.4f
push ecx
call fcn.00401650
mov edx, dword [esp + 0x40]
add esp, 0x10
push edx
push 1
push 0xc
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x38c]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x38]
push str._4.4f
push eax
call fcn.00401650
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
push 1
push 0xd
lea ecx, [esi + 0x2a8]
call fcn.004227ab
mov edx, dword [esi + 0x394]
push edx
push 0x569114
lea eax, [esp + 0x38]
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0xe
lea ecx, [esi + 0x2a8]
call fcn.004227ab
mov edx, dword [esi + 0x398]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0xf
lea ecx, [esi + 0x2a8]
call fcn.004227ab
movzx edx, byte [esi + 0x3a5]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0x10
lea ecx, [esi + 0x2a8]
call fcn.004227ab
movzx edx, byte [esi + 0x3a6]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0x11
lea ecx, [esi + 0x2a8]
call fcn.004227ab
movzx edx, byte [esi + 0x3a7]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0x12
lea ecx, [esi + 0x2a8]
call fcn.004227ab
mov edx, dword [esi + 0x39c]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0x13
lea ecx, [esi + 0x2a8]
call fcn.004227ab
mov edx, dword [esi + 0x3a0]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0x14
lea ecx, [esi + 0x2a8]
call fcn.004227ab
movzx edx, byte [esi + 0x3a4]
push edx
lea eax, [esp + 0x34]
push 0x569114
push eax
call fcn.00401650
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 1
push 0x15
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x3a8]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x38]
push 0x569110
push edx
call fcn.00401650
mov eax, dword [esp + 0x40]
add esp, 0x10
push eax
push 1
push 0x16
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x3ac]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x38]
push 0x569110
push ecx
call fcn.00401650
mov edx, dword [esp + 0x40]
add esp, 0x10
push edx
push 1
push 0x17
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x3b0]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x38]
push 0x569110
push eax
call fcn.00401650
mov ecx, dword [esp + 0x40]
add esp, 0x10
push ecx
push 1
push 0x18
lea ecx, [esi + 0x2a8]
call fcn.004227ab
fld dword [esi + 0x3b4]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x38]
push 0x569110
push edx
call fcn.00401650
mov eax, dword [esp + 0x40]
add esp, 0x10
push eax
push 1
push 0x19
lea ecx, [esi + 0x2a8]
call fcn.004227ab
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret