Function at 0x10034510
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 0x100345c2
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 + 4]
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 0x10034755
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 0x10034625
test dl, 1
jne 0x10034625
dec edx
test edx, edx
mov eax, 1
cmove edx, eax
cmp byte [esp + 0x6c], 0
mov dword [esp + 0x14], edx
je 0x100346db
mov dword [esp + 0x2c], eax
cmp edx, eax
jbe 0x10034751
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 0x1003469a
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 0x100346c4
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 - 0x68]
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 + 4]
push ebx
mov edx, dword [ecx]
call dword [edx]
add edi, 2
mov dword [esp + 0x2c], edi
cmp edi, dword [esp + 0x14]
jb 0x10034650
mov edi, dword [esp + 0x1c]
jmp 0x10034751
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 - 0x68]
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 - 0x68]
call fcn.100214b0
mov ebx, dword [esp + 0x80]
add esp, 0x20
mov ecx, dword [esp + 0x10]
cmp esi, 1
jbe 0x10034ae1
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 0x10034ae1
cmp byte [esp + 0x70], 0
jne 0x10034ae1
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 0x10034ae5
cmp edi, 5
jbe 0x10034ae5
cmp edx, 1
jne 0x10034ae5
cmp byte [esp + 0x6c], 0
je 0x10034809
mov ecx, dword [esp + 0x54]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10034805
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 0x1003485f
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.10039a00
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 0x10034962
cmp byte [esp + 0x6c], 0
je 0x100348c2
mov ecx, dword [esp + 0x54]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x100348c2
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 0x10034951
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.10039d80
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 0x10034943
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 0x10034877
mov edi, dword [esp + 0x1c]
cmp ebx, edi
jae 0x10034a5a
lea ebx, [ebx]
cmp byte [esp + 0x6c], 0
je 0x100349bf
mov ecx, dword [esp + 0x54]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x100349bf
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 0x10034a4f
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.10039a00
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 0x10034a40
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 0x10034970
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x64], 0
jle 0x10034c9b
cmp byte [esp + 0x6c], 0
je 0x10034c9b
mov eax, dword [ecx + 0x14]
xor edx, edx
dec eax
div dword [esp + 0x18]
inc eax
cmp edi, eax
jae 0x10034c9b
mov ebx, dword [esp + 0x60]
jmp 0x10034a90
mov ecx, dword [esp + 0x54]
push edi
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x10034c58
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 0x10034c7d
mov edx, dword [esp + 0x14]
cmp edx, edi
jae 0x10034a5e
lea ecx, [ecx]
cmp byte [esp + 0x6c], 0
je 0x10034b47
mov ecx, dword [esp + 0x54]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x10034b3f
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 0x10034c38
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0x70], 0
je 0x10034b90
mov ecx, dword [ecx + 0x10]
push edx
push esi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jle 0x10034b90
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 + 4]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x10034c2d
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.10039a00
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 0x10034be1
cmp ecx, edx
jg 0x10034bdb
cmp ecx, eax
jge 0x10034be1
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 0x10034c2b
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 0x10034af0
jmp 0x10034a5e
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 - 0x68]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
push eax
push edi
push esi
mov ecx, dword [ecx + 4]
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 0x10034a90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret