Function at 0x100342d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1009a818
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
mov ebp, dword [esp + 0x278]
xor edi, edi
push 0x206
mov dword [esp + 0x28], eax
lea eax, [esp + 0x62]
xor edx, edx
push edi
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x68], dx
call fcn.10079c60
add esp, 0xc
push 0x104
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor edx, edx
lea eax, [esp + 0x5c]
mov word [esp + 0x44], dx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
lea edx, [eax + 2]
jmp 0x10034370
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10034370
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x60]
lea esi, [esp + 0x44]
call fcn.10007450
mov dword [esp + 0x270], edi
mov eax, dword [ebp + 0x6414]
mov esi, dword [eax]
mov edi, dword [ebp + 0x63fc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
lea ebx, [ebx]
mov ebx, dword [ebp + 0x6414]
mov eax, dword [ebp + 0x63fc]
test edi, edi
je 0x100343c4
cmp edi, eax
je 0x100343c9
call fcn.100759ec
cmp esi, ebx
je 0x10034541
test edi, edi
jne 0x100343f4
call fcn.100759ec
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x100343e6
call fcn.100759ec
cmp dword [esi + 0x24], 8
mov ebx, dword [esi + 0x20]
jb 0x100343f8
mov eax, dword [esi + 0x10]
jmp 0x100343fb
mov eax, dword [edi]
jmp 0x100343dc
lea eax, [esi + 0x10]
push eax
xor eax, eax
lea edx, [esp + 0x44]
call fcn.10007c90
cmp eax, 0xffffffff
jne 0x1003441f
lea esi, [esp + 0x18]
call fcn.1003b570
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x100343b0
test edi, edi
jne 0x10034454
call fcn.100759ec
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x10034434
call fcn.100759ec
test edi, edi
jne 0x10034458
call fcn.100759ec
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x10034449
call fcn.100759ec
cmp dword [esi + 0x24], 8
jb 0x1003445c
mov ecx, dword [esi + 0x10]
jmp 0x1003445f
mov eax, dword [edi]
jmp 0x1003442a
mov eax, dword [edi]
jmp 0x1003443f
lea ecx, [esi + 0x10]
lea eax, [esi + 0x28]
push eax
push ebp
call fcn.10032ad0
test eax, eax
je 0x10034541
lea ecx, [esp + 0x28]
push ecx
call fcn.100614b0
mov byte [esp + 0x270], 1
test edi, edi
jne 0x10034520
call fcn.100759ec
cmp esi, dword [edi + 0x18]
jne 0x1003449a
call fcn.100759ec
lea edx, [esp + 0x28]
push edx
add esi, 0x4c
push esi
call fcn.1004b200
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
sar eax, 4
add esp, 8
test eax, eax
jbe 0x1003452f
xor edi, edi
test eax, eax
jbe 0x1003452f
mov ebx, dword [esp + 0x24]
xor esi, esi
add ebx, 0x54
cmp edi, eax
jb 0x100344d8
call fcn.100759ec
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + ecx + 8]
sub edx, ecx
sar edx, 4
mov dword [ebx], eax
cmp edi, edx
jb 0x100344f4
call fcn.100759ec
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + ecx + 8]
mov eax, dword [esp + 0x20]
add dword [eax], edx
mov edx, dword [esi + ecx + 0xc]
adc dword [eax + 4], edx
cmp esi, 0x20
jae 0x10034527
mov eax, dword [esp + 0x38]
sub eax, ecx
inc edi
sar eax, 4
add ebx, 4
add esi, 0x10
cmp edi, eax
jb 0x100344d8
jmp 0x1003452f
mov edi, dword [edi]
jmp 0x10034490
mov dword [esp + 0x14], 1
mov byte [esp + 0x270], 0
lea eax, [esp + 0x28]
push eax
call fcn.100376e0
mov dword [esp + 0x270], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x10034560
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100755e2
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], dx
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.100755ed
add esp, 0x260
ret 8