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

Disassembly:
push 0xffffffffffffffff
push 0x44d1cd
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebp
push esi
push edi
mov eax, dword [0x46568c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x48]
call fcn.0040e440
xor esi, esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], esi
call fcn.0040e440
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 1
call fcn.0040e440
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 2
call fcn.0040e440
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 3
call fcn.0040e440
mov edi, dword [esp + 0xac]
mov ecx, edi
mov byte [esp + 0xa4], 4
call fcn.0040fe10
test eax, eax
jle 0x40c70c
lea eax, [esp + 0x54]
push eax
push esi
mov ecx, edi
call fcn.0040fdf0
mov ecx, eax
call fcn.00415040
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 5
call fcn.0040e2b0
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 4
call fcn.0040e030
push esi
mov ecx, edi
call fcn.0040fdf0
mov ecx, eax
call fcn.00415030
add eax, 0xffffffe3
cmp eax, 7
ja case.default.0x40c5ce
jmp dword [eax*4 + 0x40c80c]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040e2b0
sub esp, 0xc
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0040e220
mov ecx, dword [esp + 0x28]
call fcn.0040bb20
jmp case.default.0x40c5ce
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x40]
call fcn.0040e2b0
jmp case.default.0x40c5ce
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x64]
call fcn.0040e2b0
jmp case.default.0x40c5ce
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x7c]
call fcn.0040e2b0
jmp case.default.0x40c5ce
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x94]
call fcn.0040e220
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00435c5e
add esp, 4
lea ecx, [esp + 0x90]
call fcn.0040e030
jmp case.default.0x40c5ce
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x88]
call fcn.0040e220
mov eax, dword [esp + 0x88]
push eax
call fcn.00435c5e
add esp, 4
lea ecx, [esp + 0x84]
mov ebp, eax
call fcn.0040e030
mov dword [esp + 0x28], ebp
jmp case.default.0x40c5ce
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040e220
mov edx, dword [esp + 0x70]
push edx
call fcn.00435c5e
add esp, 4
lea ecx, [esp + 0x6c]
mov ebp, eax
call fcn.0040e030
mov dword [esp + 0x38], ebp
jmp case.default.0x40c5ce
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.0040e220
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00435c5e
add esp, 4
lea ecx, [esp + 0x2c]
mov ebp, eax
call fcn.0040e030
mov dword [esp + 0x20], ebp
mov ecx, edi
add esi, 1
call fcn.0040fe10
cmp esi, eax
jl 0x40c57c
cmp dword [esp + 0x28], 0
jne 0x40c797
cmp dword [esp + 0x38], 0
jne 0x40c797
cmp dword [esp + 0x20], 1
jne 0x40c797
push 0x452ca0
lea ecx, [esp + 0x30]
call fcn.0040e2e0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0xb0], 6
call fcn.0040ba20
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x30], esp
lea ecx, [esp + 0x6c]
push ecx
push eax
push edx
mov byte [esp + 0xbc], 7
call fcn.0040ba20
mov ecx, dword [esp + 0x28]
call fcn.0040c0f0
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 6
call fcn.0040e030
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 4
call fcn.0040e030
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 3
call fcn.0040e030
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 2
call fcn.0040e030
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 1
call fcn.0040e030
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 0
call fcn.0040e030
lea ecx, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0040e030
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x98
ret 4