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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x100a1040]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
lea eax, [ebp + 1]
push esi
lea eax, [eax + eax*2]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], ecx
push edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x40], edi
test eax, eax
je 0x10067b40
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
nop dword [eax]
lea eax, [ebp*4 + 4]
mov dword [esp + 0x18], edi
add edi, eax
mov esi, 1
mov edx, edi
mov dword [esp + 0x44], edi
add edi, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
add edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], edi
mov dword [edx], 1
mov dword [esp + 0x54], eax
cmp ebp, 2
jge 0x10067c54
cmp dword [ebx], 0
ja 0x10067bab
push str.ap_0____0
push 0xf9
push str.gcdext_lehmer.c
call fcn.100544d0
add esp, 0xc
mov edi, dword [esp + 0x14]
cmp dword [edi], 0
ja 0x10067bcb
push str.bp_0____0
push 0xfa
push str.gcdext_lehmer.c
call fcn.100544d0
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [ebx]
cmp eax, ecx
jne 0x10067ea7
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov dword [ecx], eax
lea ecx, [esi - 1]
test ecx, ecx
js 0x10067c17
mov edx, dword [esp + 0x18]
lea eax, [ebx + ecx*4]
mov edi, edx
sub edi, ebx
mov dword [esp + 0x38], edi
nop word [eax + eax]
mov edi, dword [edi + eax]
cmp edi, dword [eax]
jne 0x10067e85
mov edi, dword [esp + 0x38]
sub eax, 4
sub ecx, 1
jns 0x10067c00
lea eax, [esi - 1]
cmp dword [ebx + eax*4], 0
lea eax, [ebx + eax*4]
jne 0x10067c2c
lea eax, [eax - 4]
dec esi
cmp dword [eax], 0
je 0x10067c23
mov edx, dword [esp + 0x44]
mov edi, esi
push esi
push edx
push dword [esp + 0x38]
call fcn.10001160
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [eax], edi
jmp 0x10067fb8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + ebp*4 - 4]
mov edx, dword [ecx + ebp*4 - 4]
mov dword [esp + 0x10], eax
or eax, edx
mov dword [esp + 0x1c], edx
jge 0x10067c75
mov eax, dword [ebx + ebp*4 - 8]
mov ecx, dword [ecx + ebp*4 - 8]
jmp 0x10067db5
cmp ebp, 2
jne 0x10067d07
cmp eax, 0x10000
jae 0x10067c94
cmp eax, 0x100
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 9
jmp 0x10067ca1
cmp eax, 0x1000000
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 0x19
shr eax, cl
mov edi, 0x21
mov edx, 0x20
movzx eax, byte [eax + 0x1009c2c0]
sub edi, eax
mov eax, dword [ebx + 4]
sub edi, ecx
sub edx, edi
mov ecx, edi
shl eax, cl
mov ecx, edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
shr eax, cl
mov ecx, edi
or dword [esp + 0x10], eax
mov eax, dword [ebx]
shl eax, cl
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov ecx, edi
shl eax, cl
mov ecx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
shr eax, cl
mov ecx, edi
or edx, eax
shl dword [esp + 0x2c], cl
jmp 0x10067dad
cmp eax, 0x10000
jae 0x10067d1d
cmp eax, 0x100
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 9
jmp 0x10067d2a
cmp eax, 0x1000000
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 0x19
mov edx, dword [esp + 0x3c]
mov ebx, 0x21
shr eax, cl
mov edi, 0x20
mov edx, dword [edx + ebp*4 - 8]
movzx eax, byte [eax + 0x1009c2c0]
sub ebx, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
mov ecx, ebx
sub edi, ebx
shl eax, cl
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, edx
shr eax, cl
or dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + ebp*4 - 0xc]
shr eax, cl
mov ecx, ebx
shl edx, cl
or eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
shl eax, cl
mov ecx, edi
mov edx, dword [edx + ebp*4 - 8]
mov dword [esp + 0x1c], eax
mov eax, edx
shr eax, cl
or dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ebp*4 - 0xc]
shr eax, cl
mov ecx, ebx
mov ebx, dword [esp + 0x3c]
shl edx, cl
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x68]
push edi
push ecx
push edx
push eax
push dword [esp + 0x20]
call fcn.1005dfc0
mov edi, dword [esp + 0x54]
add esp, 0x14
test eax, eax
je 0x10067e1f
push ebp
push dword [esp + 0x18]
lea eax, [esp + 0x70]
push ebx
push edi
push eax
call fcn.1005e520
push esi
push dword [esp + 0x38]
mov ebp, eax
mov dword [esp + 0x5c], ebx
push dword [esp + 0x34]
lea eax, [esp + 0x88]
mov ebx, edi
push dword [esp + 0x44]
mov dword [esp + 0x60], ebx
push eax
call fcn.1005e310
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x28
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
jmp 0x10067e60
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
push edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4c]
push eax
push 0x10067910
push 0
push ebp
push dword [esp + 0x28]
mov dword [esp + 0x70], esi
push ebx
call fcn.1005ed50
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x10067e6e
mov esi, dword [esp + 0x58]
cmp ebp, 2
jge 0x10067c50
jmp 0x10067b8f
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1003b025
add esp, 0x6c
ret
ja 0x10067c17
lea eax, [edx - 4]
lea eax, [eax + esi*4]
cmp dword [eax], 0
jne 0x10067e9e
dec esi
sub eax, 4
test esi, esi
jg 0x10067e91
mov edi, esi
neg edi
jmp 0x10067c32
push ecx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1006b2f0
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10067f02
test esi, esi
jle 0x10067ee4
mov eax, dword [esp + 0x18]
lea eax, [eax + esi*4]
add eax, 0xfffffffc
cmp dword [eax], 0
jne 0x10067ee4
dec esi
sub eax, 4
test esi, esi
jg 0x10067ed7
push esi
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.10001160
mov eax, dword [esp + 0x40]
add esp, 0xc
neg esi
mov dword [eax], esi
jmp 0x10067fb8
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x10067f3e
test esi, esi
jle 0x10067f25
mov eax, dword [esp + 0x20]
lea eax, [eax + esi*4]
add eax, 0xfffffffc
cmp dword [eax], 0
jne 0x10067f25
dec esi
sub eax, 4
test esi, esi
jg 0x10067f18
push esi
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.10001160
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [eax], esi
jmp 0x10067fb8
test eax, eax
jle 0x10067f4c
xor ebp, ebp
neg ecx
mov dword [esp + 0x28], ecx
jmp 0x10067f57
neg eax
mov ebp, 1
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x30]
push eax
push esi
push dword [esp + 0x28]
push ebx
call fcn.10001200
push dword [esp + 0x38]
mov edi, eax
push esi
push dword [esp + 0x30]
push ebx
call fcn.10001d27
mov ecx, eax
add esp, 0x20
or ecx, edi
jbe 0x10067f93
add edi, eax
mov dword [ebx + esi*4], edi
inc esi
cmp edi, eax
jae 0x10067f93
mov dword [ebx + esi*4], 1
inc esi
lea eax, [ebx - 4]
cmp dword [eax + esi*4], 0
lea eax, [eax + esi*4]
jne 0x10067fa9
nop
lea eax, [eax - 4]
dec esi
cmp dword [eax], 0
je 0x10067fa0
mov ecx, dword [esp + 0x34]
mov eax, esi
neg eax
test ebp, ebp
cmove eax, esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b025
add esp, 0x6c
ret