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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
mov esi, ecx
push edi
cmp dword [esi + 0x78], 8
mov edi, dword [edx]
mov dword [esp + 0x10], edi
mov dword [edx], 0
mov dword [ebp], 0
je 0x4357fe
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x78]
mov ebp, dword [esi + 0x24]
mov dword [esp + 0x20], ebp
cmp eax, 9
je 0x435823
cmp eax, 6
je 0x4355da
cmp eax, 7
je 0x4355da
mov eax, dword [edx]
cmp eax, edi
je 0x43580f
inc eax
mov dword [edx], eax
mov dl, byte [ebx]
mov ecx, esi
call fcn.00435430
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x78], eax
inc ebx
jmp 0x4357f4
mov ecx, dword [esp + 0x1c]
sub ecx, ebp
mov ebp, dword [edx]
mov edx, dword [esi + 0x74]
sub edi, ebp
mov dword [esp + 0x14], 0
cmp edx, ecx
ja 0x4355fd
mov ecx, edx
mov dword [esp + 0x14], 1
mov dl, byte [esi + 0x7c]
test dl, dl
js 0x4356db
cmp ebp, dword [esp + 0x10]
je 0x43580f
cmp eax, 6
jne 0x43567e
xor eax, eax
cmp dl, 1
sete al
test eax, eax
je 0x435639
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], 1
jmp 0x435646
cmp dword [esi + 0x80], 0
jne 0x435823
mov dword [esi + 0x80], 0
mov dword [esi + 0x4c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
test eax, eax
je 0x43567e
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x50], 1
cmp edi, ecx
cmova edi, ecx
test edi, edi
je 0x435823
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x24]
push edi
push ebx
push eax
call fcn.00438f90
add dword [esi + 0x24], edi
add esp, 0xc
cmp dword [esi + 0x30], 0
jne 0x4356b4
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 0x2c]
cmp eax, edi
ja 0x4356b4
mov dword [esi + 0x30], ecx
add dword [esi + 0x2c], edi
mov edx, dword [esp + 0x2c]
sub dword [esi + 0x74], edi
lea eax, [edi + ebp]
mov ebp, dword [esp + 0x34]
mov dword [edx], eax
mov eax, dword [esi + 0x74]
add ebx, edi
neg eax
sbb eax, eax
and eax, 7
mov dword [esi + 0x78], eax
jmp 0x4357f0
cmp eax, 6
jne 0x435778
movzx eax, dl
shr eax, 5
xor edx, edx
and eax, 3
cmp eax, 3
sete dl
mov dword [esp + 0x18], edx
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x18]
setg dl
test eax, eax
jne 0x435714
cmp dword [esi + 0x80], eax
jne 0x435823
test edx, edx
jne 0x435724
cmp dword [esi + 0x84], edx
jne 0x435823
mov dword [esi + 0x4c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
test eax, eax
je 0x435752
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x50], 1
test edx, edx
je 0x43575d
mov dword [esi + 0x50], 1
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x78], 7
mov eax, dword [esp + 0x34]
cmp edi, dword [esi + 0x70]
mov ebp, dword [esp + 0x20]
cmova edi, dword [esi + 0x70]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea edx, [ecx + ebp]
push ebx
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.00436ea0
mov ecx, dword [esp + 0x28]
mov edi, dword [esi + 0x24]
mov edx, dword [esp + 0x3c]
sub dword [esi + 0x70], ecx
add dword [edx], ecx
sub edi, ebp
sub dword [esi + 0x74], edi
add esp, 0x10
add ebx, ecx
test eax, eax
jne 0x435807
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp]
cmp eax, 3
je 0x435805
test ecx, ecx
jne 0x4357e4
test edi, edi
jne 0x4357e4
cmp eax, 4
jne 0x435823
cmp dword [esi + 0x74], edi
jne 0x435823
cmp dword [esi + 0x70], edi
jne 0x435823
mov dword [esi + 0x78], edi
cmp eax, 4
jne 0x4357f0
mov dword [ebp], 2
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x78], 8
jne 0x435596
mov dword [ebp], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], 3
xor eax, eax
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret