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

Disassembly:
push 0xffffffffffffffff
push 0x47fcad
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4a1824]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a1824]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x74]
mov esi, ecx
call fcn.00435a90
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
lea ebp, [ecx*8]
sub ebp, ecx
add ebp, ebp
xor edx, edx
add ebp, ebp
add ebp, ebp
div ebp
mov edi, dword [esp + 0x78]
mov ebp, 0x3f
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ecx
imul eax, ecx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x84]
add edx, edx
add edx, edx
add edx, edx
cmp eax, ebp
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
jle 0x435dfb
mov eax, dword [esi + 0x48]
add eax, 1
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
add eax, eax
mov dword [esi + 0x44], eax
cmp dword [esi + 0x48], ebp
jg 0x435de0
mov eax, dword [esp + 0x88]
mov ebp, ecx
shl ebp, 4
xor edx, edx
div ebp
mov ebp, 0x3f
imul eax, ecx
shl eax, 4
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x8c]
cmp eax, ebp
mov dword [esi + 0x54], eax
jle 0x435e41
mov eax, dword [esi + 0x54]
add eax, 1
cdq
sub eax, edx
mov edx, dword [esi + 0x50]
sar eax, 1
add edx, edx
cmp eax, ebp
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edx
jg 0x435e27
mov eax, dword [esi + 0x44]
imul eax, dword [esi + 0x48]
mov dword [esp + 0x1c], edi
imul edi, ecx
mov dword [esp + 0x44], eax
mov ax, cx
xor ebp, ebp
lea edx, [esp + 0x18]
add cx, cx
add edi, edi
push 8
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x44], 0x181c8
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], edx
mov word [esp + 0x1c], 1
mov word [esp + 0x1e], ax
mov dword [esp + 0x24], edi
mov word [esp + 0x28], cx
mov word [esp + 0x2a], 0x10
mov word [esp + 0x2c], bp
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x6c], ebp
je 0x435ebf
lea edx, [esp + 0x3c]
push edx
push ebx
mov ecx, eax
call fcn.00436890
jmp 0x435ec1
xor eax, eax
or ebp, 0xffffffff
push 8
mov dword [esp + 0x70], ebp
mov dword [esi + 0x20], eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x6c], 1
je 0x435ef2
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, eax
call fcn.00436950
jmp 0x435ef4
xor eax, eax
mov ecx, eax
mov dword [esp + 0x6c], ebp
mov dword [esi + 0x24], eax
call fcn.00436920
test al, al
jne 0x435f40
mov edi, dword [esi + 0x24]
test edi, edi
je 0x435f1d
mov ecx, edi
call fcn.004368d0
push edi
call fcn.00452d18
add esp, 4
mov edi, dword [esi + 0x20]
test edi, edi
je 0x435f34
mov ecx, edi
call fcn.004368d0
push edi
call fcn.00452d18
add esp, 4
mov ecx, esi
call fcn.00434e60
jmp 0x4362ef
mov edi, dword [esi + 0x48]
add edi, 1
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x6c], 2
je 0x435f97
push fcn.00438390
push fcn.00438380
push edi
lea ebx, [eax + 4]
push 4
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x435f99
xor ebx, ebx
mov eax, dword [esi + 0x48]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
mov dword [esp + 0x6c], ebp
mov dword [esi + 0x28], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00452d7b
mov edi, dword [esi + 0x48]
mov dword [esi + 0x30], eax
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x6c], 3
je 0x436010
push 0x434e10
push 0x434e00
push edi
lea ebx, [eax + 4]
push 2
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x436012
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x48], edi
mov dword [esp + 0x6c], ebp
mov dword [esi + 0x4c], ebx
jle 0x43606a
mov ecx, dword [esi + 0x28]
push 0
push 0
push 1
lea ebx, [edi*4]
push 0
add ecx, ebx
call fcn.004383a0
mov ecx, dword [esi + 0x44]
movzx edx, word [esp + 0x24]
mov eax, dword [esi + 0x30]
lea ebp, [edi + 1]
imul ecx, ebp
sub ecx, edx
mov dword [eax + edi*8], ecx
mov ecx, dword [esi + 0x28]
add ecx, ebx
call fcn.0041ed20
mov ecx, dword [esi + 0x30]
mov dword [ecx + edi*8 + 4], eax
mov edi, ebp
cmp edi, dword [esi + 0x48]
jl 0x436020
or ebp, 0xffffffff
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x28]
push 0
push 0
push 0
push 0
lea ecx, [eax + edx*4]
call fcn.004383a0
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x24]
push edx
call fcn.004368e0
mov edi, dword [esi + 0x54]
add edi, 1
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x6c], 4
je 0x4360e7
push fcn.00438390
push fcn.00438380
push edi
lea ebx, [eax + 4]
push 4
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x4360e9
xor ebx, ebx
mov edi, dword [esi + 0x54]
xor ecx, ecx
mov eax, edi
mov edx, 0x30
mul edx
seto cl
mov dword [esp + 0x6c], ebp
mov dword [esi + 0x2c], ebx
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x6c], 5
je 0x436144
push 0x434e30
push 0x434e20
push edi
lea ebx, [eax + 4]
push 0x30
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x436146
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x54], edi
mov dword [esp + 0x6c], ebp
mov dword [esi + 0x58], ebx
jle 0x436182
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
push 0
push 0
push 1
push 0
lea ecx, [ecx + edi*4]
call fcn.004383a0
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x58]
push edx
add ecx, ebx
call fcn.00433710
add edi, 1
add ebx, 0x30
cmp edi, dword [esi + 0x54]
jl 0x436156
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x2c]
push 0
push 0
push 0
push 0
lea ecx, [ecx + eax*4]
call fcn.004383a0
mov edi, dword [0x4810b4]
lea edx, [esp + 0x2c]
push edx
push 0
push esi
push 0x434ca0
push 0
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
call edi
mov ebx, dword [0x4811d8]
push 1
push eax
mov dword [esi + 0x34], eax
call ebx
lea ecx, [esp + 0x2c]
push ecx
push 0
push esi
push 0x435cd0
push 0
lea edx, [esp + 0x44]
push edx
call edi
push 1
push eax
mov dword [esi + 0x38], eax
call ebx
mov eax, dword [esi + 0x40]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452d7b
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x40]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452d7b
mov ebp, dword [esp + 0x98]
add esp, 8
test ebp, ebp
mov dword [esi + 0x94], eax
je 0x4362ef
mov edi, dword [esi + 0x48]
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x6c], 6
je 0x43629c
push 0x434e50
push 0x434e40
push edi
lea ebx, [eax + 4]
push 0x10
push ebx
mov dword [eax], edi
call fcn.00452bf2
jmp 0x43629e
xor ebx, ebx
mov eax, dword [esi + 0x3c]
xor edx, edx
div ebp
mov dword [esi + 0xd4], ebx
xor ebx, ebx
cmp dword [esi + 0x48], ebx
mov dword [esp + 0x6c], 0xffffffff
mov edi, eax
jle 0x4362ef
xor ebp, ebp
mov edi, edi
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
shr eax, 1
xor edx, edx
div ecx
xor edx, edx
lea eax, [eax + edi - 1]
div edi
push eax
push edi
push ecx
mov ecx, dword [esi + 0xd4]
add ecx, ebp
call fcn.00433770
add ebx, 1
add ebp, 0x10
cmp ebx, dword [esi + 0x48]
jl 0x4362c0
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00452be3
add esp, 0x5c
ret 0x20