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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x640
mov esi, esp
mov dword [esi + 0x628], ebp
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x10]
mov dword [esi + 0x62c], esp
mov dword [esi + 0x638], 0xffffffff
lea eax, [esi + 0x630]
mov dword [esi + 0x634], 0x1007b330
mov ecx, dword fs:[0]
mov dword [esi + 0x630], ecx
mov dword fs:[0], eax
movzx eax, byte [edx + 0xa]
test al, al
mov ecx, 2
cmovne ecx, eax
mov dword [esi + 0x18], ecx
mov byte [esi + 0x23], cl
movsx ecx, byte [edx + 8]
add ecx, 0xffffffbf
mov eax, dword [edx + 4]
mov edi, 3
xor edx, edx
mov dword [esi + 8], 0
mov dword [esi + 4], 0
cmp ecx, 0x26
mov dword [esi + 0x7c], ebx
ja case.0x10078740.66
jmp dword [ecx*4 + 0x10078e50]
mov cl, 1
mov dword [esi + 8], ecx
mov edi, 4
mov cl, 0x70
jmp 0x1007879c
mov cl, 1
mov dword [esi + 8], ecx
cmp eax, 0xffffffff
mov ecx, 6
cmove eax, ecx
mov edi, 1
jmp 0x1007879a
mov cl, 1
mov dword [esi + 8], ecx
cmp eax, 0xffffffff
mov ecx, 6
cmove eax, ecx
mov edi, 2
mov dword [esi + 4], 0
jmp case.0x10078740.66
mov cl, 1
mov dword [esi + 8], ecx
cmp eax, 0xffffffff
mov ecx, 6
cmove eax, ecx
mov cl, 0x65
mov dword [esi + 4], ecx
mov dword [esi + 0x2c], edi
lea ecx, [eax - 0x432]
cmp eax, 0x433
cmovge edx, ecx
mov dword [esi + 0x3c], edx
cmp eax, 0x432
mov ebx, 0x432
cmovl ebx, eax
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dsign]
add esp, 8
mov edi, eax
test eax, eax
setne byte [esi + 0x22]
movsd xmm0, qword [ebp + 0x10]
movsd qword [esi + 0x80], xmm0
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dtest]
add esp, 4
cmp ax, 2
mov dword [esi + 0x78], ebx
jne 0x1007881c
cmp edi, 1
lea edx, [esi + 0xbf]
sbb edx, 0xffffffff
mov byte [edx + 2], 0x6e
mov word [edx], 0x616e
add edx, 3
mov dword [esi + 0x58], edx
jmp 0x1007888b
lea eax, [esi + 0x628]
sub esp, 0x18
cmp ebx, 0xffffffff
je 0x10078854
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [ebp + 0x10]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
lea eax, [esi + 0xbf]
mov dword [esp], eax
call fcn.10079250
jmp 0x10078880
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [ebp + 0x10]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
lea eax, [esi + 0xbf]
mov dword [esp], eax
mov dword [esp + 0x14], 0
call fcn.10078f00
add esp, 0x18
mov dword [esi + 0x5c], edx
mov edx, eax
mov dword [esi + 0x58], eax
lea ebx, [esi + 0xbf]
mov ecx, edx
sub ecx, ebx
mov dword [esi + 0x54], ebx
mov eax, ecx
mov dword [esi + 0x34], ecx
test edi, edi
movsd xmm0, qword [ebp + 0x10]
je 0x100788b6
lea ecx, [esi + 0xc0]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x54], ecx
mov ebx, eax
jmp 0x100788c9
mov dword [esi + 0x1c], ebx
cmp byte [esi + 0x18], 2
jne 0x100788c3
mov ebx, eax
jmp 0x100788c9
mov ebx, eax
inc ebx
mov dword [esi + 0x34], ebx
cmp byte [esi + 8], 0
mov dword [esi + 8], edx
je 0x10078912
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x1c], edx
je 0x100788f4
mov edi, edx
mov ebx, dword [esi + 0x1c]
nop
movsx eax, byte [ebx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov byte [ebx], al
inc ebx
cmp ebx, edi
jne 0x100788e0
movzx eax, byte [esi + 4]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
add esp, 4
mov dword [esi + 4], eax
mov edi, dword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x10]
mov ebx, dword [esi + 0x10]
jmp 0x10078915
mov edi, dword [ebp + 0x18]
movsd qword [esi + 0x80], xmm0
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dtest]
add esp, 4
mov byte [esi + 0xf], 0
mov ecx, dword [esi + 8]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x28], 0
mov dword [esi + 0x4c], 0
xorpd xmm0, xmm0
movapd xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0xf
test ax, ax
jle 0x1007896e
xor edx, edx
jmp 0x10078be4
mov word [esi + 0xc], ax
mov dh, byte [edi + 0xb]
mov dl, byte [edi + 0xc]
mov al, dh
or al, dl
jne 0x10078993
mov dword [esi + 0x24], 0
mov dword [esi + 0x14], ecx
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 4]
jmp 0x10078a7d
mov byte [esi + 0x21], dl
mov dword [esi + 0x10], ebx
mov ebx, ecx
mov eax, ecx
cmp dword [esi + 0x1c], ecx
jae 0x10078a1b
mov byte [esi + 0x24], dh
mov ecx, dword [esi + 8]
mov eax, ecx
mov edi, dword [esi + 0x1c]
sub eax, edi
mov edx, dword [esi + 0x30]
mov ebx, dword [esi + 0x40]
mov dword [esi + 0x18], ebx
mov ebx, edi
not ebx
mov dword [esi + 0x38], ebx
test al, 1
jne 0x100789d2
mov dword [esi + 0x14], ecx
mov ebx, ecx
add dword [esi + 0x38], ecx
je 0x10078a07
jmp 0x10078a88
mov eax, edi
movzx ebx, byte [edi]
cmp bl, 0x2e
jne 0x100789e7
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov ebx, dword [esi + 8]
jmp 0x100789f8
cmp bl, byte [esi + 4]
cmove edx, eax
mov edi, dword [esi + 8]
mov ebx, edi
cmove ebx, eax
mov dword [esi + 0x14], edi
lea edi, [eax + 1]
mov ecx, dword [esi + 8]
add dword [esi + 0x38], ecx
jne 0x10078a88
mov dword [esi + 0x30], edx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x40], eax
mov edi, dword [ebp + 0x18]
mov eax, ebx
mov dh, byte [esi + 0x24]
mov ebx, dword [esi + 0x14]
cmp eax, ebx
mov ecx, ebx
cmovb ecx, eax
mov dword [esi + 0x50], ecx
test dh, dh
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x38], ecx
je 0x10078a46
cmp ebx, dword [esi + 8]
jne 0x10078a46
mov ebx, dword [esi + 0x10]
inc ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0xf], 1
mov cl, 1
mov dword [esi + 0x24], ecx
jmp 0x10078a50
mov dword [esi + 0x24], 0
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
cmp byte [esi + 0x21], 0
mov dword [esi + 0x14], eax
je 0x10078a7d
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x10078ad8
mov ecx, dword [eax + 4]
mov dword [esi + 0x48], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x638], 2
jmp 0x10078aef
mov eax, dword [esi + 0x2c]
dec eax
jmp dword [eax*4 + 0x10078eec]
inc edi
jmp 0x10078aa8
cmp al, byte [esi + 4]
cmove edx, edi
cmove ebx, edi
lea eax, [edi + 2]
inc edi
cmp edi, dword [esi + 8]
mov edi, eax
je 0x10078a07
lea ecx, [edi - 1]
movzx eax, byte [edi - 1]
cmp al, 0x2e
jne 0x10078ac0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
jmp 0x10078ac9
cmp al, byte [esi + 4]
cmove edx, ecx
cmove ebx, ecx
movzx eax, byte [edi]
cmp al, 0x2e
jne 0x10078a90
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
jmp 0x10078a99
mov dword [esi + 0x638], 0
push 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
add esp, 4
mov dword [esi + 0x48], eax
mov dword [esi + 0x638], 2
lea eax, [esi + 0x44]
push eax
call fcn.10071be0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
lea eax, [esi + 0x80]
push eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x48]
movups xmm0, xmmword [esi + 0x80]
movaps xmmword [esi + 0x60], xmm0
movsd xmm0, qword [esi + 0x90]
movsd qword [esi + 0x70], xmm0
movsd xmm0, qword [0x10154070]
movsd qword [esi + 0x90], xmm0
mov byte [esi + 0x80], 0
test ecx, ecx
je 0x10078b5a
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10078b5a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi + 0x70]
cmp dword [esi + 0x74], 0x10
mov edi, dword [esi + 0x1c]
jb 0x10078b6b
mov ecx, dword [esi + 0x60]
jmp 0x10078b6e
lea ecx, [esi + 0x60]
xor edx, edx
test eax, eax
je 0x10078ba3
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x38]
sub eax, edi
movsx edi, byte [ecx]
cmp eax, edi
jbe 0x10078ba3
add dword [esi + 0x18], ecx
xor edx, edx
mov ebx, ecx
nop word [eax + eax]
sub eax, edi
inc ebx
inc edx
cmp ebx, dword [esi + 0x18]
cmovne ecx, ebx
movsx edi, byte [ecx]
mov ebx, ecx
cmp eax, edi
ja 0x10078b90
mov dword [esi + 0x4c], edx
mov eax, dword [esi + 0x2c]
dec eax
mov edi, dword [ebp + 0x18]
mov edx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
jmp dword [eax*4 + 0x10078eec]
test edx, edx
je 0x10078bdd
mov edi, dword [esi + 0x14]
dec edi
nop word cs:[eax + eax]
mov dword [esi + 0x30], edi
mov eax, edi
dec edi
cmp byte [eax], cl
jne 0x10078bd0
mov edi, dword [ebp + 0x18]
mov dword [esi + 0x28], edx
movzx eax, word [esi + 0xc]
test ax, ax
setle cl
add ebx, edx
mov dword [esi + 0x34], ebx
cmp byte [edi + 0xd], 0
setne dl
cmp byte [edi + 9], 0
sete al
and al, dl
and al, cl
lea ecx, [esi + 0x23]
mov dword [esi + 0x80], ecx
lea ecx, [esi + 0x22]
mov dword [esi + 0x84], ecx
lea ecx, [esi + 0x44]
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x34]
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], edi
lea ecx, [ebp + 0x1c]
mov dword [esi + 0x94], ecx
lea ecx, [esi + 0x54]
mov dword [esi + 0x98], ecx
lea ecx, [esi + 0x50]
mov dword [esi + 0x9c], ecx
lea ecx, [esi + 0x60]
mov dword [esi + 0xa0], ecx
lea ecx, [esi + 0x4c]
mov dword [esi + 0xa4], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0xa8], ecx
lea ecx, [esi + 0x58]
mov dword [esi + 0xac], ecx
lea ecx, [esi + 0xf]
mov dword [esi + 0xb0], ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0xb4], ecx
lea ecx, [esi + 0x28]
mov dword [esi + 0xb8], ecx
mov edx, dword [ebp + 0xc]
mov byte [esi + 0x44], al
mov dword [esi + 0x638], 1
cmp al, 1
jne 0x10078caa
lea ecx, [esi + 0x80]
push edx
push dword [ebp + 8]
call fcn.10076ae0
jmp 0x10078cc1
lea eax, [esi + 0x80]
push eax
push 2
push edi
push ebx
push edx
push dword [ebp + 8]
call fcn.10076eb0
add esp, 0x18
mov eax, dword [esi + 0x74]
cmp eax, 0x10
mov ebx, dword [ebp + 8]
jb 0x10078cfc
mov ecx, dword [esi + 0x60]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x10078cf2
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10078dce
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.100f6c02
add esp, 8
mov eax, dword [esi + 0x630]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word cs:[eax + eax]
push ebp
sub esp, 0x18
lea esi, [ebp - 0x63c]
mov ebp, dword [esi + 0x628]
call sub.VCRUNTIME140.dll___std_terminate
nop word cs:[eax + eax]
push ebp
sub esp, 0x18
lea esi, [ebp - 0x63c]
mov ebp, dword [esi + 0x628]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10078e28
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x10078e28
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esp, 0x18
pop ebp
ret