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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46991b
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x484060]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov eax, dword [0x4872ec]
mov ecx, 0x4872ec
mov dword [esp + 0x14], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], edi
jmp 0x435b4a
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
push esi
mov dword [edi], eax
call fcn.00435c5e
xor edi, edi
mov ebx, eax
cmp dword [esi + 0x34], edi
je 0x4358e7
cmp ebx, 6
jne 0x4358e7
mov eax, dword [0x4872ec]
mov ecx, 0x4872ec
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push edi
lea ebx, [esp + 0x1c]
mov byte [esp + 0x6c], 1
call fcn.00435bee
test eax, eax
je 0x4358c4
lea eax, [esp + 0x24]
push 0x478734
push eax
lea ecx, [esp + 0x18]
call fcn.00405263
mov ecx, ebx
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov byte [esp + 0x78], 2
call fcn.00405212
add esp, 0x10
lea edi, [esp + 0x10]
mov byte [esp + 0x68], 3
call fcn.00401470
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004017c3
push 0x47873c
xor ecx, ecx
mov esi, ebx
call fcn.00405155
mov byte [esp + 0x68], 0
test eax, eax
mov eax, dword [esp + 0x18]
jge 0x4358d7
add eax, 0xfffffff0
call fcn.004017c3
mov esi, dword [ebp + 8]
xor edi, edi
jmp 0x435820
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004017c3
jmp 0x4358e2
add eax, 0xfffffff0
call fcn.004017c3
mov esi, dword [ebp + 8]
push 2
pop ebx
xor edi, edi
cmp ebx, 1
jne 0x435959
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x20]
push eax
call fcn.00435de9
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x435924
and dword [esp + 0x14], 0
jmp 0x435947
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.004015e7
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00436489
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
call fcn.004017c3
jmp 0x435b4a
cmp ebx, 2
jne 0x4359f9
cmp dword [esp + 0x14], edi
jne 0x435996
cmp dword [esi + 0x3c], edi
je 0x435b4a
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x46f164
push eax
call fcn.0040227e
mov ecx, esi
call fcn.00436489
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x435b4a
lea edi, [esp + 0x3c]
call fcn.0043540e
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x10]
push ecx
mov esi, edi
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.004015e7
push dword [ebp + 8]
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00435e3c
test eax, eax
je 0x4359df
mov eax, dword [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x48], 2
call fcn.00435435
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [esp + 0x3c]
jmp 0x435b3f
cmp ebx, 5
jne 0x435ad4
cmp dword [esp + 0x14], edi
jne 0x435a36
cmp dword [esi + 0x3c], edi
je 0x435b4a
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x46f164
push eax
call fcn.0040227e
mov ecx, esi
call fcn.00436489
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x435b4a
lea edi, [esp + 0x4c]
call fcn.0043540e
mov eax, dword [ebp + 8]
mov byte [esp + 0x68], 6
cmp dword [eax + 0x30], 0
jne 0x435a9d
push 0x3b
xor ecx, ecx
lea esi, [esp + 0x14]
call fcn.0040512b
test eax, eax
jl 0x435a9d
push 0x3b
xor ecx, ecx
call fcn.0040512b
mov ecx, eax
lea edx, [esp + 0x28]
mov eax, esi
call fcn.00401c28
mov edi, esi
mov byte [esp + 0x68], 7
call fcn.00401470
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, esi
call fcn.00401cdc
call fcn.00401d2c
lea eax, [esp + 0x10]
lea edi, [esp + 0x4c]
mov dword [esp + 0x58], 5
call fcn.00401470
mov eax, dword [esp + 0x14]
mov ebx, edi
call fcn.00435435
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [esp + 0x4c]
jmp 0x435b3f
cmp dword [esi + 0x38], edi
je 0x435b4a
lea edi, [esp + 0x2c]
call fcn.0043540e
lea eax, [esp + 0x10]
mov byte [esp + 0x68], 8
call fcn.00401470
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
test eax, eax
jne 0x435b21
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3c], eax
je 0x435b2a
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x46f164
push eax
call fcn.0040227e
mov ecx, esi
call fcn.00436489
mov dword [esp + 0x14], eax
lea ebx, [esp + 0x2c]
call fcn.00435435
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.004017c3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004017c3
mov esi, dword [ebp + 8]
push 1
lea ebx, [esp + 0x14]
call fcn.00435bee
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4357f0
add eax, 0xfffffff0
call fcn.004017c3
xor eax, eax
inc eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc