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

Disassembly:
push 0xffffffffffffffff
push 0x449250
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4581b0]
xor eax, esp
mov dword [esp + 0x84], eax
push ebp
push esi
push edi
mov eax, dword [0x4581b0]
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.00404720
add esp, 4
test al, al
je 0x405c56
cmp dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
jle 0x405c17
jmp 0x4059d0
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.00404a80
add esp, 4
test al, al
je 0x405c42
cmp dword [esp + 0x70], ebp
je 0x405c5a
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x20], ebp
call fcn.00404720
add esp, 4
test al, al
je 0x405c72
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
jle 0x405be3
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.00404a80
add esp, 4
test al, al
je 0x405c8a
cmp dword [esp + 0x54], ebp
je 0x405cb5
lea edx, [esp + 0x18]
push edx
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x1c], ebp
call fcn.00404720
add esp, 4
test al, al
je 0x405ce3
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x405aab
jmp dword [eax*4 + 0x405da0]
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x18]
mov esi, ebx
mov dword [esp + 0x1c], ebp
call fcn.00404720
add esp, 4
test al, al
je 0x405d33
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x60]
call fcn.00407590
lea edx, [esp + 0x40]
push edx
push eax
call fcn.004079a0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004043c0
jmp case.0x405aab.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.00404a80
add esp, 4
test al, al
je 0x405d2a
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.00407590
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.004079a0
mov ecx, eax
lea eax, [esp + 0x78]
call fcn.00404490
lea ecx, [esp + 0x78]
call fcn.00401950
jmp case.0x405aab.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.004048f0
add esp, 8
test al, al
je 0x405d4c
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.00407590
lea ecx, [esp + 0x40]
push ecx
push eax
call fcn.004079a0
lea edx, [esp + 0x30]
mov dword [eax], 3
push edx
add eax, 4
call fcn.004073e0
lea esi, [esp + 0x30]
call fcn.00402e30
lea ecx, [esp + 0x40]
call fcn.00401950
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jl 0x405a40
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x74], 8
jb 0x405c02
mov eax, dword [esp + 0x60]
push eax
call fcn.00433114
add esp, 4
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jl 0x4059d0
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.004337a7
add esp, 0x98
ret 4
cmp dword [esp + 0x74], 8
jb 0x405c56
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00433114
add esp, 4
xor al, al
jmp 0x405c19
cmp dword [esp + 0x74], 8
jb 0x405c56
mov edx, dword [esp + 0x60]
push edx
call fcn.00433114
add esp, 4
xor al, al
jmp 0x405c19
cmp dword [esp + 0x74], 8
jb 0x405c56
mov eax, dword [esp + 0x60]
push eax
call fcn.00433114
add esp, 4
xor al, al
jmp 0x405c19
mov edi, 8
cmp dword [esp + 0x58], edi
jb 0x405ca2
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jmp 0x405c5f
mov edi, 8
cmp dword [esp + 0x58], edi
jb 0x405ccd
mov eax, dword [esp + 0x44]
push eax
call fcn.00433114
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jmp 0x405c47
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x405cfb
mov edx, dword [esp + 0x44]
push edx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jb 0x405c56
mov eax, dword [esp + 0x60]
push eax
call fcn.00433114
add esp, 4
xor al, al
jmp 0x405c19
lea ecx, [esp + 0x78]
call fcn.00401950
lea ecx, [esp + 0x40]
call fcn.00401950
lea ecx, [esp + 0x5c]
call fcn.00401950
xor al, al
jmp 0x405c19
lea esi, [esp + 0x30]
call fcn.00402e30
jmp 0x405d33
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x405d6f
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00433114
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebp
mov word [esp + 0x44], bp
jb 0x405c56
mov edx, dword [esp + 0x60]
push edx
call fcn.00433114
add esp, 4
xor al, al
jmp 0x405c19