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

Disassembly:
sub esp, 0x14c
mov eax, dword [eax + 0x10]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x45c44c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x28], edi
jle 0x435956
cmp ebp, ebx
jne 0x435956
lea eax, [esp + 0x14]
push eax
xor edx, edx
sub esp, 0x10
mov eax, esp
mov word [esp + 0x4c], dx
mov esi, dword [esp + 0x4c]
mov dword [eax], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x58]
mov dword [eax + 0xc], esi
mov ecx, 0x17
mov word [esp + 0x5c], cx
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x78]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
call ecx
test eax, eax
jne 0x435947
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x24]
push ecx
push 0x45c40c
push eax
call edx
test eax, eax
jne 0x43593b
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x43592f
push 0x100
lea ecx, [esp + 0x60]
push ebx
push ecx
call fcn.00442d40
add esp, 0xc
lea edx, [esp + 0x58]
push edx
push ebx
push 0x100
lea eax, [esp + 0x68]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [fcn.0045c23c]
lea eax, [esp + 0x5c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435792
sub eax, edx
inc eax
push eax
call fcn.0043fef7
mov esi, eax
lea eax, [esp + 0x60]
mov edx, esi
mov ecx, eax
add esp, 4
mov dword [esp + 0x34], esi
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4357b5
mov ecx, dword [esp + 0x170]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4357e8
test dl, dl
je 0x4357e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4357e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4357c8
xor eax, eax
jmp 0x4357ed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x435926
mov edx, dword [0x45c42c]
mov ecx, dword [0x45c430]
mov esi, dword [esp + 0x160]
mov edi, dword [esp + 0x164]
mov ebp, dword [esp + 0x168]
mov ebx, dword [esp + 0x16c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x45c434]
mov dword [eax + 4], ecx
mov ecx, dword [0x45c438]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
call fcn.00433c50
add esp, 0x20
test eax, eax
je 0x43588e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0
mov edx, dword [eax]
mov edx, dword [edx]
push 0x45c42c
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor edx, edx
cmp dword [esp + 0x174], edx
sete dl
movzx edx, dx
push edx
push eax
mov eax, dword [ecx + 0x38]
jmp 0x435909
mov ecx, dword [0x45c41c]
mov edx, dword [0x45c420]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x45c424]
mov dword [eax + 4], edx
mov edx, dword [0x45c428]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
call fcn.00433c50
add esp, 0x20
test eax, eax
je 0x435917
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
push 0x45c41c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor edx, edx
cmp dword [esp + 0x174], edx
sete dl
movzx edx, dx
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov ebp, 1
xor ebx, ebx
push esi
call fcn.0043ff02
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, dword [esp + 0x30]
mov dword [esp + 0x28], edi
jl 0x4356b1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14c
ret 0x18