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

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x10e0
call fcn.00475920
mov ebx, dword [esp + 0x1104]
mov esi, dword [esp + 0x1100]
mov eax, dword [0x4c1074]
xor eax, esp
mov dword [esp + 0x10dc], eax
mov eax, dword [esp + 0x1128]
push ebx
push eax
call fcn.0045afe3
add esp, 8
mov dword [esp + 0x44], eax
push 0x40
call fcn.00436b98
add esp, 4
mov edi, eax
mov eax, dword [eax + 4]
lea ebp, [esp + 0xc9c]
mov dword [ebp], esi
mov esi, 4
push esi
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [edi + 4]
mov dword [ebp], ebx
push esi
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10f8]
mov dword [ebp], ecx
push esi
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10fc]
mov dword [ebp], ecx
push esi
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [edi + 4]
mov dword [ebp], 0x13
push esi
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10f4]
mov dword [ebp], ecx
push esi
push ebp
push eax
call dword [eax]
add esp, 0xc
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x110c]
mov dword [ebp], eax
push esi
push ebp
push ebx
call dword [ebx]
add esp, 0xc
push dword [esp + 0x110c]
push dword [esp + 0x110c]
push ebx
call dword [ebx]
mov ebx, 4
add esp, 0xc
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x1114]
mov dword [ebp], eax
push ebx
push ebp
push esi
call dword [esi]
add esp, 0xc
push dword [esp + 0x1114]
push dword [esp + 0x1114]
push esi
call dword [esi]
add esp, 0xc
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x111c]
mov dword [ebp], eax
push ebx
push ebp
push esi
call dword [esi]
add esp, 0xc
push dword [esp + 0x111c]
push dword [esp + 0x111c]
push esi
call dword [esi]
add esp, 0xc
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x1124]
mov dword [ebp], eax
push ebx
push ebp
push esi
call dword [esi]
add esp, 0xc
push dword [esp + 0x1124]
push dword [esp + 0x1124]
push esi
call dword [esi]
add esp, 0xc
mov eax, dword [edi]
lea ecx, [esp + 0x109c]
push ecx
push edi
call dword [eax + 0xc]
add esp, 8
mov eax, dword [edi]
push edi
call dword [eax + 0x10]
add esp, 4
mov ebp, dword [esp + 0x1100]
lea ecx, [ebp*4]
xor edi, edi
mov eax, dword [esp + 0x10f8]
xor edx, edx
div ecx
mov dword [esp + 0x10], eax
lea eax, [eax*4]
mov dword [esp + 0x20], eax
mov esi, eax
imul esi, ebp
push edi
push 0x400
push esi
call fcn.004116c4
add esp, 0xc
mov dword [esp + 0x2c], esi
mov ecx, esi
shl ecx, 0xa
mov dword [esp + 0x40], ecx
push ecx
push edi
mov dword [esp + 0x10], eax
push eax
call fcn.00478e90
mov edx, ebp
add esp, 0xc
test ebp, ebp
je 0x435899
mov ebp, dword [esp + 8]
mov eax, 0x40
push eax
call fcn.00436b98
add esp, 4
mov esi, eax
mov eax, dword [eax + 4]
mov ecx, 0x400
mov dword [esp + 0xc9c], ecx
push ebx
lea ebx, [esp + 0xca0]
push ebx
push eax
call dword [eax]
add esp, 0xc
mov eax, 0x40
push eax
lea eax, [esp + 0x10a0]
push eax
push dword [esi + 4]
call fcn.004110a4
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esp + 0xc9c], 0
mov ecx, 4
push ecx
push ebx
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esp + 0xc9c], edi
mov ecx, 4
push ecx
push ebx
mov ebx, 4
push eax
call dword [eax]
add esp, 0xc
mov ecx, esi
mov edx, 0x400
push ebp
call fcn.00435558
mov edx, dword [esp + 0x1104]
add esp, 4
inc edi
mov eax, 0x400
add ebp, eax
cmp edx, edi
jne 0x4357f4
mov eax, dword [esp + 0x1104]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x3c], ecx
shr eax, 0x18
mov dword [esp + 0x38], eax
test edx, edx
mov ebp, edx
je 0x43596a
mov edi, ebp
shl edi, 0xa
add edi, dword [esp + 8]
xor ebx, ebx
mov eax, 0x40
push eax
call fcn.00436b98
add esp, 4
mov esi, eax
mov eax, dword [eax + 4]
mov ecx, 0x400
mov dword [esp + 0xc9c], ecx
mov ecx, 4
push ecx
lea ebp, [esp + 0xca0]
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, 0x40
push eax
lea eax, [esp + 0x10a0]
push eax
push dword [esi + 4]
call fcn.004110a4
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esp + 0xc9c], 1
mov ecx, 4
push ecx
push ebp
push eax
call dword [eax]
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esp + 0xc9c], ebx
mov ecx, 4
push ecx
push ebp
push eax
call dword [eax]
add esp, 0xc
mov ecx, esi
mov edx, 0x400
push edi
call fcn.00435558
mov ebp, dword [esp + 0x1104]
add esp, 4
inc ebx
mov eax, 0x400
add edi, eax
cmp ebp, ebx
jne 0x4358c5
mov ebx, dword [esp + 0x20]
lea esi, [ebx - 1]
cmp dword [esp + 0x10fc], 0
je 0x435e2e
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x68], ecx
shr eax, 0x18
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10fc]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x60], ecx
shr eax, 0x18
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10f4]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x58], ecx
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x54], ecx
test eax, eax
sete al
mov dword [esp + 0x1c], eax
mov edx, 2
xor eax, eax
mov dword [esp + 0x84], esi
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x70], ecx
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x6c], ecx
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10f4]
xor eax, 2
mov ecx, dword [esp + 0x14]
xor ecx, 2
or ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, al
or ecx, dword [esp + 0xc]
mov ecx, 1
cmove eax, ecx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
or eax, edi
mov eax, dword [esp + 0xc]
sete byte [esp + 7]
lea ecx, [edi + 1]
mov dword [esp + 0x48], ecx
and ecx, 3
imul ecx, dword [esp + 0x10]
test eax, eax
cmove ecx, eax
mov dword [esp + 0x18], ecx
test ebp, ebp
je 0x435e0d
mov ecx, edi
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, edi
shr ecx, 0x10
mov dword [esp + 0x78], ecx
mov ecx, edi
shr ecx, 0x18
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x24]
add ecx, esi
mov dword [esp + 0x50], ecx
lea ecx, [edx*8]
mov dword [esp + 0x4c], ecx
mov dword [esp], 0
mov dword [esp + 0x88], edx
cmp edx, dword [esp + 0x10]
jae 0x435dfe
mov eax, dword [esp]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x80], ecx
shr eax, 0x18
mov dword [esp + 0x7c], eax
xor ecx, ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov edi, edx
lea eax, [edx + ecx]
mov dword [esp + 0x28], eax
mov eax, edi
add eax, dword [esp + 0x24]
mov esi, eax
cmove esi, ebx
dec esi
test byte [esp + 0x1c], 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], eax
jne 0x435ce3
test ecx, ecx
je 0x435b03
mov eax, dword [esp + 0x28]
and eax, 0x7f
jne 0x435cba
push 0x3c8
xor ebx, ebx
push ebx
lea eax, [esp + 0x4dc]
push eax
call fcn.00478e90
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [esp + 0x49c], al
mov byte [esp + 0x49d], ah
mov eax, dword [esp + 0x70]
mov byte [esp + 0x49e], al
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x49f], al
mov dword [esp + 0x4a0], ebx
mov eax, dword [esp]
mov byte [esp + 0x4a4], al
mov byte [esp + 0x4a5], ah
mov eax, dword [esp + 0x80]
mov byte [esp + 0x4a6], al
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x4a7], al
mov dword [esp + 0x4a8], ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4ac], al
mov byte [esp + 0x4ad], ah
mov eax, dword [esp + 0x78]
mov byte [esp + 0x4ae], al
mov eax, dword [esp + 0x74]
mov byte [esp + 0x4af], al
mov dword [esp + 0x4b0], ebx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x4b4], al
mov byte [esp + 0x4b5], ah
mov eax, dword [esp + 0x68]
mov byte [esp + 0x4b6], al
mov eax, dword [esp + 0x64]
mov byte [esp + 0x4b7], al
mov dword [esp + 0x4b8], ebx
mov eax, dword [esp + 0x10fc]
mov byte [esp + 0x4bc], al
mov byte [esp + 0x4bd], ah
mov eax, dword [esp + 0x60]
mov byte [esp + 0x4be], al
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x4bf], al
mov dword [esp + 0x4c0], ebx
mov eax, dword [esp + 0x10f4]
mov byte [esp + 0x4c4], al
mov byte [esp + 0x4c5], ah
mov eax, dword [esp + 0x58]
mov byte [esp + 0x4c6], al
mov eax, dword [esp + 0x54]
mov byte [esp + 0x4c7], al
mov eax, dword [esp + 0x28]
shr eax, 7
inc eax
mov dword [esp + 0x4c8], ebx
mov byte [esp + 0x4cc], al
mov byte [esp + 0x4cd], ah
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x4ce], cl
shr eax, 0x18
mov byte [esp + 0x4cf], al
mov dword [esp + 0x4d0], ebx
mov edi, 0x400
push edi
push ebx
lea ebp, [esp + 0x8a4]
push ebp
call fcn.00478e90
add esp, 0xc
mov ecx, ebp
mov edx, ebp
lea eax, [esp + 0x49c]
push eax
call fcn.00436003
add esp, 4
push edi
push ebx
lea edi, [esp + 0xca4]
push edi
call fcn.00478e90
add esp, 0xc
mov ecx, edi
mov edx, edi
push ebp
call fcn.00436003
add esp, 4
mov eax, dword [esp + 0x30]
and eax, 0x3f8
add eax, esp
add eax, 0xca3
mov ecx, dword [eax - 7]
mov dword [esp + 0x34], ecx
movzx ecx, word [eax - 3]
movzx ebp, byte [eax - 1]
shl ebp, 0x10
or ebp, ecx
mov ebx, dword [esp]
jmp 0x435d0f
mov eax, esi
imul eax, ebp
mov ebx, dword [esp]
add eax, ebx
shl eax, 0xa
mov edx, dword [esp + 8]
movzx ecx, word [edx + eax + 4]
movzx ebp, byte [edx + eax + 6]
shl ebp, 0x10
or ebp, ecx
mov ecx, dword [edx + eax]
mov dword [esp + 0x34], ecx
add eax, edx
add eax, 7
mov edi, esi
xor esi, esi
mov ecx, ebx
mov edx, edi
cmp byte [esp + 7], 0
jne 0x435d60
movzx eax, byte [eax]
shl eax, 0x18
or eax, ebp
xor edx, edx
div dword [esp + 0x1100]
mov ebp, edx
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov edx, edi
cmp ebp, ebx
je 0x435d60
cmp dword [esp + 0x28], 0
je 0x435d50
mov esi, dword [esp + 0x18]
mov ecx, ebp
mov edx, dword [esp + 0x24]
jmp 0x435d60
mov eax, dword [esp + 0x50]
xor edx, edx
div dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ecx, ebp
mov dword [esp], ebx
mov ebx, dword [esp + 0x20]
mov eax, ebx
sub eax, esi
add eax, edx
xor edx, edx
div ebx
mov ebp, edx
mov eax, dword [esp + 0x34]
mul eax
mov eax, edx
add esi, ebp
mul ebp
not edx
add esi, edx
mov eax, esi
xor edx, edx
div ebx
mov eax, edx
mov ebp, dword [esp + 0x1100]
imul eax, ebp
add eax, ecx
shl eax, 0xa
mov edx, dword [esp + 8]
add eax, edx
imul edi, ebp
mov esi, dword [esp]
add edi, esi
shl edi, 0xa
add edi, edx
mov ecx, dword [esp + 0x8c]
imul ecx, ebp
add ecx, esi
shl ecx, 0xa
add ecx, edx
mov edx, edi
push eax
call fcn.00436003
add esp, 4
mov edi, dword [esp + 0x90]
inc edi
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
lea eax, [edx + ecx]
inc eax
inc ecx
add dword [esp + 0x30], 8
cmp eax, dword [esp + 0x10]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0xc]
jne 0x435abf
mov ecx, dword [esp]
inc ecx
mov dword [esp], ecx
cmp ecx, ebp
jne 0x435a93
xor edx, edx
mov ecx, dword [esp + 0x48]
mov edi, ecx
cmp ecx, 4
jne 0x4359f2
inc eax
xor edx, edx
cmp eax, dword [esp + 0x10fc]
jne 0x4359da
imul esi, ebp
mov eax, esi
shl eax, 0xa
mov ebx, dword [esp + 8]
add eax, ebx
lea ecx, [esp + 0x9c]
push 0x400
push eax
push ecx
mov edi, esi
call fcn.00478390
add esp, 0xc
cmp ebp, 2
jb 0x435e80
dec ebp
xor esi, esi
inc esi
lea eax, [esi + edi]
shl eax, 0xa
add eax, ebx
push 0x400
push eax
lea eax, [esp + 0xa4]
push eax
push eax
call fcn.0045b802
add esp, 0x10
inc esi
dec ebp
jne 0x435e5d
mov ebx, dword [esp + 0x1104]
cmp ebx, 0x40
mov eax, 0x40
cmovb eax, ebx
push eax
call fcn.00436b98
add esp, 4
mov esi, eax
mov eax, dword [eax + 4]
lea ecx, [esp + 0x98]
mov byte [ecx], bl
mov byte [ecx + 1], bh
mov edx, dword [esp + 0x3c]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x38]
mov byte [ecx + 3], dl
push 4
push ecx
push eax
call dword [eax]
add esp, 0xc
mov ebp, 0x400
push ebp
lea edi, [esp + 0xa0]
push edi
push dword [esi + 4]
call fcn.004110a4
add esp, 0xc
mov ecx, esi
mov edx, ebx
push dword [esp + 0x44]
call fcn.00435558
add esp, 4
push ebp
lea eax, [esp + 0xca0]
push eax
call fcn.0046d418
add esp, 8
lea eax, [esp + 0x89c]
push ebp
push eax
call fcn.0046d418
add esp, 8
lea eax, [esp + 0x49c]
push ebp
push eax
call fcn.0046d418
add esp, 8
push ebp
push edi
call fcn.0046d418
add esp, 8
push dword [esp + 0x40]
mov esi, dword [esp + 0xc]
push esi
call fcn.0046d418
add esp, 8
push esi
call fcn.00411739
add esp, 4
mov ecx, dword [esp + 0x10dc]
xor ecx, esp
call fcn.00475893
add esp, 0x10e0
pop esi
pop edi
pop ebx
pop ebp
ret