Function at 0x10002de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x5e28
call fcn.1003b7c0
mov eax, dword [0x100a1040]
xor eax, esp
mov dword [esp + 0x5e24], eax
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ecx
push 0x1000
push dword [esp + 0x9c]
xorps xmm0, xmm0
mov dword [esp + 0xcc], 0
xor eax, eax
movaps xmmword [esp + 0xbc], xmm0
push 0x1000
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd4], 7
mov word [esp + 0xc0], ax
call fcn.100035f0
cmp dword [esp + 0xc4], 7
lea eax, [esp + 0xb0]
cmova eax, dword [esp + 0xb0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
lea eax, [esp + 0x20]
push 0
push eax
call fcn.10004e20
push 2
push 0x100
push dword [esp + 0x30]
call fcn.10005240
push 0xac44
push 0x103
push dword [esp + 0x3c]
call fcn.10005240
push 2
push 0x106
push dword [esp + 0x48]
call fcn.10005240
push 0x1f400
push 0x101
push dword [esp + 0x54]
call fcn.10005240
push 0
push 0
push 0
push 0
push dword [esp + 0x68]
call fcn.10004600
add esp, 0x50
test eax, eax
je 0x10002eef
lea eax, [esp + 0x1c]
push eax
call fcn.10004550
add esp, 4
push 0x60
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.1003ca80
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x2c]
call fcn.10004bf0
mov eax, dword [esp + 0x4c]
mov ecx, 2
add esp, 0x14
mov dword [esp + 0x10], 0
mul ecx
mov dword [esp + 0x88], 0
mov ecx, eax
mov dword [esp + 0x8c], 0
mov eax, 0xffffffff
mov dword [esp + 0x90], 0
cmovb ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x10003004
cmp ecx, 0x7fffffff
ja 0x1000353a
lea esi, [ecx + ecx]
test esi, esi
jne 0x10002f6f
xor edi, edi
jmp 0x10002fa9
cmp esi, 0x1000
jb 0x10002f9e
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1000353f
push eax
call fcn.1003b033
add esp, 4
test eax, eax
je 0x10003544
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x10002fa9
push esi
call fcn.1003b033
add esp, 4
mov edi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x98], 0
mov ax, word [ecx]
lea edx, [esi + edi]
lea ecx, [esp + 0x98]
mov dword [esp + 0x88], edi
cmp ax, word [ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x90], edx
jne 0x10002ff2
push esi
push 0
push edi
call fcn.1003ca80
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x10002ffd
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov dword [esp + 0x8c], edx
push 0x2023
call fcn.1003b033
add esp, 4
test eax, eax
je 0x10003544
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
push 0x2000
push 0
push ecx
mov dword [ecx - 4], eax
lea esi, [ecx + 0x2000]
mov dword [esp + 0x5a00], ecx
mov dword [esp + 0x5a08], esi
call fcn.1003ca80
mov eax, dword [esp + 0x94]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x98]
sub ecx, eax
mov dword [esp + 0x2c], eax
sar ecx, 1
movlpd qword [esp + 0xe0], xmm0
movaps xmmword [esp + 0x5a0c], xmm0
mov dword [esp + 0xe0], ecx
lea eax, [ecx + ecx]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xec], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xac]
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x5a00]
sub esi, eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x108], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x10c], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x110], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x5a0c]
push eax
lea eax, [esp + 0xe4]
mov dword [esp + 0xb4], 2
push eax
lea eax, [esp + 0x10c]
mov dword [esp + 0xf0], 1
push eax
lea eax, [esp + 0xf4]
mov dword [esp + 0xc0], 3
push eax
push dword [esp + 0x38]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xb4], 1
mov dword [esp + 0x118], 1
call fcn.10004600
add esp, 0x20
test eax, eax
je 0x1000317b
lea eax, [esp + 0x1c]
push eax
call fcn.10004550
add esp, 4
lea eax, [esp + 0x1c]
push eax
call fcn.10004550
mov ecx, dword [esp + 0x59f8]
add esp, 4
test ecx, ecx
je 0x100031e5
mov edx, dword [esp + 0x59fc]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100031ba
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003544
push edx
push ecx
call fcn.1003b37c
add esp, 8
mov dword [esp + 0x59f4], 0
mov dword [esp + 0x59f8], 0
mov dword [esp + 0x59fc], 0
mov edx, dword [esp + 0x88]
test edx, edx
je 0x10003224
mov ecx, dword [esp + 0x90]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x1000321a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003544
push ecx
push edx
call fcn.1003b37c
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x6a4
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10002d30
test al, al
je 0x1000326a
mov esi, 0x320
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.10002d30
push 0x1e
call edi
sub esi, 1
jne 0x10003250
mov esi, dword [esp + 0x1c]
push 0x32
call edi
sub esi, 1
mov dword [esp + 0x1c], esi
jne 0x10003233
lea eax, [esp + 0xdc]
push eax
call fcn.10032100
lea eax, [esp + 0x2c]
push eax
call fcn.10031cf0
push 0x10001
push 0x800
push 0
push 0
push 0x1003e226
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.10031d40
lea eax, [esp + 0x160]
push eax
call fcn.10039ab0
push 0x1009eb38
lea eax, [esp + 0x168]
push 1
push eax
call fcn.10039ae0
lea eax, [esp + 0x5a38]
push eax
lea eax, [esp + 0x174]
push 0x20
push eax
call fcn.10039a60
add esp, 0x44
lea eax, [esp + 0x59f4]
push eax
call fcn.10031ba0
movaps xmm5, xmmword [0x1009eb60]
mov eax, 4
movaps xmm4, xmmword [0x1009eb70]
add esp, 4
xor edi, edi
mov dword [esp + 0x1c], eax
nop dword [eax]
movd xmm0, edi
lea ecx, [edi + 0xa]
pshufd xmm0, xmm0, 0
lea edx, [edi + 9]
paddd xmm0, xmm5
movd xmm1, edx
andps xmm0, xmm4
lea esi, [edi + 8]
packuswb xmm0, xmm0
lea edx, [edi + 0xd]
packuswb xmm0, xmm0
movd dword [esp + eax + 0xf4], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm5
movd xmm3, esi
andps xmm0, xmm4
lea esi, [edi + 0xc]
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esp + eax + 0xf8], xmm0
lea eax, [edi + 0xb]
movd xmm2, eax
lea eax, [esp + 0x100]
movd xmm0, ecx
lea ecx, [edi + 0xe]
punpckldq xmm3, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
andps xmm3, xmm4
movd xmm0, ecx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [eax + edi], xmm3
lea eax, [edi + 0xf]
movd xmm2, eax
lea eax, [esp + 0x104]
movd xmm1, edx
movd xmm3, esi
punpckldq xmm3, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [eax + edi], xmm3
add edi, 0x10
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp eax, 0x24
jb 0x10003320
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x5a2c]
push eax
call fcn.10039a40
lea eax, [esp + 0x59fc]
push eax
call fcn.10031bc0
lea eax, [esp + 0xe8]
push eax
call fcn.100320e0
lea eax, [esp + 0x38]
push eax
call fcn.10031ca0
add esp, 0x14
cmp dword [esp + 0xc0], 0
je 0x100034e8
lea eax, [esp + 0xf8]
push eax
call fcn.10032880
lea eax, [esp + 0x1ac]
push eax
call fcn.10032ca0
lea eax, [esp + 0x25e8]
push eax
call fcn.10034320
push 0x400
lea eax, [esp + 0x5a38]
push 0
push eax
call fcn.1003ca80
push 0x400
lea eax, [esp + 0x5a44]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.10032830
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x1d0]
push eax
call fcn.10032bd0
add esp, 0x2c
cmp eax, 0xffffffff
je 0x100034cb
lea eax, [esp + 0x1a8]
push eax
lea eax, [esp + 0x25e4]
push eax
call fcn.10034280
add esp, 8
lea eax, [esp + 0x1a8]
push eax
call fcn.10032c70
lea eax, [esp + 0xfc]
push eax
call fcn.10032860
add esp, 8
mov ecx, dword [esp + 0xc4]
cmp ecx, 7
jbe 0x10003526
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000351c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003544
push ecx
push edx
call fcn.1003b37c
add esp, 8
mov ecx, dword [esp + 0x5e2c]
pop edi
pop esi
xor ecx, esp
call fcn.1003b025
mov esp, ebp
pop ebp
ret
call fcn.100038e0
call fcn.10002860
call fcn.1003e756
int3