Function at 0x1002a288
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2cc]
push edi
mov eax, dword [section..data]
mov ebp, section..data
mov ebx, 0x101d4a68
cmp eax, ebp
je 0x1002a2cb
push ebx
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
mov eax, dword [esp + 0x2d4]
and dword [esp + 0x10], 0
mov dword [0x10255764], eax
mov eax, dword [esp + 0x2dc]
mov dword [0x10255768], eax
mov eax, dword [esp + 0x2d8]
mov dword [0x1025576c], eax
xor eax, eax
mov word [esp + 0xbc], ax
cmp dword [0x10255778], eax
je 0x1002a445
lea eax, [esp + 0xbc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1002a445
cmp dword [0x102556d8], 0
je 0x1002a460
cmp word [0x10255788], 0
je 0x1002a362
mov eax, dword [section..data]
cmp eax, ebp
je 0x1002a356
push ebx
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
push dword [0x102556dc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x10255760], 0
lea eax, [esp + 0x14]
je 0x1002a3ac
push 0x13
push eax
call fcn.1002e529
pop ecx
pop ecx
push 0x101d448c
mov ecx, eax
call fcn.100258ff
neg eax
sbb al, al
inc al
movzx eax, al
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10029f69
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.1000c230
jmp 0x1002a460
push 0x285d
push eax
call fcn.1002e529
pop ecx
pop ecx
mov byte [esp + 0x1c], 0
mov ecx, dword [eax]
lea eax, [esp + 0x10]
push ecx
push esi
sub esp, 0x20
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x50], eax
sub esp, 0xc
mov dword [esp + 0x54], fcn.10029f69
mov edi, esp
and dword [ecx], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1002b2fc
lea ecx, [esp + 0x54]
call fcn.1000c280
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.1000c230
push dword [0x10255730]
lea ecx, [esp + 0x30]
call fcn.1000c830
sub esp, 0x20
mov ecx, esp
push 0
and dword [ecx], 0
call fcn.1002b357
lea ecx, [esp + 0x4c]
call fcn.1002bbbb
push 0
lea ecx, [esp + 0x30]
call fcn.1000c5e0
lea ecx, [esp + 0x2c]
call fcn.1000c730
jmp 0x1002a460
push 0x10
push 0x101d4448
push 0x101d446c
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esp + 0x10], 0xe
cmp word [esp + 0xbc], 0
je 0x1002a479
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1002b485
push dword [eax]
push 0xa
call fcn.10028647
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.1000c230
push dword [esp + 0x10]
push 0x101d46e4
push 0xa
call fcn.10028633
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
push eax
call esi
add esp, 0xc
push 0
push 0x101d46ec
push 0xc
call fcn.10028633
pop ecx
push eax
call esi
add esp, 0xc
mov eax, dword [section..data]
cmp eax, ebp
je 0x1002a4ec
push ebx
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1002114e
add esp, 0x10
mov ecx, dword [esp + 0x2c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1017868e
add esp, 0x2bc
ret