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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
test edx, edx
sete cl
mov eax, edx
and eax, 1
xor eax, edx
cmp eax, 0xffffffff
setne ch
test esi, esi
sete dl
mov eax, esi
not eax
and eax, 1
add eax, esi
mov eax, dword [esp + 0x78]
setne dh
cmp eax, 0x10
mov eax, 7
mov dword [esp + 0x58], 0
mov esi, 0x66
jb 0x676304
and cl, ch
jne 0x676304
test ebx, ebx
je 0x676304
mov dword [esp + 0x44], ebx
and dl, dh
mov dword [esp + 0x38], ecx
jne 0x67631f
mov ebp, 8
mov byte [esp + 0x2f], 0x69
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
lea eax, [eax + 0x10]
mov esi, 0x6d
cmp eax, edi
jbe 0x67630e
mov edx, 0x16
mov ecx, eax
and ecx, 1
xor ecx, eax
not ecx
test ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
jne 0x676479
jmp 0x6763a3
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ecx
jmp 0x67631f
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
jmp 0x6763a3
cmp eax, 6
jne 0x6765c4
mov byte [esp + 0x2f], 0x69
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
mov ecx, dword [esp + 0x70]
lea esi, [ecx + 0x58]
mov dword [esp + 0x34], esi
mov ecx, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x10c]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4]
lea ecx, [edx + 4]
mov dword [esp + 0x30], ecx
sub eax, dword [edx + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
cmovb eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00493840
mov esi, 0x67
test eax, eax
jne 0x67639a
mov ecx, 6
mov edx, eax
not edx
and edx, 1
add edx, eax
mov dword [esp + 0x40], eax
jne 0x6764a1
jmp 0x676524
mov dword [esp + 0x40], eax
jmp 0x676524
cmp ebp, 2
jne 0x676489
imul ebp, ebp
and ebp, 3
cmp ebp, 2
jae 0x676489
mov dword [esp + 0x28], esi
xor ebx, ebx
mov eax, 0x3e
xor eax, 0x37
mov dword [esp + 0x24], eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x7c]
lea esi, [eax + 0x10]
lea edi, [esp + 0x48]
jmp 0x676454
inc ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], 0
call fcn.007c51a0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], 0x10
call fcn.007c51d0
mov dword [esp + 4], edi
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
mov dword [esp + 8], 0x10
call fcn.007c51d0
mov eax, dword [esp + 0x58]
mov dword [ebp + 8], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.007c51d0
mov eax, ebx
or eax, 2
mov ecx, ebx
xor ecx, 2
add ecx, eax
setne al
movzx eax, al
cmp ebx, eax
jb 0x6763f0
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor ebx, ebx
cmp edx, 9
je 0x67659b
jmp 0x6765c4
mov eax, 6
mov ecx, 0xc
movzx edx, byte [esp + 0x2f]
cmp edx, 0x2e
je 0x67631f
cmp ecx, 6
je 0x6765c4
mov eax, ecx
and eax, 1
inc eax
xor eax, ecx
je 0x6765c4
mov ebx, dword [esp + 0x44]
mov eax, dword [ebx]
mov ebp, dword [esp + 0x70]
mov ecx, dword [ebp + 0x58]
mov ecx, dword [ecx + 0x10c]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4]
sub eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
cmovb eax, ecx
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00493840
mov dword [esp + 0x40], eax
mov esi, 0x67
test eax, eax
je 0x6765c4
mov eax, 0x67
mov esi, 5
mov byte [esp + 0x2f], 0x2e
lea ecx, [ebp + 0x58]
mov dword [esp + 0x34], ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x30], ecx
jmp 0x6765ae
mov ebp, 2
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x3c], eax
mov eax, esi
mov esi, dword [edx + 0x24]
mov edx, edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
lea ebx, [esp + 0x58]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov esi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov edi, edx
call fcn.0067d260
mov ebx, eax
and eax, 1
inc eax
xor eax, ebx
sete al
movzx eax, al
cmp ebx, eax
je 0x6763a3
mov esi, 3
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004936c0
mov eax, ebx
cmp esi, 3
jne 0x6765ce
imul esi, esi
and esi, 3
cmp esi, 2
mov esi, eax
jae 0x676524
mov eax, esi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
jmp 0x676524