Function at 0x10199f4
Capabilities:
Get common file path

Disassembly:
mov eax, 0x101f0c9
call fcn.0101d748
sub esp, 0x24c
mov eax, dword [0x1023da8]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x94]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x258], esi
call fcn.010197cd
xor ebx, ebx
xor eax, eax
mov dword [esi + 0x84], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0x78], ebx
lea edi, [esi + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esi + 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esi + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
xor edi, edi
cmp edi, 4
lea ecx, [esi + 0x94]
jne 0x1019a88
push dword [0x1023d10]
push 0x270f
push dword [0x1023cfc]
jmp 0x1019a9f
push dword [edi*4 + 0x1023d00]
mov eax, dword [edi*4 + 0x1023cf0]
dec eax
push eax
push dword [edi*4 + 0x1023cec]
call fcn.010198d4
inc edi
cmp edi, 5
jl 0x1019a6a
mov eax, dword [esi + 0x78]
mov dword [esi + eax*4 + 0x64], 0x41
inc dword [esi + 0x78]
push 0x81330
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [esi + 0x7c], edi
je 0x1019ad5
mov ecx, 0x204cc
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], ebx
xor eax, eax
lea edi, [esi + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 4]
mov dword [edi], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 0x224], ebx
push 0x20019
push 0x1001ed0
push SysReAllocStringLen
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call fcn.010051ae
test eax, eax
jne 0x1019b37
push edi
push 0x10033ec
lea ecx, [ebp - 0x224]
call fcn.010051ea
lea ecx, [ebp - 0x224]
call fcn.0100513b
cmp dword [edi], ebx
je 0x1019ce1
push 0x7f00
push ebx
mov dword [ebp - 0x254], 0x30
mov dword [ebp - 0x250], 3
mov dword [ebp - 0x24c], 0x1018f32
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x254]
mov edi, 0x10033e0
push eax
mov dword [ebp - 0x234], 6
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], ebx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push esi
push ebx
push ebx
push ebx
push 0x2bc
push 0x64
push ebx
push ebx
push 0x10cf0000
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 8
call edi
cmp eax, ebx
mov dword [ebp - 0x220], eax
je 0x1019c3e
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push ebx
push ebx
push dword [ebp - 0x220]
push 0x14
push 0x73
push ebx
push ebx
push 0x50000000
push 0x10027c4
push 0x10033d0
push ebx
call edi
push 0x10033b0
push eax
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push ebx
push ebx
push dword [ebp - 0x220]
push 0x285
push 0x73
push 0x14
push ebx
push 0x50200844
push 0x10027c4
push 0x10033a4
push ebx
call edi
mov dword [esi], eax
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x21c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1019ce1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0100e774
push 0x1003380
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0100d5c8
push 0x1003378
push dword [ebp - 0x220]
call dword [sym.imp.msvcrt.dll__wfopen]
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x1019cd3
push 0x1003368
push 0x1003354
push 0x1003344
push 0x100332c
push 0x1003320
push 0x10032f8
push edi
call dword [sym.imp.msvcrt.dll_fwprintf]
push edi
call dword [sym.imp.msvcrt.dll_fclose]
add esp, 0x20
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.01003fb7
lea ecx, [ebp - 0x224]
call fcn.0100513b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101d23a
leave
ret