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

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
sub esp, 0x5c
cmp ecx, eax
mov edx, 0x100
jge 0x435518
mov dword [esp + 0x64], eax
jmp 0x435520
cmp ecx, edx
jle 0x435520
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jge 0x43552e
mov dword [esp + 0x68], eax
jmp 0x435536
cmp ecx, edx
jle 0x435536
mov dword [esp + 0x68], edx
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
cmp edi, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ebp]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
jne 0x435598
mov ebx, edx
imul ebx, esi
imul ecx, ebx
push ecx
call fcn.0044ea7e
add esp, 4
test eax, eax
mov dword [esp + 0x38], eax
je 0x435798
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x18], edi
xor eax, eax
mov ecx, dword [esp + 0x28]
imul edx, esi
sub ebx, edx
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x24]
sub ecx, edx
cmp ebx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], eax
jle 0x435770
mov ebx, dword [esp + 0x78]
mov edx, ebx
neg edx
inc ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x14]
xor ebx, ebx
cmp edx, eax
jle 0x435740
mov ecx, dword [esp + 0x74]
neg ecx
mov dword [esp + 0x48], ecx
jmp 0x4355f0
xor eax, eax
lea esp, [esp]
cmp ecx, eax
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
lea ebp, [edx + ebx + 1]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], ebp
jge 0x435616
xor ecx, ecx
mov eax, dword [esp + 0x14]
cmp ebp, eax
jle 0x435622
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x78]
test eax, eax
jge 0x43562c
xor edi, edi
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jle 0x435638
mov edx, eax
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x10]
sub eax, ebx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x20]
sub edi, eax
sub edx, eax
sub ecx, ebx
mov eax, edi
imul eax, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
imul ecx, esi
add eax, ebp
mov ebp, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x64]
sub eax, ebp
mov ebp, eax
imul ebp, esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
sub eax, ebp
cmp edi, edx
mov dword [esp + 0x50], eax
jge 0x4356e9
mov eax, edx
sub eax, edi
mov dword [esp + 0x40], eax
jmp 0x435690
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x64]
jge 0x4356d8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
movzx eax, byte [ecx]
mov ebp, dword [esp + 0x2c]
add ebp, eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x30]
add ebp, eax
movzx eax, byte [ecx + 2]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x34]
add ebp, eax
mov eax, dword [esp + 0x3c]
add ecx, esi
dec eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], eax
jne 0x4356a2
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
add ecx, ebp
dec eax
mov dword [esp + 0x40], eax
jne 0x435690
mov eax, dword [esp + 0x2c]
sub edx, edi
imul edx, dword [esp + 0x44]
mov ecx, edx
xor edx, edx
div ecx
mov edi, dword [esp + 0x18]
xor edx, edx
mov byte [edi], al
mov eax, dword [esp + 0x30]
div ecx
xor edx, edx
mov byte [edi + 1], al
mov eax, dword [esp + 0x34]
div ecx
add dword [esp + 0x10], esi
mov ecx, dword [esp + 0x48]
mov byte [edi + 2], al
mov eax, dword [esp + 0x14]
add edi, esi
inc ebx
inc ecx
cmp ebx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x48], ecx
jl 0x4355ea
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x54]
xor eax, eax
mov ebx, dword [esp + 0x10]
add ebx, ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], ebx
add edi, dword [esp + 0x58]
inc dword [esp + 0x20]
inc dword [esp + 0x78]
inc dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x18], edi
jl 0x4355d0
mov esi, dword [esp + 0x38]
cmp esi, eax
je 0x435798
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x28]
mov ebx, edx
push eax
mov edx, esi
call fcn.00435100
mov ecx, esi
push ecx
call fcn.0045d8b5
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret