Function at 0x1024a4b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x10a8a0c]
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x284], 0xc00000e5
call fcn.01021012
push dword [ebp + 8]
lea ecx, [ebp - 0x244]
call fcn.01023497
xor ebx, ebx
cmp eax, ebx
lea ecx, [ebp - 0x244]
jl 0x1024aa0
push 0x1002a7c
call fcn.010234fb
cmp eax, ebx
jge 0x1024aac
lea ecx, [ebp - 0x244]
mov ebx, eax
call fcn.01021022
jmp 0x1024f43
push esi
push edi
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.010224fe
mov ecx, eax
call fcn.01022366
lea esi, [ebp - 0x29c]
lea edi, [ebp - 0x2dc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2ac]
movsd dword es:[edi], dword [esi]
call fcn.01021027
cmp dword [ebp + 0xc], ebx
jne 0x1024b66
lea eax, [ebp - 0x20c]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryW
test eax, eax
jne 0x1024b54
call fcn.0104c9b5
cmp eax, ebx
lea ecx, [ebp - 0x244]
jl 0x1024b4d
mov dword [ebp - 0x28c], 1
mov dword [ebp - 0x288], ebx
call fcn.01021022
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x290], 0x1002868
call fcn.0102080c
mov ebx, dword [ebp - 0x284]
jmp 0x1024f41
mov ebx, eax
jmp 0x1024f3c
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x20c]
call fcn.0104187a
cmp eax, ebx
jl 0x1024ba7
xor eax, eax
mov dword [ebp - 0x2c4], ebx
lea edi, [ebp - 0x2c0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x2d0], ebx
lea edi, [ebp - 0x2cc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x2c4]
push eax
push 0x2e
push ebx
push ebx
lea eax, [ebp + 0x18]
push eax
push 2
call fcn.01041924
cmp eax, ebx
jge 0x1024bae
mov ebx, eax
jmp 0x1024f36
lea ecx, [ebp - 0x274]
call fcn.01021012
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x274]
call fcn.01023476
cmp eax, ebx
lea ecx, [ebp - 0x274]
jge 0x1024bdc
mov ebx, eax
jmp 0x1024f31
push 0x1002a70
call fcn.010234fb
cmp eax, ebx
jge 0x1024bf1
mov ebx, eax
jmp 0x1024f2b
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.010224fe
mov ecx, eax
call fcn.01022366
lea esi, [ebp - 0x29c]
lea edi, [ebp - 0x28c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2ac]
movsd dword es:[edi], dword [esi]
call fcn.01021027
lea ecx, [ebp - 0x228]
call fcn.01021012
push 0x1002a40
lea ecx, [ebp - 0x228]
call fcn.01023497
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
lea eax, [ebp - 0x28c]
push eax
call fcn.010234d9
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
mov edi, 0x1002a38
push edi
call fcn.010234fb
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
push 0x1002a20
call fcn.010234fb
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
lea eax, [ebp + 0xc]
push eax
call fcn.010234d9
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
push 0x10029e8
call fcn.010234fb
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
lea eax, [ebp + 0x18]
push eax
call fcn.010234d9
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
mov esi, 0x10029e4
push esi
call fcn.010234fb
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
lea eax, [ebp + 0x18]
push eax
call fcn.010234d9
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
push edi
call fcn.010234fb
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
lea eax, [ebp + 0x18]
push eax
call fcn.010234d9
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
push esi
call fcn.010234fb
cmp eax, ebx
lea ecx, [ebp - 0x228]
jl 0x1024d4f
lea eax, [ebp + 0x18]
push eax
call fcn.010234d9
cmp eax, ebx
lea ecx, [ebp - 0x228]
jge 0x1024d56
mov ebx, eax
jmp 0x1024f26
push edi
call fcn.010234fb
cmp eax, ebx
jge 0x1024d67
mov ebx, eax
jmp 0x1024f20
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x248], ebx
call fcn.010224fe
mov edx, dword [eax]
mov esi, dword [edx + 8]
add esi, esi
lea ecx, [eax + 4]
mov dword [ecx], esi
mov dword [eax + 8], esi
mov edx, dword [edx]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0x250]
call fcn.0104233a
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.01021027
cmp esi, ebx
jge 0x1024dc2
mov ebx, esi
jmp 0x1024f15
test byte [0x10abe70], 1
jne 0x1024de9
or dword [0x10abe70], 1
push 0x10a60a9
mov dword [0x10abe68], ebx
mov dword [0x10abe6c], ebx
call fcn.0103f2df
pop ecx
push ebx
mov edx, 0x10abe68
xor ecx, ecx
call fcn.01057c46
cmp eax, ebx
jge 0x1024e01
mov ebx, eax
jmp 0x1024f15
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2dc]
push eax
mov dword [ebp - 0x2b8], 3
mov dword [ebp - 0x2b4], 0x10029d8
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x278], ebx
call fcn.01021edc
cmp eax, ebx
jl 0x1024e7d
lea edx, [ebp - 0x280]
xor ecx, ecx
push edx
push ecx
xor eax, eax
push eax
lea ecx, [ebp - 0x304]
call fcn.010201ab
push dword [0x10abe6c]
lea edx, [ebp - 0x2b8]
push dword [0x10abe68]
lea ecx, [ebp - 0x304]
call fcn.01048844
cmp eax, ebx
jge 0x1024e84
mov ebx, eax
jmp 0x1024f0a
push ebx
push ebx
push ebx
push 0x60
push 2
push 6
push 0x80
push ebx
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x304]
push eax
push dword [0x10abe6c]
mov edx, 0x40100000
push dword [0x10abe68]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
call fcn.010490e1
cmp eax, ebx
jl 0x1024efd
push ebx
push ebx
push ebx
push dword [ebp - 0x250]
lea eax, [ebp - 0x2e4]
push dword [ebp - 0x248]
xor edx, edx
push eax
push ebx
push dword [ebp - 0x254]
xor ecx, ecx
push dword [ebp - 0x258]
call fcn.010480a3
cmp eax, ebx
jge 0x1024eff
mov ebx, eax
lea ecx, [ebp - 0x258]
call fcn.01020905
lea ecx, [ebp - 0x280]
call fcn.0102034d
lea ecx, [ebp - 0x250]
call fcn.0102034d
lea ecx, [ebp - 0x228]
call fcn.01021022
lea ecx, [ebp - 0x274]
call fcn.01021022
lea ecx, [ebp - 0x244]
call fcn.01021022
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
call fcn.0103ec19
leave
ret 0x1c