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

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
mov dword [esi + 0x70], ebx
mov dword [esi + 0x64], 0x480710
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi], 0x4806f0
mov eax, dword [edi + 0x14]
and ecx, 0xff
test ah, 1
mov dword [esp + 0x24], ecx
je 0x435ad1
call fcn.00465ee9
cdq
mov ecx, 0x11
mov ebp, dword [esp + 0x18]
idiv ecx
mov eax, 8
sub eax, edx
add ebp, eax
call fcn.00465ee9
cdq
mov ecx, 0x11
idiv ecx
mov eax, dword [esp + 0x1c]
mov ecx, 8
sub ecx, edx
add eax, ecx
jmp 0x435ad9
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x14]
test ch, 2
je 0x435b13
mov ecx, dword [0x496760]
push eax
push ebp
push edi
call fcn.0040dac0
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x38], eax
cmp ebp, ebx
je 0x435b2d
mov edx, dword [ebp + 0x38]
mov ecx, dword [esp + 0x20]
sub eax, edx
add eax, ecx
mov dword [esi + 0x38], eax
jmp 0x435b1e
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov dword [esi + 0x38], edx
cmp ebp, ebx
je 0x435b2d
mov eax, dword [ebp + 0x28]
shr eax, 0xa
and eax, 3
jmp 0x435b50
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x40], ebx
jne 0x435b47
mov ecx, dword [eax + 0x5c]
cmp ecx, ebx
je 0x435b47
mov eax, dword [ecx + 0x404]
mov eax, dword [eax + 0x30]
jmp 0x435b50
mov ecx, dword [eax + 0x404]
mov eax, dword [ecx + 0x30]
mov edx, dword [esi + 0x28]
and eax, 3
shl eax, 0xa
and dh, 0xf3
or eax, edx
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x1c]
test dword [eax + 0x14], 0x1000000
je 0x435b71
xor edx, edx
jmp 0x435b83
xor edi, edi
mov di, word [eax + 0x2a2]
call fcn.00465ee9
cdq
inc edi
idiv edi
mov eax, dword [0x496628]
sub eax, edx
mov dword [esi + 0x14], eax
mov ecx, dword [0x496628]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
test dword [ecx + 0x14], 0x20000
je 0x435bcd
mov edx, dword [esi + 0x28]
mov eax, dword [0x496760]
shr edx, 0xa
mov edi, dword [eax + 0x214]
and edx, 3
cmp edx, edi
je 0x435bcd
mov eax, 1
jmp 0x435bcf
xor eax, eax
mov edx, dword [esi + 0x28]
and eax, 1
shl eax, 0xf
and edx, 0xffff0c00
mov dword [esi + 0x58], ebx
or eax, edx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x28], eax
shr eax, 0xa
and eax, 3
mov eax, dword [ecx + eax*4 + 0x388]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 4], ebx
cmp dword [ecx + 0x414], ebx
je 0x435c2b
push 0x20
call fcn.004640eb
add esp, 4
cmp eax, ebx
je 0x435c2b
push esi
mov ecx, eax
call fcn.00435a20
jmp 0x435c2d
xor eax, eax
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x68], ebx
jne 0x435c49
cmp dword [eax + 0xa4], ebx
je 0x435c49
mov dword [esi + 0x54], 0xf
jmp 0x435c61
cmp dword [eax + 0xa0], ebx
je 0x435c5e
cmp ebp, ebx
je 0x435c5e
mov dword [esi + 0x54], 0xe
jmp 0x435c61
mov dword [esi + 0x54], ebx
mov ecx, dword [esi + 0x54]
mov edx, dword [eax + ecx*4 + 0x2ac]
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov ecx, dword [eax + ecx*4 + 0x2f0]
mov edx, dword [esp + 0x24]
dec ecx
push edx
mov dword [esi + 0x10], ecx
mov ecx, esi
call fcn.004388e0
cmp dword [esi + 0x54], ebx
jne 0x435cb1
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 8]
sub edi, ecx
cmp edi, ebx
jle 0x435cb1
mov eax, dword [esi + 0x1c]
test dword [eax + 0x14], 0x1000000
jne 0x435cb1
call fcn.00465ee9
cdq
inc edi
idiv edi
add dword [esi + 0xc], edx
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x49676c]
cmp eax, ecx
je 0x435cd6
mov ecx, dword [esi + 0x2c]
inc ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [0x49676c]
cmp eax, ecx
je 0x435cd6
mov ecx, esi
call fcn.00438720
mov ecx, esi
call fcn.0043a910
mov ecx, dword [0x498b98]
push esi
call fcn.00426250
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
mov edx, dword [0x49662c]
shr eax, 0xa
and eax, 3
mov dword [ecx + 0x400], edx
mov edx, dword [ecx + eax*4 + 0x358]
inc edx
mov dword [ecx + eax*4 + 0x358], edx
mov edi, dword [esi + 0x54]
cmp edi, 0xe
je 0x435d54
mov eax, dword [0x496760]
test byte [eax + 4], 0x20
jne 0x435d54
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 0x238], ebx
je 0x435d3f
mov ecx, esi
mov dword [esi + 0x54], 0xe
call fcn.0043a120
mov dword [esi + 0x54], edi
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0xe4]
cmp eax, ebx
je 0x435d54
push eax
mov ecx, esi
call fcn.0043a600
mov eax, dword [0x496760]
test byte [eax + 4], 1
jne 0x435e4e
mov eax, dword [esi + 0x1c]
test byte [eax + 0x14], 8
je 0x435e3f
mov ecx, dword [eax + 0x20]
xor ebp, ebp
cmp ecx, ebx
jle 0x435dde
mov ecx, dword [eax + 0x1c]
xor edi, edi
cmp ecx, ebx
jle 0x435dad
mov ecx, dword [eax + 0x24]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
add ecx, eax
mov eax, dword [esi + 0x30]
add edx, ebp
push ecx
mov ecx, dword [0x496760]
add eax, edi
push edx
push eax
call fcn.0040dc10
mov eax, dword [esi + 0x1c]
add edi, 8
cmp edi, dword [eax + 0x1c]
jl 0x435d82
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x1c]
add ecx, edi
add edx, ebp
push ecx
mov ecx, dword [esi + 0x30]
add eax, ecx
mov ecx, dword [0x496760]
push edx
push eax
call fcn.0040dc10
mov eax, dword [esi + 0x1c]
add ebp, 8
cmp ebp, dword [eax + 0x20]
jl 0x435d79
mov eax, dword [esi + 0x1c]
xor edi, edi
cmp dword [eax + 0x1c], ebx
jle 0x435e16
mov ecx, dword [eax + 0x24]
mov ebx, dword [esi + 0x38]
mov edx, dword [eax + 0x20]
mov eax, dword [esi + 0x30]
add ecx, ebx
add eax, edi
push ecx
mov ecx, dword [esi + 0x34]
add edx, ecx
mov ecx, dword [0x496760]
push edx
push eax
call fcn.0040dc10
mov eax, dword [esi + 0x1c]
add edi, 8
cmp edi, dword [eax + 0x1c]
jl 0x435de8
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x34]
mov ecx, dword [eax + 0x24]
add ecx, edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
add edx, ebx
push ecx
mov ecx, dword [0x496760]
push edx
mov edx, dword [esi + 0x30]
add eax, edx
push eax
call fcn.0040dc10
mov ecx, dword [esi + 0x1c]
test byte [ecx + 0x14], 0x20
je 0x435e4e
mov edx, dword [ecx]
push esi
call dword [edx + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18