Function at 0x40d180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44fc2e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebp
push esi
push edi
mov eax, dword [0x469788]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x3c]
call fcn.0040f4a0
xor esi, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0xc8], esi
call fcn.0040f4a0
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 1
call fcn.0040f4a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 2
call fcn.0040f4a0
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.0040f4a0
mov edi, dword [esp + 0xd0]
mov ecx, edi
mov byte [esp + 0xc8], 4
call fcn.00410ea0
test eax, eax
jle 0x40d45b
lea eax, [esp + 0x9c]
push eax
push esi
mov ecx, edi
call fcn.00410e80
mov ecx, eax
call fcn.004160c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 5
call fcn.0040f310
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 4
call fcn.0040f070
push esi
mov ecx, edi
call fcn.00410e80
mov ecx, eax
call fcn.004160b0
add eax, 0xffffffe3
cmp eax, 7
ja case.default.0x40d274
jmp dword [eax*4 + 0x40d55c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040f310
sub esp, 0xc
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040f280
mov ecx, dword [esp + 0x2c]
call fcn.0040c7d0
jmp case.default.0x40d274
sub esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040f280
lea ecx, [esp + 0xc0]
push ecx
call fcn.00416df0
add esp, 0x10
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 6
call fcn.0040f310
lea ecx, [esp + 0xb4]
mov byte [esp + 0xc8], 4
call fcn.0040f070
jmp case.default.0x40d274
sub esp, 0xc
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040f280
lea eax, [esp + 0xb4]
push eax
call fcn.00416df0
add esp, 0x10
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xcc], 7
call fcn.0040f310
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc8], 4
call fcn.0040f070
jmp case.default.0x40d274
sub esp, 0xc
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040f280
lea eax, [esp + 0x60]
push eax
call fcn.00416df0
add esp, 0x10
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xcc], 8
call fcn.0040f310
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 4
call fcn.0040f070
jmp case.default.0x40d274
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0040f280
mov edx, dword [esp + 0x7c]
push edx
call fcn.00438a12
add esp, 4
lea ecx, [esp + 0x78]
call fcn.0040f070
jmp case.default.0x40d274
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x94]
call fcn.0040f280
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00438a12
add esp, 4
lea ecx, [esp + 0x90]
mov ebp, eax
call fcn.0040f070
mov dword [esp + 0x2c], ebp
jmp case.default.0x40d274
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x88]
call fcn.0040f280
mov eax, dword [esp + 0x88]
push eax
call fcn.00438a12
add esp, 4
lea ecx, [esp + 0x84]
mov ebp, eax
call fcn.0040f070
mov dword [esp + 0x28], ebp
jmp case.default.0x40d274
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040f280
mov edx, dword [esp + 0x34]
push edx
call fcn.00438a12
add esp, 4
lea ecx, [esp + 0x30]
mov ebp, eax
call fcn.0040f070
mov dword [esp + 0x24], ebp
mov ecx, edi
inc esi
call fcn.00410ea0
cmp esi, eax
jl 0x40d21c
cmp dword [esp + 0x2c], 0
jne 0x40d4e6
cmp dword [esp + 0x28], 0
jne 0x40d4e6
cmp dword [esp + 0x24], 1
jne 0x40d4e6
push 0x455f1c
lea ecx, [esp + 0x34]
call fcn.0040f340
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xd4], 9
call fcn.0040c6d0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
lea edx, [esp + 0x6c]
push edx
push eax
push ecx
mov byte [esp + 0xe0], 0xa
call fcn.0040c6d0
mov ecx, dword [esp + 0x2c]
call fcn.0040cda0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 9
call fcn.0040f070
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 4
call fcn.0040f070
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.0040f070
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 2
call fcn.0040f070
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 1
call fcn.0040f070
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0
call fcn.0040f070
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.0040f070
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xbc
ret 4