Function at 0x10019940
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x528
mov eax, dword [0x10113900]
xor eax, esp
mov dword [esp + 0x524], eax
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor eax, eax
mov dword [esp + 0x100], 0
push eax
push 0x1000
push dword [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x110], 7
movaps xmmword [esp + 0xfc], xmm0
lea ecx, [esp + 0xfc]
push 0x1000
mov word [esp + 0x100], ax
call fcn.10028030
cmp dword [esp + 0x104], 7
lea eax, [esp + 0xf0]
cmova eax, dword [esp + 0xf0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x260
lea eax, [esp + 0x214]
push 0
push eax
call fcn.10071a10
add esp, 0xc
lea ecx, [esp + 0x210]
call fcn.100170a0
push 0x30
mov dword [esp + 0xc8], 0x100ccb64
mov dword [esp + 0xd0], 0
call fcn.1006f97f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 8], eax
nop dword [eax]
mov esi, dword [eax]
lea ecx, [esp + 0x30]
push 0
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push 0x100ca419
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.100277b0
push 1
push 0x10103d0c
lea ecx, [esp + 0x38]
call fcn.100210c0
mov dword [esp + 0x60], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov ecx, esi
mov dword [esp + 0x64], 0
movups xmm0, xmmword [eax]
lea edx, [ecx + 1]
movups xmmword [esp + 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019ac0
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x58]
call fcn.100210c0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x210]
mov dword [esp + 0x24], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x20], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
call fcn.10017800
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x10019b57
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019b4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a581
push ecx
push edx
call fcn.1006fe17
add esp, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
cmp ecx, 0xf
jbe 0x10019ba2
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019b98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a581
push ecx
push edx
call fcn.1006fe17
add esp, 8
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp ecx, 0xf
jbe 0x10019bed
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019be3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a581
push ecx
push edx
call fcn.1006fe17
add esp, 8
imul ecx, dword [esp + 0x220], 0x370
lea eax, [esp + 0xd8]
mov esi, dword [esp + 0x214]
add ecx, 0x180
add esi, ecx
lea ecx, [esp + 0xc8]
push esi
push eax
mov dword [esp + 0x14], esi
call fcn.1002ef40
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [esp + 0xe4], xmm0
cmp byte [ecx + 0xd], 0
jne 0x10019c41
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jge 0x10019d39
cmp dword [esp + 0xcc], 0x5555555
je 0x1001a57c
mov esi, dword [esp + 0xc8]
push 0x30
call fcn.1006f97f
mov ecx, dword [esp + 0x10]
mov edi, eax
add esp, 4
mov ecx, dword [ecx]
mov dword [edi + 0x10], ecx
call fcn.1007991a
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
divsd xmm0, qword [0x10105e80]
subsd xmm0, qword [0x10105e08]
mulsd xmm0, qword [0x10105df0]
addsd xmm0, qword [0x10105df0]
movsd qword [edi + 0x18], xmm0
call fcn.1007991a
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm0
divsd xmm0, qword [0x10105e80]
subsd xmm0, qword [0x10105e08]
mulsd xmm0, qword [0x10105df0]
addsd xmm0, qword [0x10105df0]
movsd qword [edi + 0x20], xmm0
call fcn.1007991a
push edi
push dword [esp + 0xec]
lea ecx, [esp + 0xd0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push dword [esp + 0xec]
addsd xmm0, xmm0
divsd xmm0, qword [0x10105e80]
subsd xmm0, qword [0x10105e08]
mulsd xmm0, qword [0x10105df0]
addsd xmm0, qword [0x10105df0]
movsd qword [edi + 0x28], xmm0
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov word [edi + 0xc], 0
call fcn.10029a20
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc8]
add eax, 4
mov dword [esp + 8], eax
cmp eax, ecx
jne 0x10019a40
lea eax, [esp + 0x210]
mov dword [esp + 0x70], 0x10105d08
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x70]
lea eax, [esp + 0xc8]
mov dword [esp + 0x134], 0
mov dword [esp + 0x78], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x110]
push eax
call fcn.10038f40
mov ecx, dword [esp + 0x94]
mov edx, eax
mov dword [esp + 0x134], edx
test ecx, ecx
je 0x10019dd9
mov edx, dword [ecx]
lea eax, [esp + 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x134]
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov esi, dword [esp + 0x414]
test esi, esi
je 0x10019e55
lea eax, [esp + 0x3f0]
cmp esi, eax
jne 0x10019e41
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0x414]
mov ecx, eax
mov dword [esp + 0x94], ecx
test esi, esi
je 0x10019e38
mov edx, dword [esi]
lea eax, [esp + 0x3f0]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x134]
mov ecx, dword [esp + 0x94]
jmp 0x10019e4a
mov edx, dword [esp + 0x134]
jmp 0x10019e55
mov ecx, esi
mov dword [esp + 0x94], ecx
mov dword [esp + 0x414], 0
test edx, edx
je 0x10019eac
lea eax, [esp + 0x110]
cmp edx, eax
jne 0x10019ea5
mov eax, dword [edx]
lea ecx, [esp + 0x3f0]
push ecx
mov ecx, edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x414], eax
test ecx, ecx
je 0x10019e9c
mov edx, dword [ecx]
lea eax, [esp + 0x110]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x94]
jmp 0x10019eac
mov dword [esp + 0x414], edx
test ecx, ecx
je 0x10019ec2
mov edx, dword [ecx]
lea eax, [esp + 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea eax, [esp + 0xd4]
mov dword [esp + 0x98], 0x10105ca8
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0x98]
lea eax, [esp + 0x210]
mov dword [esp + 0x15c], 0
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x138]
push eax
call fcn.10038e00
mov ecx, dword [esp + 0xbc]
mov edx, eax
mov dword [esp + 0x15c], edx
test ecx, ecx
je 0x10019f5d
mov edx, dword [ecx]
lea eax, [esp + 0x98]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x15c]
xor ecx, ecx
mov dword [esp + 0xbc], ecx
mov esi, dword [esp + 0x2d4]
test esi, esi
je 0x10019fdc
lea eax, [esp + 0x2b0]
cmp esi, eax
jne 0x10019fc8
mov eax, dword [esi]
lea ecx, [esp + 0x98]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0x2d4]
mov ecx, eax
mov dword [esp + 0xbc], ecx
test esi, esi
je 0x10019fbf
mov edx, dword [esi]
lea eax, [esp + 0x2b0]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x15c]
jmp 0x10019fd1
mov edx, dword [esp + 0x15c]
jmp 0x10019fdc
mov ecx, esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x2d4], 0
test edx, edx
je 0x1001a033
lea eax, [esp + 0x138]
cmp edx, eax
jne 0x1001a02c
mov eax, dword [edx]
lea ecx, [esp + 0x2b0]
push ecx
mov ecx, edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x2d4], eax
test ecx, ecx
je 0x1001a023
mov edx, dword [ecx]
lea eax, [esp + 0x138]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0xbc]
jmp 0x1001a033
mov dword [esp + 0x2d4], edx
test ecx, ecx
je 0x1001a04c
mov edx, dword [ecx]
lea eax, [esp + 0x98]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp dword [esp + 0xcc], 1
je 0x1001a1d1
push 0xd
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push 0x10103d10
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.100277b0
sub esp, 8
lea eax, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x220]
call fcn.10016ab0
push ecx
lea ecx, [esp + 0x214]
call fcn.10016e10
mov eax, dword [esp + 0x218]
mov esi, dword [esp + 0x214]
mov dword [esp + 8], eax
cmp esi, eax
je 0x1001a105
add esi, 0x198
mov ecx, eax
cmp byte [esi - 0x14], 0
je 0x1001a0f5
lea eax, [esi - 4]
push eax
call fcn.10005eb0
push esi
call fcn.10005eb0
lea eax, [esi + 4]
push eax
call fcn.10005eb0
lea eax, [esi + 8]
push eax
call fcn.10005eb0
lea ecx, [esi - 0x14]
call fcn.10004440
mov ecx, dword [esp + 8]
add esi, 0x370
lea eax, [esi - 0x198]
cmp eax, ecx
jne 0x1001a0c2
mov edi, dword [esp + 0x230]
mov esi, dword [esp + 0x22c]
cmp esi, edi
je 0x1001a14e
add esi, 0x3c
nop word [eax + eax]
lea eax, [esi - 4]
push eax
push 1
call dword [0x10129730]
push esi
push 1
call dword [0x10129bfc]
lea eax, [esi + 4]
push eax
push 1
call dword [0x10129be4]
add esi, 0x220
lea eax, [esi - 0x3c]
cmp eax, edi
jne 0x1001a120
mov eax, dword [esp + 0x244]
xor esi, esi
mov ecx, dword [esp + 0x240]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001a187
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x244]
inc esi
mov ecx, dword [esp + 0x240]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1001a167
push dword [esp + 0x228]
call fcn.10065e20
add esp, 4
call fcn.100666c0
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1001a1d1
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a1c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a581
push ecx
push edx
call fcn.1006fe17
add esp, 8
lea ecx, [esp + 0xc8]
call fcn.1001aa30
lea ecx, [esp + 0x210]
call fcn.10017640
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x514
mov dword [esp + 0xd4], esi
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10019890
test al, al
je 0x1001a233
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10019890
push 0x1e
call edi
sub esi, 1
jne 0x1001a216
mov esi, dword [esp + 0xd4]
push 0x32
call edi
sub esi, 1
mov dword [esp + 0xd4], esi
jne 0x1001a200
movaps xmm0, xmmword [0x10105ed0]
lea edi, [esp + 0x24]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 5
mov eax, edi
mov dword [esp + 0xd8], 0
sub eax, ecx
mov dword [esp + 0xdc], 0
sar eax, 2
mov dword [esp + 0xe0], 0
movups xmmword [esp + 0x10], xmm0
test eax, eax
je 0x1001a2c8
cmp eax, 0x3fffffff
ja 0x1001a586
push eax
lea ecx, [esp + 0xdc]
call fcn.1002a5b0
mov esi, dword [esp + 0xd8]
lea eax, [esp + 0x10]
sub edi, eax
push edi
push eax
push esi
call fcn.10071490
add esp, 0xc
sar edi, 2
lea eax, [esi + edi*4]
mov dword [esp + 0xdc], eax
push 0xb0
lea eax, [esp + 0x47c]
push 0
push eax
call fcn.10071a10
add esp, 8
lea ecx, [esp + 0x47c]
call fcn.1001d920
push 0xac
lea eax, [esp + 0x164]
push 0
push eax
call fcn.10071a10
add esp, 0xc
lea eax, [esp + 0x160]
mov ecx, eax
push eax
call fcn.1001adf0
mov dword [esp + 0x160], 0x10105c34
lea eax, [esp + 0x488]
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x170]
push 0
push 8
mov dword [esp + 0xd4], 0
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0x10]
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xe0]
sar eax, 2
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
call fcn.10019220
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
sub ecx, eax
and ecx, 0xfffffffc
push 0
push ecx
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
call fcn.10019220
lea ecx, [esp + 0x1e8]
call fcn.10015000
lea ecx, [esp + 0x1c4]
call fcn.10015000
lea ecx, [esp + 0x1b4]
call fcn.1001b310
lea ecx, [esp + 0x194]
call fcn.10015000
lea ecx, [esp + 0x174]
call fcn.10019370
lea ecx, [esp + 0x164]
call fcn.1001b400
push 0x98
lea eax, [esp + 0x164]
mov dword [esp + 0xe8], 0
push 0
push eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
call fcn.10071a10
add esp, 0xc
lea eax, [esp + 0x160]
mov ecx, eax
push eax
call fcn.1001aad0
mov dword [esp + 0x160], 0x10104724
lea eax, [esp + 0x478]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x170]
push 0
push 8
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x10]
call fcn.10019400
push dword [esp + 0xc8]
lea ecx, [esp + 0xe8]
call fcn.10041670
mov eax, dword [esp + 0xc8]
mov ecx, dword [esi + 0x10]
push 0
shl eax, 2
push eax
push dword [esp + 0xec]
mov ecx, dword [ecx + 0x10]
call fcn.10019400
lea ecx, [esp + 0x1d4]
call fcn.10015000
lea ecx, [esp + 0x1c0]
call fcn.1001b160
lea ecx, [esp + 0x1b8]
call fcn.1001b1c0
lea ecx, [esp + 0x1a0]
call fcn.1001b160
lea ecx, [esp + 0x198]
call fcn.1001b250
lea ecx, [esp + 0x174]
call fcn.10019370
lea ecx, [esp + 0x164]
call fcn.1001b400
lea ecx, [esp + 0xe4]
call fcn.1001aa70
lea ecx, [esp + 0x478]
call fcn.10011580
lea ecx, [esp + 0xd8]
call fcn.1001aa70
mov ecx, dword [esp + 0x104]
cmp ecx, 7
jbe 0x1001a568
mov edx, dword [esp + 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a55e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a58b
push ecx
push edx
call fcn.1006fe17
add esp, 8
mov ecx, dword [esp + 0x52c]
pop edi
pop esi
xor ecx, esp
call fcn.1006f8b7
mov esp, ebp
pop ebp
ret
call fcn.10003100
call fcn.10081cc9
call fcn.1002a480
call fcn.10081cc9
int3