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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x444beb
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x458264]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
push 0x45a964
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], esi
xor bl, bl
call fcn.004021e1
mov dword [esp + 0x70], esi
cmp dword [ebp + 8], esi
je 0x405f8d
push 0x449cd0
push 0xe
mov edi, 0x20b8
push edi
call fcn.004262bf
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
call fcn.00401f1d
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x78], 1
call fcn.0041d029
pop ecx
pop ecx
mov byte [esp + 0x70], 3
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040113c
push 0x449c48
lea ecx, [esp + 0x2c]
call fcn.00401f1d
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x7c], 4
call fcn.00425f81
mov byte [esp + 0x70], 6
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [ebp + 8]
call fcn.0041b08c
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x405f18
jmp 0x405cba
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
jle 0x405f18
lea eax, [esp + 0x14]
push eax
mov eax, esi
call fcn.00404006
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x78], 7
call fcn.0041be83
mov byte [esp + 0x70], 8
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx - 0xc]
test esi, esi
jle 0x405ec6
push dword [esp + 0x1c]
push ebx
call fcn.0041cb5c
pop ecx
pop ecx
push 2
pop eax
cmp esi, eax
jle 0x405d47
lea ebx, [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.00401f7a
mov esi, eax
push 0x449ce0
push 3
mov byte [esp + 0x78], 9
or dword [esp + 0x20], 1
push 0x1aaa
call fcn.004262bf
add esp, 0xc
push eax
mov ecx, esi
call fcn.00406689
test eax, eax
jne 0x405d47
mov bl, 1
jmp 0x405d49
xor bl, bl
mov dword [esp + 0x70], 8
test byte [esp + 0x18], 1
je 0x405d69
mov ecx, dword [esp + 0x34]
and dword [esp + 0x18], 0xfffffffe
add ecx, 0xfffffff0
call fcn.0040113c
test bl, bl
je 0x405dce
push 2
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.004067d6
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x78], 0xa
push eax
mov byte [esp + 0x1f], 0
call fcn.0041cf76
mov ecx, dword [esp + 0x44]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040113c
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x2c]
je 0x405dc1
push dword [esp + 0x1c]
push esi
call fcn.0041cb5c
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [esp + 0x70], 8
call fcn.0040113c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0042250d
mov esi, eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x80], 0xb
call fcn.0042250d
mov ebx, eax
push 0x449ce4
push 4
push 0xa21
mov byte [esp + 0x8c], 0xc
call fcn.004262bf
add esp, 0x1c
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040684a
lea ecx, [esp + 0x4c]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x80], 0xd
call fcn.004067f9
lea ecx, [esp + 0x50]
push 0x3d
push ecx
mov ecx, eax
mov byte [esp + 0x88], 0xe
call fcn.004068a5
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x90], 0xf
call fcn.004067f9
add esp, 0x20
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0x10
call fcn.0040222e
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.0040113c
mov byte [esp + 0x70], 8
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.0040113c
mov ebx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x5c]
call fcn.00426121
test al, al
jne 0x405ee7
lea eax, [esp + 0x14]
push eax
mov eax, esi
push eax
call fcn.004260a5
mov esi, dword [esp + 0x20]
call fcn.0041b213
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov dword [esp + 0x20], eax
call fcn.0040113c
lea ecx, [ebx - 0x10]
mov byte [esp + 0x70], 6
call fcn.0040113c
cmp dword [esp + 0x20], 0
jne 0x405cb6
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x58]
call fcn.0042606a
mov byte [esp + 0x70], 0x11
push dword [eax]
push 0x449cd0
push 0xe
push edi
call fcn.004262bf
add esp, 0xc
push eax
call fcn.0041cb5c
pop ecx
pop ecx
mov byte [esp + 0x70], 6
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.0040113c
push dword [esp + 0x24]
push 0x449cec
push 0x1a
push 0x204d
call fcn.004262bf
add esp, 0xc
push eax
call fcn.0041cb5c
pop ecx
pop ecx
lea esi, [esp + 0x54]
mov bl, 1
call fcn.00426085
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040113c
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040113c
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4