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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x44], ecx
mov esi, eax
mov dword [ebp - 0x50], eax
movzx eax, byte [eax + 0x68]
mov dword [ebp - 0x6c], ebx
mov edx, eax
mov byte [ebx], 1
mov ebx, dword [esi + 0x14]
shr dl, 4
and edx, 1
lea eax, [edx*4 + 0x140]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x48], eax
mov edx, eax
mov eax, ecx
add eax, edx
mov edx, dword [esi + 0x18]
mov dword [esp], ebx
mov ecx, eax
mov dword [ebp - 0x54], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x40], edx
call fcn.667b6c40
sub esp, 8
test eax, eax
je 0x6675fa3e
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov edi, eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x58]
lea esi, [esi + edx*4]
mov ecx, dword [esi + 0x140]
mov dword [ebp - 0x60], esi
mov eax, dword [ecx + 8]
cmp eax, 1
ja 0x6675fab0
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x6675fa70
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
lea ecx, [eax + 0xc]
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.6675f660
mov eax, dword [ebp - 0x58]
sub esp, 4
mov edx, dword [eax + 0xc]
mov esi, dword [edx + 0xc]
test esi, esi
je 0x6675fd88
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebx + 0x140]
mov eax, dword [ecx + 8]
cmp eax, 1
jbe 0x6675f868
mov ecx, dword [ebp - 0x54]
call fcn.667bd8f0
mov ecx, dword [ebx + 0x140]
mov esi, dword [ecx + 0x18]
test esi, esi
je 0x6675fcd0
mov ebx, dword [ebp - 0x40]
xor ebx, dword [ecx + 0x1c]
xor edx, edx
mov eax, ebx
div esi
mov eax, dword [ecx + 4]
lea eax, [eax + edx*4]
mov esi, dword [eax]
cmp ecx, esi
je 0x6675f8a4
mov edx, dword [ebp - 0x40]
jmp 0x6675f898
mov eax, esi
mov esi, dword [esi]
cmp ecx, esi
je 0x6675f8a4
cmp ebx, dword [esi + 4]
jne 0x6675f890
cmp edx, dword [esi + 8]
jne 0x6675f890
mov esi, dword [eax]
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xc]
mov dword [esp], eax
call fcn.6675f660
mov eax, dword [esi + 0xc]
sub esp, 4
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x6675fda0
mov dword [esp], pe_nt_image_headers32
call fcn.6678d230
mov ebx, dword [ebp - 0x50]
mov esi, eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax], 0x668bc7a8
mov dword [eax + 0x6c], edi
mov dword [eax + 0x70], ebx
mov eax, dword [0x66a20204]
mov dword [esi + 0x20], 0
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
movzx eax, byte [esi + 0x68]
mov dword [esi + 0x24], 0
and eax, 0xffffff80
mov dword [esi + 0x28], 0
or eax, 2
mov dword [esi + 0x2c], 0
mov byte [esi + 0x68], al
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
movzx edx, byte [edi + 0x68]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x58], 0
and edx, 0x10
mov dword [ebp - 0x24], ebx
or eax, edx
mov dword [ebp - 0x5c], esi
mov byte [esi + 0x68], al
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + ecx + 0x40]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x74]
mov dword [ebp - 0x64], eax
lea eax, [esi + 0x78]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x68]
and eax, 8
cmp dword [ebp - 0x58], 1
je 0x6675fa0f
test al, al
jne 0x6675fad0
cmp dword [ebp - 0x58], 1
je 0x6675fa26
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x64], eax
movzx eax, byte [edi + 0x68]
and eax, 8
cmp dword [ebp - 0x58], 1
jne 0x6675f9e4
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebx + 0x6c]
mov ecx, dword [edx + 0x14]
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x14]
test al, al
jne 0x6675fd60
mov esi, dword [ebp - 0x5c]
mov ecx, esi
call fcn.6675a0e0
mov edi, dword [ebp - 0x6c]
mov ebx, dword [esi + 0x14]
mov byte [edi], al
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.667b6620
mov eax, esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 8
mov esi, dword [ecx + 0x1c]
mov dword [ebp - 0x58], edx
xor edx, edx
xor esi, ebx
mov eax, esi
div dword [ebp - 0x58]
mov eax, dword [ecx + 4]
lea edx, [eax + edx*4]
mov eax, dword [edx]
cmp ecx, eax
jne 0x6675fa9c
jmp 0x6675f821
mov edx, eax
mov eax, dword [eax]
cmp ecx, eax
je 0x6675f821
cmp esi, dword [eax + 4]
jne 0x6675fa90
cmp ebx, dword [eax + 8]
jne 0x6675fa90
mov eax, dword [edx]
jmp 0x6675f821
mov ecx, dword [ebp - 0x54]
call fcn.667bd8f0
mov ecx, dword [esi + 0x140]
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x6675f81c
jmp 0x6675fa70
mov eax, dword [ebp - 0x5c]
or byte [eax + 0x68], 8
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
test eax, eax
jle 0x6675f9ec
mov byte [ebp - 0x65], 0
lea eax, [edi + 8]
xor edi, edi
mov dword [ebp - 0x44], eax
mov eax, dword [esi]
cmp eax, 1
ja 0x6675fc33
lea esi, [esi]
mov eax, dword [esi + 8]
mov dword [ebp - 0x40], eax
add eax, edi
mov eax, dword [esi + eax*4 + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x38], eax
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x6675fc17
mov dword [ebp - 0x50], edx
mov ebx, dword [ebp - 0x44]
xor edx, edx
xor ebx, dword [ecx + 0x1c]
mov eax, ebx
div dword [ebp - 0x50]
mov eax, dword [ecx + 4]
lea edx, [eax + edx*4]
mov eax, dword [edx]
cmp eax, ecx
je 0x6675fc17
mov dword [ebp - 0x50], esi
jmp 0x6675fb5c
mov edx, eax
mov eax, dword [eax]
cmp ecx, eax
je 0x6675fcb0
cmp ebx, dword [eax + 4]
jne 0x6675fb50
mov esi, dword [ebp - 0x44]
cmp dword [eax + 8], esi
jne 0x6675fb50
mov esi, dword [ebp - 0x50]
cmp dword [edx], ecx
je 0x6675fc17
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x64]
mov dword [esp], eax
call fcn.667c6a40
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x38]
sub esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x6675fca0
mov eax, dword [eax + 8]
cmp eax, 1
jbe 0x6675fbaa
mov ecx, ebx
call fcn.667ba210
lea esi, [ebp - 0x34]
mov dword [esp + 4], 0
mov ecx, ebx
mov dword [esp], esi
call fcn.667e7520
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [eax]
sub esp, 8
cmp eax, ecx
jne 0x6675fce0
mov ebx, dword [ebp - 0x38]
pxor xmm0, xmm0
cmp byte [ebp - 0x65], 0
movsd qword [ebp - 0x30], xmm0
je 0x6675fbef
xorpd xmm0, xmmword [0x66844410]
movsd qword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x5c]
mov dword [esp], esi
mov ecx, ebx
add eax, 8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.667ba2c0
mov eax, dword [ebp - 0x48]
sub esp, 8
mov esi, dword [eax]
mov eax, dword [esi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0xc]
add edi, 1
sub eax, dword [ebp - 0x40]
cmp edi, eax
jge 0x6675f9ec
mov eax, dword [esi]
cmp eax, 1
jbe 0x6675fb08
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + 0x180]
mov edx, dword [eax + 8]
lea ebx, [eax + edx*4 + 0x10]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x66a20218]
mov esi, eax
mov eax, dword [ebp - 0x48]
sub esp, 4
mov edx, dword [eax]
mov eax, dword [edx + 8]
shl eax, 2
lea ecx, [edx + eax + 0x10]
cmp ebx, ecx
je 0x6675fc86
mov edx, dword [edx + 0xc]
shl edx, 2
sub edx, eax
test edx, edx
jle 0x6675fc86
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], ecx
call fcn.6678ef40
mov ecx, esi
call fcn.667e19e0
test al, al
je 0x6675fcc0
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
jmp 0x6675fb08
pxor xmm0, xmm0
lea esi, [ebp - 0x34]
jmp 0x6675fbd7
mov esi, dword [ebp - 0x50]
jmp 0x6675fc17
mov dword [esp], esi
call dword [0x66a20228]
jmp 0x6675fc91
mov eax, dword [ebp - 0x54]
jmp 0x6675f8a2
movsd xmm0, qword [eax + 0x10]
mov dword [ebp - 0x70], edx
mov edx, dword [eax]
mov dword [esp], eax
movsd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], edx
call dword [0x66a201f0]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x70]
sub esp, 4
movsd xmm0, qword [ebp - 0x50]
mov dword [edx], eax
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x18]
sub eax, 1
sar ebx, 3
cmp eax, ebx
mov dword [ecx + 0xc], eax
jg 0x6675fd58
movsx eax, word [ecx + 0x16]
movsx ebx, word [ecx + 0x14]
cmp ax, bx
jle 0x6675fd58
sub eax, 2
movsd qword [ebp - 0x40], xmm0
cmp eax, ebx
cmovge ebx, eax
mov dword [esp], ebx
call dword [0x66a201ec]
mov ebx, dword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x40]
sub esp, 4
jmp 0x6675fbd7
mov ebx, dword [ebp - 0x38]
jmp 0x6675fbd7
mov eax, dword [ebp - 0x5c]
cmp ecx, edx
setne byte [ebp - 0x65]
or byte [eax + 0x68], 8
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
test eax, eax
jg 0x6675faee
jmp 0x6675fa26
mov dword [esp], eax
mov ecx, dword [ebp - 0x54]
call fcn.667bd9d0
sub esp, 4
jmp 0x6675f846
mov dword [esp], esi
mov ecx, dword [ebp - 0x54]
call fcn.667bd9d0
sub esp, 4
jmp 0x6675f8c3