Function at 0x1003302e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cf41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x124
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10033620
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xf0], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x100335c9
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x88], 0x37d2
mov dword [ebp - 0x98], 0x10008968
cmp dword [ebp - 0x88], 0x3a41
jle 0x10033186
and dword [ebp - 0x38], 0
jmp 0x10033101
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5650
jge 0x10033175
and dword [ebp - 0x2c], 0
jmp 0x10033117
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x439c
jge 0x10033173
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
shl eax, cl
cdq
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x134]
call fcn.1000a940
pop ecx
pop ecx
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
call fcn.1002375f
push eax
call fcn.100551b6
pop ecx
lea ecx, [ebp - 0x134]
call fcn.10023755
jmp 0x10033110
jmp 0x100330fa
push 0
push 0x25f9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor eax, eax
mov word [ebp - 0x42], ax
lea eax, [ebp - 0x42]
push eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0xc8]
call fcn.10038bbb
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x88], 0x379b
jge 0x100331c7
push dword [ebp - 0x98]
call fcn.100551b6
pop ecx
jmp 0x100331e3
and dword [ebp - 4], 0
jmp 0x100331ed
push 1
lea ecx, [ebp - 0x94]
call fcn.10023894
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], 0xa4d63a88
mov dword [ebp - 0xd4], 3
mov dword [ebp - 0x100], 0xa31e468a
mov dword [ebp - 0x1c], 0
jmp 0x10033229
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1003323c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x34], 0xbeccce1e
jmp 0x10033222
lea eax, [ebp - 0x94]
push eax
push 0x59dc
lea eax, [ebp - 0x1c]
push eax
push 0x3051
push 1
push 0
push 0x5657
call fcn.100339db
add esp, 0x1c
push 0
lea ecx, [ebp - 0x94]
call fcn.10023932
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp eax, dword [ebp - 0x3c]
jle 0x1003328f
mov dword [ebp - 0x84], 1
jmp 0x10033296
and dword [ebp - 0x84], 0
push 0
lea ecx, [ebp - 0x94]
call fcn.10023932
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0x104], eax
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x34]
push 4
pop eax
imul eax, eax, 0
mov edi, dword [ebp - 0x84]
sub edi, dword [ebp + eax - 0x34]
push 0
lea ecx, [ebp - 0x94]
call fcn.10023932
imul edi, dword [eax]
cmp esi, edi
jg 0x100332ed
mov dword [ebp - 0xb8], 1
jmp 0x100332f4
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x108], eax
push 0
lea ecx, [ebp - 0x94]
call fcn.10023932
mov eax, dword [eax]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.10023916
and dword [ebp - 0x30], 0
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0xc8]
call fcn.10038d28
dec eax
mov dword [ebp - 0xdc], eax
jmp 0x10033344
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xdc]
jae 0x10033592
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc8]
call fcn.10038d30
mov dword [ebp - 0xd8], eax
and dword [ebp - 0x24], 0
jmp 0x1003337b
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x24], 2
jae 0x1003358d
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x40], 0xaaf0a9b2
mov dword [ebp - 0x48], 0xa9bca7b5
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x78], 0xee491ba6
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x14], 0
jmp 0x100333c6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100333dc
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xfc], 1
jmp 0x100333bf
mov dword [ebp - 0x14], 0
jmp 0x100333ec
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10033402
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x11c], 0xfffffffb
jmp 0x100333e5
mov dword [ebp - 0x18], 0
jmp 0x10033412
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10033428
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xfc], 0xb7c7
jmp 0x1003340b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x11c], ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x78]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xd0]
je 0x1003347f
mov dword [ebp - 0x80], 1
jmp 0x10033483
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x50], 0
jne 0x10033495
cmp dword [ebp - 0x50], 0
jne 0x10033495
and dword [ebp - 0x68], 0
jmp 0x1003349c
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x48]
je 0x100334b3
mov dword [ebp - 0xf4], 1
jmp 0x100334ba
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x10c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ebp + eax - 0xfc], ecx
jne 0x100334e4
mov dword [ebp - 0x58], 1
jmp 0x100334e8
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x58]
jle 0x100334f9
mov dword [ebp - 0x5c], 1
jmp 0x100334fd
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x5051dd2e
jle 0x1003350f
mov dword [ebp - 0x64], 1
jmp 0x10033513
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x18]
cmp eax, 0xca8c
je 0x10033529
mov dword [ebp - 0x6c], 1
jmp 0x1003352d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x6c], eax
je 0x1003353e
mov dword [ebp - 0x74], 1
jmp 0x10033542
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
sub eax, 0x1f4bf8b3
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
xor edx, edx
div dword [0x10614ddc]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1002eb83
mov ecx, dword [ebp - 0xd8]
add ecx, dword [ebp - 0x24]
mov byte [ecx], al
jmp 0x1003336d
jmp 0x1003333d
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.10038c5f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.10038c5a
jmp 0x10033643
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x100335f4
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 1
jg 0x1003361e
push 1
push 0x51e4
push 0x35f8
push 0x5732
push 0
push 0x6448
call fcn.10030b6c
add esp, 0x18
jmp 0x100335e9
jmp 0x10033643
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
push 0
push 0x7023
push 0x1bf9
push dword [ebp - 0xb4]
call fcn.10030e32
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret