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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov eax, dword [eax]
mov ebp, ecx
imul ecx, dword [esp + 0x5c], 0x6c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
push esi
mov esi, 1
mov dword [esp + 0x10], 1
add eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], eax
mov eax, ebx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov ecx, eax
shl esi, cl
mov ecx, dword [esp + 0xc]
push edi
mov dword [esp + 0x18], esi
mov eax, dword [ecx + 0x14]
dec eax
div esi
lea edi, [eax + 1]
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
test eax, eax
js 0x10034d62
mov edi, dword [ecx + 0x28]
mov ecx, edi
shr esi, cl
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0x20]
imul eax, esi
push eax
lea eax, [ebx + 1]
cdq
sub eax, edx
imul edx, dword [esp + 0x34], 0x6c
push esi
sar eax, 1
mov esi, 1
mov ecx, eax
mov eax, dword [esp + 0x40]
shl esi, cl
mov ecx, edi
shr esi, cl
mov ecx, ebp
imul esi, dword [esp + 0x74]
mov edx, dword [edx + eax + 8]
push esi
call fcn.100214b0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
cmp dword [esp + 0x64], 0
mov esi, dword [esp + 0x68]
jle 0x10034ef5
lea eax, [ebx + 1]
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
mov edi, edx
imul edi, esi
mov dword [esp + 0x2c], edx
xor edx, edx
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x4c]
mov eax, dword [eax + edi*4]
div dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [ecx + edi*4]
dec eax
div dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea edi, [eax + 1]
or edi, 1
mov dword [esp + 0x1c], edi
cmp edx, 1
jbe 0x10034dc5
test dl, 1
jne 0x10034dc5
dec edx
test edx, edx
mov eax, 1
cmove edx, eax
cmp byte [esp + 0x6c], 0
mov dword [esp + 0x14], edx
je 0x10034e7b
mov dword [esp + 0x2c], eax
cmp edx, eax
jbe 0x10034ef1
mov edi, eax
lea esp, [esp]
mov ecx, dword [esp + 0x54]
push edi
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x10034e3a
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push dword [esp + 0x34]
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push dword [esp + 0x30]
push esi
push ebx
call dword [edi]
mov edi, dword [esp + 0x2c]
jmp 0x10034e64
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push edi
push esi
mov eax, dword [eax]
push ebx
mov ecx, dword [eax + ecx - 0x64]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
push edi
push esi
mov ecx, dword [ecx + edx + 8]
push ebx
mov edx, dword [ecx]
call dword [edx]
add edi, 2
mov dword [esp + 0x2c], edi
cmp edi, dword [esp + 0x14]
jb 0x10034df0
mov edi, dword [esp + 0x1c]
jmp 0x10034ef1
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x2c]
shr eax, cl
imul eax, esi
shr ebx, cl
mov ecx, ebp
mov dword [esp + 0x2c], eax
lea edi, [ebx + ebx]
mov eax, ebx
imul eax, edx
push edi
push eax
mov eax, dword [esp + 0x18]
push ebx
push dword [esp + 0x38]
mov edx, dword [eax - 0x64]
call fcn.100214b0
mov eax, dword [esp + 0x20]
xor edx, edx
push edi
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x2c]
inc eax
imul eax, ebx
imul ebx, edi
push eax
mov eax, dword [esp + 0x64]
push ebx
push dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [esp + 0x50]
mov edx, dword [edx + eax - 0x64]
call fcn.100214b0
mov ebx, dword [esp + 0x80]
add esp, 0x20
mov ecx, dword [esp + 0x10]
cmp esi, 1
jbe 0x10035281
lea eax, [ebx + 1]
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov ecx, eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x18]
dec eax
div dword [esp + 0x34]
cmp esi, eax
jae 0x10035281
cmp byte [esp + 0x70], 0
jne 0x10035281
mov eax, dword [ecx + 0x14]
xor edx, edx
dec eax
div dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc eax
cmp edi, eax
jne 0x10035285
cmp edi, 5
jbe 0x10035285
cmp edx, 1
jne 0x10035285
cmp byte [esp + 0x6c], 0
je 0x10034fa9
mov ecx, dword [esp + 0x54]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10034fa5
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push 1
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push 1
push esi
call dword [edi + 0x28]
jmp 0x10034fff
mov ecx, dword [esp + 0x10]
push dword [esp + 0x74]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
push esi
push ebx
push dword [esp + 0x70]
push ebp
push ecx
mov ecx, dword [esp + 0x80]
call fcn.1003a030
mov ecx, dword [esp + 0x44]
add esp, 0x24
mov edi, eax
sub ecx, edi
push ecx
mov ecx, dword [esp + 0x28]
sub ecx, edi
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
call fcn.1001fc70
mov edx, dword [ebp]
add eax, edi
push eax
push 1
push esi
mov ecx, ebp
call dword [edx + 0x28]
mov edi, dword [esp + 0x1c]
mov ebx, 3
lea eax, [edi - 2]
mov dword [esp + 0x14], eax
cmp eax, ebx
jbe 0x10035102
cmp byte [esp + 0x6c], 0
je 0x10035062
mov ecx, dword [esp + 0x54]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10035062
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
inc eax
push eax
push ebx
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push ebx
push esi
call dword [edi + 0x28]
jmp 0x100350f1
push dword [esp + 0x74]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push dword [esp + 0x74]
push dword [esp + 0x70]
push ebp
push dword [esp + 0x30]
call fcn.1003a350
mov edi, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x44]
sub edi, ecx
sub eax, ecx
mov dword [esp + 0x50], ecx
add esp, 0x24
mov dword [esp + 0x34], eax
cmp edi, eax
je 0x100350e3
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
call fcn.10020f40
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, edi
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.10035bc0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edi, eax
mov edx, dword [ebp]
lea eax, [edi + ecx]
push eax
push ebx
push esi
mov ecx, ebp
call dword [edx + 0x28]
add ebx, 2
cmp ebx, dword [esp + 0x14]
jb 0x10035017
mov edi, dword [esp + 0x1c]
cmp ebx, edi
jae 0x100351fa
lea ebx, [ebx]
cmp byte [esp + 0x6c], 0
je 0x1003515f
mov ecx, dword [esp + 0x54]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x1003515f
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
inc eax
push eax
push ebx
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push ebx
push esi
call dword [edi + 0x28]
mov edi, dword [esp + 0x1c]
jmp 0x100351ef
push dword [esp + 0x74]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push dword [esp + 0x74]
push dword [esp + 0x70]
push ebp
push dword [esp + 0x30]
call fcn.1003a030
mov ecx, dword [esp + 0x44]
mov edx, eax
mov eax, dword [esp + 0x48]
sub ecx, edx
sub eax, edx
mov dword [esp + 0x38], edx
add esp, 0x24
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
cmp eax, ecx
je 0x100351e0
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
call fcn.10020f40
mov edx, dword [esp + 0x28]
push dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.10035bc0
add esp, 4
add eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, dword [ebp]
push eax
push ebx
push esi
call dword [edx + 0x28]
add ebx, 2
cmp ebx, edi
jb 0x10035110
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x64], 0
jle 0x1003543b
cmp byte [esp + 0x6c], 0
je 0x1003543b
mov eax, dword [ecx + 0x14]
xor edx, edx
dec eax
div dword [esp + 0x18]
inc eax
cmp edi, eax
jae 0x1003543b
mov ebx, dword [esp + 0x60]
jmp 0x10035230
mov ecx, dword [esp + 0x54]
push edi
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x100353f8
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push dword [esp + 0x24]
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push dword [esp + 0x20]
push esi
push ebx
call dword [edi]
mov edi, dword [esp + 0x1c]
jmp 0x1003541d
mov edx, dword [esp + 0x14]
cmp edx, edi
jae 0x100351fe
lea ecx, [ecx]
cmp byte [esp + 0x6c], 0
je 0x100352e7
mov ecx, dword [esp + 0x54]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x100352df
mov eax, dword [esp + 0x10]
xor edx, edx
push dword [esp + 0x78]
mov edi, dword [ebp]
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x1c]
mov edx, ebx
inc eax
push eax
push dword [esp + 0x1c]
push esi
push ecx
mov ecx, ebp
call fcn.10038400
add esp, 0x14
mov ecx, ebp
push eax
push dword [esp + 0x18]
push esi
call dword [edi + 0x28]
jmp 0x100353d8
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0x70], 0
je 0x10035330
mov ecx, dword [ecx + 0x10]
push edx
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jle 0x10035330
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push edi
push esi
mov ecx, dword [eax + 0x10]
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov eax, dword [esp + 0x4c]
imul ecx, ecx, 0x6c
push edi
push esi
mov eax, dword [eax]
push ebx
mov ecx, dword [ecx + eax + 8]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x100353cd
push dword [esp + 0x74]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push esi
push ebx
push dword [esp + 0x70]
push ebp
push dword [esp + 0x30]
call fcn.1003a030
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x48]
add esp, 0x24
cmp byte [esp + 0x70], 0
mov dword [esp + 0x34], ecx
je 0x10035381
cmp ecx, edx
jg 0x1003537b
cmp ecx, eax
jge 0x10035381
mov ecx, eax
mov dword [esp + 0x34], eax
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
cmp eax, edx
je 0x100353cb
push dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
call fcn.10020f40
mov edx, dword [esp + 0x28]
push dword [esp + 0x2c]
mov dword [esp + 0x48], eax
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
call fcn.10035bc0
mov ecx, dword [esp + 0x38]
add esp, 4
add eax, ecx
mov edx, dword [ebp]
mov ecx, ebp
push eax
push edi
push esi
call dword [edx + 0x28]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add edx, 2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
cmp edx, edi
jb 0x10035290
jmp 0x100351fe
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push edi
push esi
mov eax, dword [eax]
push ebx
mov ecx, dword [eax + ecx - 0x64]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
push eax
push edi
push esi
mov ecx, dword [ecx + 8]
push ebx
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esp + 0x10]
xor edx, edx
add edi, 2
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 0x14]
dec eax
div dword [esp + 0x18]
inc eax
cmp edi, eax
jb 0x10035230
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret