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

Disassembly:
push 0xffffffffffffffff
push 0x447390
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4551b0]
xor eax, esp
mov dword [esp + 0x84], eax
push ebp
push esi
push edi
mov eax, dword [0x4551b0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x20]
xor ebp, ebp
push ecx
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], ebp
call fcn.00404700
add esp, 4
test al, al
je 0x405c36
cmp dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
jle 0x405bf7
jmp 0x4059b0
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebp
mov word [esp + 0x60], bp
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
mov edx, ebx
mov dword [esp + 0xa8], ebp
call fcn.00404a60
add esp, 4
test al, al
je 0x405c22
cmp dword [esp + 0x70], ebp
je 0x405c3a
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x20], ebp
call fcn.00404700
add esp, 4
test al, al
je 0x405c52
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
jle 0x405bc3
lea ebx, [ebx]
mov esi, 7
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
mov edx, ebx
mov byte [esp + 0xa8], 1
call fcn.00404a60
add esp, 4
test al, al
je 0x405c6a
cmp dword [esp + 0x54], ebp
je 0x405c95
lea edx, [esp + 0x18]
push edx
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x1c], ebp
call fcn.00404700
add esp, 4
test al, al
je 0x405cc3
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x405a8b
jmp dword [eax*4 + 0x405d80]
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x1c], ebp
call fcn.00404700
add esp, 4
test al, al
je 0x405d13
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x60]
call fcn.00407570
lea edx, [esp + 0x40]
push edx
push eax
call fcn.00407980
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004043a0
jmp case.0x405a8b.0
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x18]
mov edx, ebx
mov byte [esp + 0xa8], 2
call fcn.00404a60
add esp, 4
test al, al
je 0x405d0a
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.00407570
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.00407980
mov ecx, eax
lea eax, [esp + 0x78]
call fcn.00404470
lea ecx, [esp + 0x78]
call fcn.00401940
jmp case.0x405a8b.0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
lea edx, [esp + 0x30]
push edx
push ebx
lea eax, [esp + 0x1c]
mov byte [esp + 0xac], 3
call fcn.004048d0
add esp, 8
test al, al
je 0x405d2c
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.00407570
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.00407980
lea edx, [esp + 0x30]
mov dword [eax], 3
push edx
add eax, 4
call fcn.004073c0
lea esi, [esp + 0x30]
call fcn.00402eb0
lea ecx, [esp + 0x40]
call fcn.00401940
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jl 0x405a20
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x74], 8
jb 0x405be2
mov eax, dword [esp + 0x60]
push eax
call fcn.00431474
add esp, 4
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jl 0x4059b0
mov al, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00431b07
add esp, 0x98
ret 4
cmp dword [esp + 0x74], 8
jb 0x405c36
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x405bf9
cmp dword [esp + 0x74], 8
jb 0x405c36
mov edx, dword [esp + 0x60]
push edx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x405bf9
cmp dword [esp + 0x74], 8
jb 0x405c36
mov eax, dword [esp + 0x60]
push eax
call fcn.00431474
add esp, 4
xor al, al
jmp 0x405bf9
mov edi, 8
cmp dword [esp + 0x58], edi
jb 0x405c82
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jmp 0x405c3f
mov edi, 8
cmp dword [esp + 0x58], edi
jb 0x405cad
mov eax, dword [esp + 0x44]
push eax
call fcn.00431474
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jmp 0x405c27
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x405cdb
mov edx, dword [esp + 0x44]
push edx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jb 0x405c36
mov eax, dword [esp + 0x60]
push eax
call fcn.00431474
add esp, 4
xor al, al
jmp 0x405bf9
lea ecx, [esp + 0x78]
call fcn.00401940
lea ecx, [esp + 0x40]
call fcn.00401940
lea ecx, [esp + 0x5c]
call fcn.00401940
xor al, al
jmp 0x405bf9
lea esi, [esp + 0x30]
call fcn.00402eb0
jmp 0x405d13
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x405d4f
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00431474
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jb 0x405c36
mov edx, dword [esp + 0x60]
push edx
call fcn.00431474
add esp, 4
xor al, al
jmp 0x405bf9