Function at 0x408590
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x660e20
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 1
call fcn.004079f0
cmp byte [esp + 0x40], 0
je 0x4086e7
push 1
mov dword [esi + 0xc], eax
call fcn.00407a30
push 1
mov dword [esi + 0x10], eax
call fcn.00407a70
push 1
mov dword [esi + 0x14], eax
call fcn.00407ab0
push 1
mov byte [esi + 0x18], al
call fcn.00407af0
push 1
mov byte [esi + 0x19], al
call fcn.00407b30
push 1
mov dword [esi + 0x1c], eax
call fcn.00407bc0
push 1
mov dword [esi + 0x3c], eax
call fcn.00407c30
push 1
mov byte [esi + 0x40], al
call fcn.00407b80
push 1
mov byte [esi + 0x41], al
call fcn.00407c70
push 1
mov byte [esi + 0x42], al
call fcn.00407cb0
push 1
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 1
mov dword [esi + 0x4c], 2
mov dword [esi + 0x50], 1
mov dword [esi + 0x54], 2
call fcn.00407e00
push 1
mov byte [esi + 0x74], al
call fcn.00407e40
push 1
mov byte [esi + 0x75], al
call fcn.00407e80
push 1
mov byte [esi + 0x76], al
call fcn.00407ec0
push 1
mov byte [esi + 0x77], al
call fcn.00407f00
push 1
mov byte [esi + 0x78], al
call fcn.00407f40
push 1
mov byte [esi + 0x79], al
call fcn.00407f80
push 1
mov dword [esi + 0x7c], eax
call fcn.00407fc0
push 1
mov byte [esi + 0x80], al
call fcn.004080b0
push 1
mov byte [esi + 0xac], al
call fcn.00408100
push 1
mov byte [esi + 0xad], al
call fcn.00430150
push 1
mov dword [esi + 0xb0], eax
call fcn.00408180
mov dword [esi + 0xb4], eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4
push eax
call fcn.00407a10
push 1
call fcn.00407a30
push eax
call fcn.00407a50
push 1
call fcn.00407ab0
movzx eax, al
push eax
call fcn.00407ad0
push 1
call fcn.00407af0
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00407b10
push 1
call fcn.00407b30
push eax
call fcn.00407b50
push 1
call fcn.00407bc0
push eax
call fcn.00407be0
push 1
call fcn.00407c30
movzx edx, al
push edx
call fcn.00407c50
push 1
call fcn.00407b80
movzx eax, al
push eax
call fcn.00407ba0
push 1
call fcn.00407c70
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00407c90
push 1
call fcn.00407cb0
push eax
call fcn.00407cd0
push 1
push 0
push 0
call fcn.00407d50
push 2
push 1
push 0
call fcn.00407d50
push 1
push 0
push 1
call fcn.00407d50
push 2
push 1
push 1
call fcn.00407d50
push 1
call fcn.00407e00
movzx edx, al
push edx
call fcn.00407e20
push 1
call fcn.00407e40
movzx eax, al
push eax
call fcn.00407e60
push 1
call fcn.00407e80
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00407ea0
push 1
call fcn.00407ec0
movzx edx, al
push edx
call fcn.00407ee0
push 1
call fcn.00407f00
movzx eax, al
push eax
call fcn.00407f20
push 1
call fcn.00407f40
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00407f60
push 1
call fcn.00407f80
push eax
call fcn.00407fa0
push 1
call fcn.00407fc0
movzx edx, al
push edx
call fcn.00407fe0
push 0x6edb9d
lea ecx, [esp + 0xc]
call fcn.00432cd0
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00408020
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.00431720
push 0x6edb9d
lea ecx, [esp + 0x20]
call fcn.00432cd0
push eax
mov ecx, esi
mov dword [esp + 0x3c], 1
call fcn.00408070
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00431720
push 1
mov ecx, esi
call fcn.004080b0
movzx eax, al
push eax
call fcn.004080d0
push 1
call fcn.00408100
movzx ecx, al
push ecx
mov ecx, esi
call fcn.00408120
push 1
call fcn.00430150
push eax
call fcn.00408150
push 1
call fcn.00408180
push eax
call fcn.004081a0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4