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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x104
mov bl, byte [esp + 0x118]
cmp dword [edx], 1
mov eax, edx
call 0x100f768b
pop esi
mov dword [esp + 0xc], ecx
jne 0x100f76ba
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push dword [eax + 8]
call fcn.100f7f00
add esp, 4
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x58], 0
jmp 0x100f76ed
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push dword [eax + 8]
call fcn.1000baa0
add esp, 4
cmp dword [esp + 0x14], 1
mov eax, 9
mov edi, 0x103a08bc
mov cl, 1
mov dword [esp + 0x58], ecx
cmovne eax, dword [esp + 0x1c]
cmovne edi, dword [esp + 0x18]
mov ebp, eax
mov dword [esp + 0x54], eax
test bl, bl
mov dword [esp + 4], ebp
jne 0x100f7a1c
lea ecx, [esp + 0x14]
mov edx, edi
push ebp
call fcn.100f82d0
add esp, 4
cmp byte [esp + 0x30], 0
jne 0x100f7721
mov al, byte [esp + 0x1c]
add al, 0xfb
cmp al, 2
jb 0x100f7a1c
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x11c]
lea ecx, [esp + 0x14]
mov edx, edi
push ebp
call fcn.100f82d0
add esp, 4
test esi, esi
je 0x100f7a1c
cmp byte [esp + 0x1c], 6
je 0x100f7a1c
mov ebx, dword [esi]
mov esi, dword [esi + 8]
lea ecx, [esp + 0xc4]
mov edx, edi
push ebp
call fcn.100f82d0
add esp, 4
lea ecx, [esp + 0xe4]
mov edx, ebx
push esi
call fcn.100f82d0
add esp, 4
jmp 0x100f77db
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100f7a18
movsd xmm1, qword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x98]
movsd qword [esp + 0xcc], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 0xc4], xmm0
movsd qword [esp + 0xd4], xmm2
movsd qword [esp + 0xdc], xmm1
movzx eax, byte [esp + 0xcc]
mov ecx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc8]
cmp al, 6
mov byte [esp], al
je 0x100f781c
lea edx, [esp + 0xc4]
mov eax, dword [edx + 0x18]
movsd xmm0, qword [edx + 9]
movsd xmm1, qword [edx + 0x11]
mov dword [esp + 0x23], eax
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x14], xmm0
movzx eax, byte [esp + 0xe0]
movzx edx, byte [esp + 0xe1]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebp
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
mov bh, byte [esp + 0xe2]
mov esi, ecx
lea ecx, [esp + 0x91]
test al, al
mov byte [esp + 0x10], al
movzx eax, byte [esp]
mov byte [esp + 8], dl
setne bl
mov byte [esp + 0x90], al
mov eax, dword [esp + 0x23]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [ecx + 0xf], eax
setne byte [esp + 0xa4]
mov byte [esp + 0xa5], dl
lea ecx, [esp + 0x14]
lea edx, [esp + 0x88]
mov byte [esp + 0xa6], bh
call fcn.100f8670
lea ecx, [esp + 0x5c]
lea edx, [esp + 0xe4]
call fcn.100f8670
movsd xmm1, qword [esp + 0x6c]
lea eax, [esp + 0x34]
movsd xmm0, qword [esp + 0x74]
movsd xmm2, qword [esp + 0x5c]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x64]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cmp eax, 5
je 0x100f79db
cmp ecx, 5
je 0x100f79e0
cmp eax, ecx
jne 0x100f7a18
cmp eax, 4
je 0x100f7960
test eax, eax
jne 0x100f7793
movzx eax, byte [esp + 0x20]
cmp al, byte [esp + 0x40]
jne 0x100f7a18
mov eax, dword [eax*4 + 0x100f7ec8]
add eax, dword [esp + 0x84]
jmp eax
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x3c]
jne 0x100f7a18
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jne 0x100f7780
jmp 0x100f7793
cmp ecx, 5
jne 0x100f7a18
lea ecx, [esp + 0xc4]
cmp byte [esp + 0x10], 2
mov eax, dword [ecx + 0x18]
movsd xmm0, qword [ecx + 9]
movsd xmm1, qword [ecx + 0x11]
mov dword [esp + 0xbf], eax
movsd qword [esp + 0xb8], xmm1
movsd qword [esp + 0xb0], xmm0
jne 0x100f7b8d
mov ebp, dword [esp + 4]
lea esi, [edi + ebp]
xor ecx, ecx
mov edx, ebp
mov dword [esp], edi
cmp ecx, edx
je 0x100f7b87
lea edx, [edi + ecx]
mov ebp, ecx
mov dword [esp + 8], edx
jmp 0x100f7a4c
mov edx, ebx
add ebp, edi
cmp edx, esi
je 0x100f7b26
movzx eax, byte [edx]
lea ebx, [edx + 1]
mov edi, 1
test al, al
jns 0x100f7a40
add edx, 2
cmp al, 0xe0
jae 0x100f7a6e
cmp ebx, esi
mov edi, 2
cmove edx, ebx
jmp 0x100f7a42
cmp al, 0xed
jne 0x100f7a90
cmp ebx, esi
cmove edx, ebx
cmp edx, esi
je 0x100f7b26
inc edx
cmp ebx, esi
mov edi, 3
je 0x100f7a42
cmp byte [ebx], 0x9f
jbe 0x100f7a42
jmp 0x100f7ab7
cmp ebx, esi
mov edi, edx
cmove edi, ebx
lea edx, [edi + 1]
cmp edi, esi
cmove edx, edi
cmp al, 0xf0
mov edi, 3
jb 0x100f7a42
lea eax, [edx + 1]
cmp edx, esi
mov edi, 4
cmovne edx, eax
jmp 0x100f7a42
mov eax, ebp
sub eax, ecx
jb 0x100f7e8a
cmp ebp, dword [esp + 4]
mov edi, dword [esp]
mov edx, dword [esp + 0xc]
ja 0x100f7e9b
mov ecx, dword [edx + 0x1c]
push eax
push dword [esp + 0xc]
push dword [edx + 0x18]
call dword [ecx + 0xc]
add esp, 0xc
mov bl, 1
test al, al
jne 0x100f7b5a
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x1c]
push 3
push 0x103a08c5
push dword [ecx + 0x18]
call dword [eax + 0xc]
add esp, 0xc
test al, al
jne 0x100f7b5a
mov edx, dword [esp + 4]
add ebp, 3
mov ecx, ebp
cmp ebp, edx
jbe 0x100f7a26
mov ecx, ebp
push 0x103a0b74
call fcn.10009b70
add esp, 4
ud2
mov edi, dword [esp]
mov ebx, dword [esp + 4]
mov edx, edi
sub ebx, ecx
add edx, ecx
test ecx, ecx
je 0x100f7b4b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x1c]
push ebx
push edx
push dword [ecx + 0x18]
call dword [eax + 0xc]
add esp, 0xc
jmp 0x100f7b58
mov ecx, dword [esp + 0xc]
push ebx
call fcn.10008bf0
add esp, 4
mov ebx, eax
cmp byte [esp + 0x58], 0
jne 0x100f7b7a
test edi, edi
je 0x100f7b7a
cmp dword [esp + 0x54], 0
je 0x100f7b7a
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov eax, ebx
add esp, 0x104
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, edx
mov ecx, edx
jmp 0x100f7b2d
cmp byte [esp], 6
mov eax, dword [esp + 0xbf]
movsd xmm0, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
mov dword [esp + 0x97], eax
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
je 0x100f7bee
mov eax, dword [esp + 0x97]
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
mov dword [esp + 0x23], eax
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x14], xmm0
mov cl, byte [esp + 8]
mov al, byte [esp]
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x1c]
mov edx, dword [esp + 0x23]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebp
cmp cl, 2
mov byte [esp + 0x64], al
movsd qword [esp + 0x6d], xmm1
movsd qword [esp + 0x65], xmm0
mov dword [esp + 0x74], edx
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], cl
mov byte [esp + 0x7a], bh
jne 0x100f7c6a
xor eax, eax
test ebp, ebp
je 0x100f7c6c
lea ecx, [esp + 0x14]
lea edx, [esp + 0x5c]
call fcn.100f8a20
cmp dword [esp + 0x18], 5
jne 0x100f7c6a
mov ecx, dword [esp + 0x14]
cmp ebp, ecx
jb 0x100f7eb9
add esi, ecx
sub ebp, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebp
jne 0x100f7c38
xor eax, eax
jmp 0x100f7c6c
mov eax, ebp
cmp bh, 2
mov dword [esp + 0x80], esi
jne 0x100f7d78
mov dl, byte [esp + 8]
mov esi, eax
xor eax, eax
xor ecx, ecx
mov ebp, 0
cmp dl, 1
setne cl
sbb ebp, ebp
or ebp, ecx
cmp dl, 1
mov edx, dword [esp + 0x6c]
cmove ebp, eax
xor eax, eax
cmp byte [esp + 0x10], 0
setne al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
test eax, eax
cmove ecx, eax
inc ebp
lea eax, [edx + ecx + 2]
lea ecx, [edx + ecx + 8]
add edx, 4
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], edx
cmp ebp, 1
mov ecx, 0
mov eax, 0
ja 0x100f7cf6
lea ecx, [esp + 0x5c]
call fcn.100f8b30
mov ecx, dword [esp + 0x10]
movzx eax, al
xor edx, edx
cmp byte [esp + 8], 0
mov ebx, edi
jne 0x100f7d3d
cmp byte [esp], 6
je 0x100f7d3d
movzx edi, byte [esp]
mov edx, 2
mov edi, dword [edi*4 + 0x100f7ee0]
add edi, dword [esp + 0x84]
jmp edi
add eax, ecx
mov ecx, esi
add eax, edx
cmp esi, eax
jbe 0x100f7d74
lea ecx, [esp + 0x14]
lea edx, [esp + 0x5c]
call fcn.100f8c10
cmp dword [esp + 0x18], 5
mov edi, ebx
jne 0x100f7d7e
mov ecx, esi
sub ecx, dword [esp + 0x14]
jb 0x100f7eb0
mov dword [esp + 0x60], ecx
mov esi, ecx
jmp 0x100f7cd7
mov eax, esi
mov edi, ebx
mov ebp, dword [esp + 4]
jmp 0x100f7d84
mov ebp, dword [esp + 4]
mov eax, esi
test eax, eax
mov ecx, eax
mov dword [esp], eax
je 0x100f7df5
mov ecx, dword [esp + 0x80]
mov eax, dword [esp]
add eax, ecx
jmp 0x100f7da1
mov ecx, edx
cmp ecx, eax
je 0x100f7df5
movzx ebx, byte [ecx]
lea edx, [ecx + 1]
test bl, bl
jns 0x100f7d9b
add ecx, 2
cmp bl, 0xe0
jae 0x100f7dba
cmp edx, eax
cmove ecx, edx
jmp 0x100f7d9d
cmp bl, 0xed
jne 0x100f7dd7
cmp edx, eax
cmove ecx, edx
cmp ecx, eax
je 0x100f7df5
inc ecx
cmp edx, eax
je 0x100f7d9d
cmp byte [edx], 0x9f
jbe 0x100f7d9d
jmp 0x100f7a1c
cmp edx, eax
mov esi, ecx
cmove esi, edx
lea ecx, [esi + 1]
cmp esi, eax
cmove ecx, esi
cmp bl, 0xf0
jb 0x100f7d9d
lea edx, [ecx + 1]
cmp ecx, eax
cmovne ecx, edx
jmp 0x100f7d9d
mov eax, dword [esp + 0x80]
mov dword [esp + 0x5c], 0x103c1aa0
mov dword [esp + 0x60], fcn.1000b950
mov dword [esp + 0x88], eax
mov eax, dword [esp]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], 0x100093b0
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0x5c]
mov dword [esp + 0x14], 0x103a0b64
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x28], 2
push eax
call fcn.10009910
add esp, 4
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0x58]
mov ebx, eax
sete al
or cl, al
je 0x100f7b6c
jmp 0x100f7b7a
mov edx, ebp
push 0x103a0b84
call fcn.10009f50
add esp, 4
ud2
mov edx, dword [esp + 4]
mov ecx, ebp
push 0x103a0b84
call fcn.10008b80
add esp, 4
ud2
mov edx, esi
push 0x103a0bc8
jmp 0x100f7ea6
mov edx, ebp
push 0x103a0bb8
jmp 0x100f7b1c