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

Disassembly:
push 0xffffffffffffffff
push 0x45015e
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.0040f660
xor esi, esi
lea ecx, [esp + 0x48]
mov dword [esp + 0xc8], esi
call fcn.0040f660
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 1
call fcn.0040f660
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 2
call fcn.0040f660
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.0040f660
mov edi, dword [esp + 0xd0]
mov ecx, edi
mov byte [esp + 0xc8], 4
call fcn.00411050
test eax, eax
jle 0x40d46b
lea eax, [esp + 0x9c]
push eax
push esi
mov ecx, edi
call fcn.00411030
mov ecx, eax
call fcn.00416270
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 5
call fcn.0040f4d0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc8], 4
call fcn.0040f230
push esi
mov ecx, edi
call fcn.00411030
mov ecx, eax
call fcn.00416260
add eax, 0xffffffe3
cmp eax, 7
ja case.default.0x40d284
jmp dword [eax*4 + 0x40d56c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040f4d0
sub esp, 0xc
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040f440
mov ecx, dword [esp + 0x2c]
call fcn.0040c7e0
jmp case.default.0x40d284
sub esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040f440
lea ecx, [esp + 0xc0]
push ecx
call fcn.00417050
add esp, 0x10
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 6
call fcn.0040f4d0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xc8], 4
call fcn.0040f230
jmp case.default.0x40d284
sub esp, 0xc
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040f440
lea eax, [esp + 0xb4]
push eax
call fcn.00417050
add esp, 0x10
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xcc], 7
call fcn.0040f4d0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xc8], 4
call fcn.0040f230
jmp case.default.0x40d284
sub esp, 0xc
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0040f440
lea eax, [esp + 0x60]
push eax
call fcn.00417050
add esp, 0x10
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xcc], 8
call fcn.0040f4d0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 4
call fcn.0040f230
jmp case.default.0x40d284
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0040f440
mov edx, dword [esp + 0x7c]
push edx
call fcn.00438f42
add esp, 4
lea ecx, [esp + 0x78]
call fcn.0040f230
jmp case.default.0x40d284
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x94]
call fcn.0040f440
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00438f42
add esp, 4
lea ecx, [esp + 0x90]
mov ebp, eax
call fcn.0040f230
mov dword [esp + 0x2c], ebp
jmp case.default.0x40d284
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x88]
call fcn.0040f440
mov eax, dword [esp + 0x88]
push eax
call fcn.00438f42
add esp, 4
lea ecx, [esp + 0x84]
mov ebp, eax
call fcn.0040f230
mov dword [esp + 0x28], ebp
jmp case.default.0x40d284
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040f440
mov edx, dword [esp + 0x34]
push edx
call fcn.00438f42
add esp, 4
lea ecx, [esp + 0x30]
mov ebp, eax
call fcn.0040f230
mov dword [esp + 0x24], ebp
mov ecx, edi
inc esi
call fcn.00411050
cmp esi, eax
jl 0x40d22c
cmp dword [esp + 0x2c], 0
jne 0x40d4f6
cmp dword [esp + 0x28], 0
jne 0x40d4f6
cmp dword [esp + 0x24], 1
jne 0x40d4f6
push 0x455f6c
lea ecx, [esp + 0x34]
call fcn.0040f500
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.0040c6e0
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.0040c6e0
mov ecx, dword [esp + 0x2c]
call fcn.0040cdb0
lea ecx, [esp + 0x54]
mov byte [esp + 0xc8], 9
call fcn.0040f230
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 4
call fcn.0040f230
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 3
call fcn.0040f230
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc8], 2
call fcn.0040f230
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 1
call fcn.0040f230
lea ecx, [esp + 0x48]
mov byte [esp + 0xc8], 0
call fcn.0040f230
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.0040f230
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xbc
ret 4