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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
test edx, edx
mov dword [esp + 0x8c], edx
setne dl
test ecx, ecx
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x4c], eax
setne al
mov dword [esp + 0x74], ecx
cmp dl, al
je 0x684a8809
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc8]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x818]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], edi
test ebx, ebx
je 0x684a87e1
mov edx, dword [eax + 0x504]
cmp edx, 1
sete al
cmp edx, 3
mov edx, 4
setne cl
movzx edi, al
mov dword [esp + 0x50], edi
movzx edi, cl
mov dword [esp + 0x44], edi
mov edi, edx
sar edi, cl
mov ecx, eax
sar edx, cl
mov dword [esp + 0x54], edi
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0xc4]
movzx ebx, byte [eax]
mov eax, dword [esp + 0x54]
imul eax, ebx
test al, 7
jne 0x684a8727
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax + 1]
mov esi, eax
imul eax, dword [esp + 0x94]
test al, 7
jne 0x684a8727
mov ebx, dword [esp + 0xcc]
mov edi, dword [esp + 0x44]
mov edx, dword [ebx + 0x1c]
mov ecx, edi
add edx, edi
mov edi, dword [esp + 0x50]
sar edx, cl
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x20]
mov ecx, edi
add edx, edi
sar edx, cl
mov dword [esp + 0x70], edx
test eax, eax
je 0x684a87c7
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xd0], ebp
mov ebp, esi
mov dword [esp + 0x90], 0
shl eax, 4
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc0]
shl eax, 3
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xc4]
movzx ebx, byte [eax]
mov eax, dword [esp + 0x4c]
add eax, 0x16380
mov dword [esp + 0x84], eax
nop
lea esi, [esi]
mov eax, dword [esp + 0x4c]
movzx ecx, byte [esp + 0x50]
mov edi, dword [esp + 0xd0]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x90]
add eax, 4
shl eax, cl
lea ecx, [eax + edx*4]
mov eax, ecx
imul dword [edi + 0x10]
mov esi, eax
mov eax, dword [esp + 0xd0]
mov edi, edx
mov eax, dword [eax + 4]
cdq
add esi, eax
mov eax, ecx
adc edi, edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0xd0]
imul dword [edi + 0x18]
mov esi, eax
mov eax, dword [esp + 0xd0]
mov edi, edx
mov eax, dword [eax + 8]
cdq
add esi, eax
mov eax, dword [esp + 0x54]
adc edi, edx
mov dword [esp + 0x60], esi
imul eax, ebx
mov dword [esp + 0x64], edi
test eax, eax
je 0x684a878d
mov edx, dword [esp + 0xc8]
xor eax, eax
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x34], 0
mov ebp, dword [esp + 0xd0]
test edx, edx
setne al
add edi, 0x1c
add eax, 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
add eax, 0x163e3
mov dword [esp + 0x78], eax
jmp 0x684a856d
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], esi
lea eax, [ebx + eax*2]
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], edi
call dword [eax + 0x148]
mov eax, dword [esp + 0xc4]
add dword [esp + 0x34], 8
mov edi, dword [esp + 0x34]
movzx ebx, byte [eax]
mov eax, dword [esp + 0x54]
imul eax, ebx
cmp eax, edi
jle 0x684a8782
mov eax, dword [esp + 0x4c]
movzx ecx, byte [esp + 0x44]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x34]
add eax, 4
shl eax, cl
lea ebx, [eax + edx*4]
mov eax, ebx
imul dword [ebp + 0xc]
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x5c]
shrd eax, edx, cl
sar edx, cl
mov esi, edx
sar esi, 0x1f
test cl, 0x20
movzx ecx, byte [esp + 0x50]
cmovne eax, edx
cmovne edx, esi
mov esi, eax
mov edi, edx
mov eax, ebx
imul dword [ebp + 0x14]
add eax, dword [esp + 0x60]
adc edx, dword [esp + 0x64]
shrd eax, edx, cl
sar edx, cl
mov ebx, edx
sar ebx, 0x1f
test cl, 0x20
movsx ecx, word [ebp + 0x1c]
cmovne eax, edx
cmovne edx, ebx
shl ecx, 2
mov dword [esp + 0x38], eax
mov eax, esi
movzx esi, si
shrd eax, edi, 0x10
mov dword [esp + 0x3c], edx
sub esi, ecx
lea ebx, [eax - 4]
mov edx, eax
movsx eax, word [ebp + 0x1e]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x3c]
lea ecx, [eax*8]
sub eax, ecx
mov ecx, dword [esp + 0x38]
add eax, esi
mov esi, dword [esp + 0xc8]
shrd ecx, ebx, 0x10
mov edi, eax
movzx eax, word [esp + 0x38]
mov ebx, ecx
movsx ecx, word [ebp + 0x20]
and edi, 0xffffffc0
shl ecx, 2
sub eax, ecx
movsx ecx, word [ebp + 0x22]
shl ecx, 2
sub eax, ecx
mov ecx, dword [esp + 0x6c]
and eax, 0xffffffc0
cmp dword [esp + 0x40], 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + ecx*4 + 4]
mov eax, dword [eax + esi*4 + 8]
jle 0x684a8673
lea esi, [ebx - 4]
mov dword [esp + 0x88], esi
lea esi, [edx + 7]
cmp esi, dword [esp + 0x48]
jge 0x684a8673
cmp dword [esp + 0x88], 2
jg 0x684a8760
mov esi, dword [esp + 0x80]
sub edx, 7
mov esi, dword [esi + 0x818]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], ecx
lea ecx, [ebx - 7]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xf
mov dword [esp], 0xf
call dword [esi + 0x14c]
mov eax, dword [esp + 0x78]
mov ecx, 0x20
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x684a8510
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x34]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], ebx
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
call dword [eax + 0x144]
jmp 0x684a854b
mov dword [esp + 8], 0x481
mov dword [esp + 4], 0x684fa910
mov dword [esp], 0x684fa97c
call fcn.684d2880
mov eax, dword [esp + 0xc4]
movzx eax, byte [eax + 1]
mov esi, eax
imul eax, dword [esp + 0x94]
jmp 0x684a83c7
lea esi, [ebx + 7]
cmp esi, dword [esp + 0x70]
jge 0x684a8673
mov esi, dword [esp + 0x88]
imul esi, ecx
add esi, dword [esp + 0x40]
add eax, esi
jmp 0x684a86d7
mov eax, dword [esp + 0xc4]
movzx ebp, byte [eax + 1]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x684a87d4
mov edi, dword [esp + 0x98]
add dword [esp + 0x8c], edi
mov eax, dword [esp + 0x94]
add dword [esp + 0x90], 8
mov edi, dword [esp + 0x90]
imul eax, ebp
cmp eax, edi
jg 0x684a8450
add esp, 0xac
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x9c]
add dword [esp + 0x74], edi
jmp 0x684a87a6
mov dword [esp + 0x94], 4
mov dword [esp + 0x54], 4
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], 0
jmp 0x684a8391
mov dword [esp + 8], 0x47b
mov dword [esp + 4], 0x684fa910
mov dword [esp], 0x684fa938
call fcn.684d2880
jmp 0x684a8332