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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x290
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [esp + 0x288], eax
push 0x1ce8384
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1c5e7be
mov esi, eax
push 0x1ce839c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1c5e7b7
mov ebx, eax
lea edi, [esp + 0x80]
push 0x208
push 0
push edi
call fcn.01cb76e0
add esp, 0xc
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1d07974
push eax
push 0x1ce82cc
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
sub esp, 0x1c
movaps xmm0, xmmword [0x1ce7f60]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
mov dword [esp], 0x1d07974
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1c5e7b7
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov edi, dword [ebp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
push 0x1d0631c
call fcn.01ccde34
add esp, 4
lea ecx, [esp + 0x5c]
push eax
push 0x1d0631c
push ecx
call fcn.01c47a90
add esp, 0xc
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
push 0x1d0672c
call fcn.01ccde34
add esp, 4
lea edi, [esp + 0x50]
push eax
push 0x1d0672c
push edi
call fcn.01c47a90
add esp, 0xc
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
push 0x1d06934
call fcn.01ccde34
add esp, 4
lea ecx, [esp + 0x44]
push eax
push 0x1d06934
push ecx
call fcn.01c47a90
add esp, 0xc
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
push 0x1d06f4c
call fcn.01ccde34
add esp, 4
lea ecx, [esp + 0x38]
push eax
push 0x1d06f4c
push ecx
call fcn.01c47a90
add esp, 0xc
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
push 0x1d06524
call fcn.01ccde34
add esp, 4
lea ecx, [esp + 0x2c]
push eax
push 0x1d06524
push ecx
call fcn.01c47a90
add esp, 0xc
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
push 0x1d0735c
call fcn.01ccde34
add esp, 4
lea ecx, [esp + 0x20]
push eax
push 0x1d0735c
push ecx
call fcn.01c47a90
add esp, 0xc
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
push 0x1d07564
call fcn.01ccde34
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x1d07564
push ecx
call fcn.01c47a90
add esp, 0xc
mov eax, dword [0x1d085b0]
mov ecx, dword [0x1d04a8c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5e85f
cmp byte [0x1d085af], 0
jns 0x1c5e1f1
mov ebx, 0x7f
cmp dword [0x1d085a8], 0x7f
ja 0x1c5e223
mov eax, dword [0x1d085b0]
mov ecx, dword [0x1d04a8c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5e8f3
movzx ebx, byte [0x1d085af]
test bl, bl
jns 0x1c5e223
mov ebx, dword [0x1d085a8]
mov eax, dword [0x1d085b0]
mov ecx, dword [0x1d04a8c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c5e8a9
mov eax, 0x1d085a4
cmp byte [0x1d085af], 0
jns 0x1c5e257
mov eax, dword [0x1d085a4]
test ebx, ebx
je 0x1c5e2d9
cmp ebx, 0x7f
ja 0x1c5e275
test eax, eax
je 0x1c5e275
push ebx
push eax
push 0x1d08660
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e2d9
xorps xmm0, xmm0
movups xmmword [0x1d086cf], xmm0
movups xmmword [0x1d086c0], xmm0
movups xmmword [0x1d086b0], xmm0
movups xmmword [0x1d086a0], xmm0
movups xmmword [0x1d08690], xmm0
movups xmmword [0x1d08680], xmm0
movups xmmword [0x1d08670], xmm0
movups xmmword [0x1d08660], xmm0
test eax, eax
je 0x1c5e2c9
cmp ebx, 0x80
jb 0x1c5e2d9
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e2d4
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d086df], 0
mov eax, dword [esp + 0x54]
cmp eax, 0x7f
mov ebx, 0x7f
cmovae eax, ebx
movzx ecx, byte [esp + 0x5b]
test cl, cl
cmovns eax, ecx
cmovs edi, dword [esp + 0x50]
test eax, eax
je 0x1c5e381
test edi, edi
je 0x1c5e31e
cmp eax, 0x80
jae 0x1c5e31e
push eax
push edi
push 0x1d086e0
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e381
xorps xmm0, xmm0
movups xmmword [0x1d0874f], xmm0
movups xmmword [0x1d08740], xmm0
movups xmmword [0x1d08730], xmm0
movups xmmword [0x1d08720], xmm0
movups xmmword [0x1d08710], xmm0
movups xmmword [0x1d08700], xmm0
movups xmmword [0x1d086f0], xmm0
movups xmmword [0x1d086e0], xmm0
test edi, edi
je 0x1c5e371
cmp eax, 0x80
jb 0x1c5e381
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e37c
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d0875f], 0
mov eax, dword [esp + 0x48]
cmp eax, 0x7f
cmovb ebx, eax
movzx eax, byte [esp + 0x4f]
test al, al
cmovns ebx, eax
lea eax, [esp + 0x44]
cmovs eax, dword [esp + 0x44]
test ebx, ebx
je 0x1c5e42e
test eax, eax
je 0x1c5e3ca
cmp ebx, 0x80
jae 0x1c5e3ca
push ebx
push eax
push 0x1d08760
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e42e
xorps xmm0, xmm0
movups xmmword [0x1d087cf], xmm0
movups xmmword [0x1d087c0], xmm0
movups xmmword [0x1d087b0], xmm0
movups xmmword [0x1d087a0], xmm0
movups xmmword [0x1d08790], xmm0
movups xmmword [0x1d08780], xmm0
movups xmmword [0x1d08770], xmm0
movups xmmword [0x1d08760], xmm0
test eax, eax
je 0x1c5e41e
cmp ebx, 0x80
jb 0x1c5e42e
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e429
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d087df], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0x7f
mov edi, 0x7f
cmovae eax, edi
movzx ecx, byte [esp + 0x43]
test cl, cl
cmovns eax, ecx
lea ecx, [esp + 0x38]
cmovs ecx, dword [esp + 0x38]
test eax, eax
je 0x1c5e4da
test ecx, ecx
je 0x1c5e477
cmp eax, 0x80
jae 0x1c5e477
push eax
push ecx
push 0x1d087e0
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e4da
xorps xmm0, xmm0
movups xmmword [0x1d0884f], xmm0
movups xmmword [0x1d08840], xmm0
movups xmmword [0x1d08830], xmm0
movups xmmword [0x1d08820], xmm0
movups xmmword [0x1d08810], xmm0
movups xmmword [0x1d08800], xmm0
movups xmmword [0x1d087f0], xmm0
movups xmmword [0x1d087e0], xmm0
test ecx, ecx
je 0x1c5e4ca
cmp eax, 0x80
jb 0x1c5e4da
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e4d5
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d0885f], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x7f
cmovb edi, eax
movzx eax, byte [esp + 0x37]
test al, al
cmovns edi, eax
lea eax, [esp + 0x2c]
cmovs eax, dword [esp + 0x2c]
test edi, edi
je 0x1c5e587
test eax, eax
je 0x1c5e523
cmp edi, 0x80
jae 0x1c5e523
push edi
push eax
push 0x1d08860
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e587
xorps xmm0, xmm0
movups xmmword [0x1d088cf], xmm0
movups xmmword [0x1d088c0], xmm0
movups xmmword [0x1d088b0], xmm0
movups xmmword [0x1d088a0], xmm0
movups xmmword [0x1d08890], xmm0
movups xmmword [0x1d08880], xmm0
movups xmmword [0x1d08870], xmm0
movups xmmword [0x1d08860], xmm0
test eax, eax
je 0x1c5e577
cmp edi, 0x80
jb 0x1c5e587
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e582
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d088df], 0
mov ecx, dword [esp + 0x24]
cmp ecx, 0x7f
mov eax, 0x7f
cmovb eax, ecx
movzx ecx, byte [esp + 0x2b]
test cl, cl
cmovns eax, ecx
lea ecx, [esp + 0x20]
cmovs ecx, dword [esp + 0x20]
test eax, eax
je 0x1c5e633
test ecx, ecx
je 0x1c5e5d0
cmp eax, 0x80
jae 0x1c5e5d0
push eax
push ecx
push 0x1d08b60
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e633
xorps xmm0, xmm0
movups xmmword [0x1d08bcf], xmm0
movups xmmword [0x1d08bc0], xmm0
movups xmmword [0x1d08bb0], xmm0
movups xmmword [0x1d08ba0], xmm0
movups xmmword [0x1d08b90], xmm0
movups xmmword [0x1d08b80], xmm0
movups xmmword [0x1d08b70], xmm0
movups xmmword [0x1d08b60], xmm0
test ecx, ecx
je 0x1c5e623
cmp eax, 0x80
jb 0x1c5e633
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e62e
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d08bdf], 0
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x1c5e647
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1c5e65f
mov dword [0x1d08c04], 1
mov dword [0x1d08c08], 1
mov dword [0x1d08be0], 3
mov ecx, dword [esp + 0x18]
cmp ecx, 0x7f
mov eax, 0x7f
cmovb eax, ecx
movzx ecx, byte [esp + 0x1f]
test cl, cl
cmovns eax, ecx
lea ecx, [esp + 0x14]
cmovs ecx, dword [esp + 0x14]
test eax, eax
je 0x1c5e70e
test ecx, ecx
je 0x1c5e6ab
cmp eax, 0x80
jae 0x1c5e6ab
push eax
push ecx
push 0x1d085e0
call fcn.01cb6be0
add esp, 0xc
jmp 0x1c5e70e
xorps xmm0, xmm0
movups xmmword [0x1d0864f], xmm0
movups xmmword [0x1d08640], xmm0
movups xmmword [0x1d08630], xmm0
movups xmmword [0x1d08620], xmm0
movups xmmword [0x1d08610], xmm0
movups xmmword [0x1d08600], xmm0
movups xmmword [0x1d085f0], xmm0
movups xmmword [0x1d085e0], xmm0
test ecx, ecx
je 0x1c5e6fe
cmp eax, 0x80
jb 0x1c5e70e
call fcn.01cc4413
mov dword [eax], 0x22
jmp 0x1c5e709
call fcn.01cc4413
mov dword [eax], 0x16
call fcn.01cc5c02
mov byte [0x1d0865f], 0
mov dword [esp + 0x74], 0x3600001
mov dword [esp + 0x78], 0x634
mov dword [esp + 0x7c], 0x1d085e0
mov dword [esp + 0xc], 1
lea eax, [esp + 0x74]
mov dword [esp + 0x10], eax
cmp byte [0x1d085d8], 0
mov eax, 0x24
mov edi, 2
cmove edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x68]
push 0
push ecx
push edx
push edi
mov edi, dword [esp + 0x14]
push edi
push ebx
push eax
call dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x1f], 0
js 0x1c5e7d4
cmp byte [esp + 0x2b], 0
js 0x1c5e7e7
cmp byte [esp + 0x37], 0
js 0x1c5e7fa
cmp byte [esp + 0x43], 0
js 0x1c5e80d
cmp byte [esp + 0x4f], 0
js 0x1c5e820
cmp byte [esp + 0x5b], 0
js 0x1c5e837
cmp byte [esp + 0x67], 0
js 0x1c5e84e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.01cb3141
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x14]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x1c5e78c
push dword [esp + 0x20]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x37], 0
jns 0x1c5e793
push dword [esp + 0x2c]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x43], 0
jns 0x1c5e79a
push dword [esp + 0x38]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x4f], 0
jns 0x1c5e7a1
push dword [esp + 0x44]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x1c5e7ac
push dword [esp + 0x50]
call fcn.01cb3106
add esp, 4
cmp byte [esp + 0x67], 0
jns 0x1c5e7b7
push dword [esp + 0x5c]
call fcn.01cb3106
add esp, 4
jmp 0x1c5e7b7
push 0x1d085b0
call fcn.01cb3187
add esp, 4
cmp dword [0x1d085b0], 0xffffffff
jne 0x1c5e1da
mov dword [0x1d085a8], 0
mov dword [0x1d085a4], 0
mov dword [0x1d085ac], 0
push 0x1d085b0
call fcn.01cb31fd
add esp, 4
jmp 0x1c5e1da
push 0x1d085b0
call fcn.01cb3187
add esp, 4
cmp dword [0x1d085b0], 0xffffffff
jne 0x1c5e244
mov dword [0x1d085a8], 0
mov dword [0x1d085a4], 0
mov dword [0x1d085ac], 0
push 0x1d085b0
call fcn.01cb31fd
add esp, 4
jmp 0x1c5e244
push 0x1d085b0
call fcn.01cb3187
add esp, 4
cmp dword [0x1d085b0], 0xffffffff
jne 0x1c5e212
mov dword [0x1d085a8], 0
mov dword [0x1d085a4], 0
mov dword [0x1d085ac], 0
push 0x1d085b0
call fcn.01cb31fd
add esp, 4
jmp 0x1c5e212