Function at 0x40fbd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536a08
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x58aae0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xec]
mov edi, ecx
push eax
mov dword [ebp - 0xfc], edi
call fcn.0040f820
lea ecx, [edi + 0x1b4]
push eax
mov dword [ebp - 4], 0
call fcn.00404520
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0xf0]
call fcn.004079d0
push str.version.txt
push eax
lea ecx, [ebp - 0xec]
mov ebx, 1
push ecx
mov dword [ebp - 4], ebx
call fcn.004087e0
add esp, 0xc
lea ecx, [edi + 0x1b8]
push eax
mov byte [ebp - 4], 2
call fcn.00404520
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xec]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fca8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xf0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fccc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0xec]
call fcn.004079d0
push 0x56546c
push eax
lea ecx, [ebp - 0xf0]
mov ebx, 3
push ecx
mov dword [ebp - 4], ebx
call fcn.004087e0
add esp, 0xc
lea ecx, [edi + 0x1bc]
push eax
mov byte [ebp - 4], 4
call fcn.00404520
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xf0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fd28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40fd4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov esi, esp
mov dword [ebp - 0xec], esp
push 0x21
call fcn.0040d140
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0x565328
mov dword [ebp - 4], 5
call fcn.00403fb0
lea ecx, [ebp - 0xf0]
or esi, 0xffffffff
push ecx
mov dword [ebp - 4], esi
call fcn.0040fa30
add esp, 0xc
lea ecx, [edi + 0x1c8]
push eax
mov dword [ebp - 4], 6
call fcn.00404520
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xf0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x40fdbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3fa
mov ecx, edi
call fcn.0041fb48
push 0x402
mov ecx, edi
mov dword [edi + 0xec], eax
call fcn.0041fb48
push 0x3fb
mov ecx, edi
mov dword [edi + 0xf0], eax
call fcn.0041fb48
push 0x403
mov ecx, edi
mov dword [edi + 0xf4], eax
call fcn.0041fb48
push 0x3fc
mov ecx, edi
mov dword [edi + 0xf8], eax
call fcn.0041fb48
push 0x404
mov ecx, edi
mov dword [edi + 0xfc], eax
call fcn.0041fb48
mov dword [edi + 0x100], eax
mov eax, dword [0x593b74]
cmp eax, 2
jne 0x40fec8
mov ebx, dword [sym.imp.USER32.dll_SetRect]
push 0x77
push 0xa1
push 0x52
lea eax, [edi + 0xa4]
push 0x44
push eax
call ebx
push 0x77
push 0x10a
push 0x52
lea eax, [edi + 0xb4]
push 0xad
push eax
call ebx
push 0x77
push 0x225
push 0x52
lea eax, [edi + 0xc4]
push 0x1c8
push eax
call ebx
push 0x77
push 0x291
push 0x52
lea eax, [edi + 0xd4]
push 0x234
push eax
call ebx
push 0x76
push 0x2e0
push 0x67
push 0x2d0
lea esi, [edi + 0x104]
push esi
call ebx
push 0x76
push 0x2f6
push 0x67
lea ebx, [edi + 0x114]
push 0x2e6
push ebx
jmp 0x4100af
lea esi, [edi + 0x104]
cmp eax, ebx
jne 0x40ff67
push 0x4e
push 0x2ab
push 0x2f
push 0x293
push esi
call dword [sym.imp.USER32.dll_SetRect]
push 0x4e
push 0x2cb
push 0x2e
push 0x2ad
lea ebx, [edi + 0x114]
push ebx
call dword [sym.imp.USER32.dll_SetRect]
push 0x68
push 0xa1
push 0x43
lea eax, [edi + 0xa4]
push 0x44
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x68
push 0x10a
push 0x43
lea eax, [edi + 0xb4]
push 0xad
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x68
push 0x225
push 0x43
lea eax, [edi + 0xc4]
push 0x1c8
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x68
push 0x291
push 0x43
push 0x234
jmp 0x4100a8
cmp eax, 6
jne 0x41000d
push 0x71
push 0x2ab
push 0x52
push 0x293
push esi
call dword [sym.imp.USER32.dll_SetRect]
push 0x71
push 0x2cb
push 0x51
push 0x2ad
lea ebx, [edi + 0x114]
push ebx
call dword [sym.imp.USER32.dll_SetRect]
push 0x84
push 0xa1
push 0x5f
lea eax, [edi + 0xa4]
push 0x44
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x84
push 0x10a
push 0x5f
lea eax, [edi + 0xb4]
push 0xad
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x84
push 0x225
push 0x5f
lea eax, [edi + 0xc4]
push 0x1c8
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x84
push 0x291
push 0x5f
push 0x234
jmp 0x4100a8
push 0x76
push 0x2e0
push 0x67
push 0x2d0
push esi
call dword [sym.imp.USER32.dll_SetRect]
push 0x76
push 0x2f6
push 0x67
push 0x2e6
lea ebx, [edi + 0x114]
push ebx
call dword [sym.imp.USER32.dll_SetRect]
push 0x8c
push 0x171
push 0x75
lea eax, [edi + 0xa4]
push 0x12a
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x8c
push 0x1be
push 0x75
lea eax, [edi + 0xb4]
push 0x176
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x8c
push 0x29b
push 0x75
lea eax, [edi + 0xc4]
push 0x253
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x8c
push 0x2e5
push 0x75
push 0x29e
lea eax, [edi + 0xd4]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esi + 8]
sub ecx, edx
push ecx
mov ecx, dword [edi + 0xec]
push eax
push edx
call fcn.0041fd13
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx]
mov ecx, dword [edi + 0xf0]
push 1
sub esi, eax
push esi
mov esi, dword [ebx + 8]
sub esi, edx
push esi
push eax
push edx
call fcn.0041fd13
mov eax, dword [edi + 0xa8]
mov esi, dword [edi + 0xb0]
mov edx, dword [edi + 0xa4]
mov ecx, dword [edi + 0xf4]
push 1
sub esi, eax
push esi
mov esi, dword [edi + 0xac]
sub esi, edx
push esi
push eax
push edx
call fcn.0041fd13
mov eax, dword [edi + 0xb8]
mov esi, dword [edi + 0xc0]
mov edx, dword [edi + 0xb4]
mov ecx, dword [edi + 0xf8]
push 1
sub esi, eax
push esi
mov esi, dword [edi + 0xbc]
sub esi, edx
push esi
push eax
push edx
call fcn.0041fd13
mov eax, dword [edi + 0xc8]
mov esi, dword [edi + 0xd0]
mov edx, dword [edi + 0xc4]
mov ecx, dword [edi + 0xfc]
push 1
sub esi, eax
push esi
mov esi, dword [edi + 0xcc]
sub esi, edx
push esi
push eax
push edx
call fcn.0041fd13
mov eax, dword [edi + 0xd8]
mov esi, dword [edi + 0xe0]
mov edx, dword [edi + 0xd4]
mov ecx, dword [edi + 0x100]
push 1
sub esi, eax
push esi
mov esi, dword [edi + 0xdc]
sub esi, edx
push esi
push eax
push edx
call fcn.0041fd13
call fcn.00417ac0
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadBitmapW]
push 0xa5
push eax
lea ebx, [edi + 0x124]
call esi
push eax
mov ecx, ebx
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xa4
push eax
call esi
push eax
lea ecx, [edi + 0x12c]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xa2
push eax
call esi
push eax
lea ecx, [edi + 0x134]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xa3
push eax
call esi
push eax
lea ecx, [edi + 0x13c]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xd1
push eax
call esi
push eax
lea ecx, [edi + 0x144]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xd0
push eax
call esi
push eax
lea ecx, [edi + 0x14c]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xca
push eax
call esi
push eax
lea ecx, [edi + 0x154]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xc9
push eax
call esi
push eax
lea ecx, [edi + 0x15c]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xcf
push eax
call esi
push eax
lea ecx, [edi + 0x164]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xce
push eax
call esi
push eax
lea ecx, [edi + 0x16c]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xcc
push eax
call esi
push eax
lea ecx, [edi + 0x174]
call fcn.0041427a
call fcn.00417ac0
mov eax, dword [eax + 0xc]
push 0xcb
push eax
call esi
lea esi, [edi + 0x17c]
push eax
mov ecx, esi
call fcn.0041427a
test ebx, ebx
je 0x41030a
mov ebx, dword [ebx + 4]
lea eax, [edi + 0x12c]
mov dword [edi + 0x184], ebx
test eax, eax
je 0x41031d
mov eax, dword [eax + 4]
mov dword [edi + 0x188], eax
lea eax, [edi + 0x134]
test eax, eax
je 0x410330
mov eax, dword [eax + 4]
mov dword [edi + 0x18c], eax
lea eax, [edi + 0x13c]
test eax, eax
je 0x410343
mov eax, dword [eax + 4]
mov dword [edi + 0x190], eax
lea eax, [edi + 0x144]
test eax, eax
je 0x410356
mov eax, dword [eax + 4]
mov dword [edi + 0x194], eax
lea eax, [edi + 0x14c]
test eax, eax
je 0x410369
mov eax, dword [eax + 4]
mov dword [edi + 0x198], eax
lea eax, [edi + 0x154]
test eax, eax
je 0x41037c
mov eax, dword [eax + 4]
mov dword [edi + 0x19c], eax
lea eax, [edi + 0x15c]
test eax, eax
je 0x41038f
mov eax, dword [eax + 4]
mov dword [edi + 0x1a0], eax
lea eax, [edi + 0x164]
test eax, eax
je 0x4103a2
mov eax, dword [eax + 4]
mov dword [edi + 0x1a4], eax
lea eax, [edi + 0x16c]
test eax, eax
je 0x4103b5
mov eax, dword [eax + 4]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x174]
test eax, eax
je 0x4103c8
mov eax, dword [eax + 4]
mov dword [edi + 0x1ac], eax
test esi, esi
je 0x4103d5
mov esi, dword [esi + 4]
mov ecx, dword [edi + 0xec]
push 0
push 0xe
push 0
mov dword [edi + 0x1b0], esi
call fcn.0041fc30
mov eax, dword [edi + 0x184]
mov ecx, dword [edi + 0xec]
mov edx, dword [ecx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x172
push edx
call esi
mov ecx, dword [edi + 0xf0]
push 0
push 0xe
push 0
call fcn.0041fc30
mov eax, dword [edi + 0x18c]
mov ecx, dword [edi + 0xf0]
push eax
mov eax, dword [ecx + 0x20]
push 0
push 0x172
push eax
call esi
mov ecx, dword [edi + 0xf4]
push 0
push 0xe
push 0
call fcn.0041fc30
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0xf4]
mov ecx, dword [ecx + 0x20]
push eax
push 0
push 0x172
push ecx
call esi
mov ecx, dword [edi + 0xf8]
push 0
push 0xe
push 0
call fcn.0041fc30
mov eax, dword [edi + 0x19c]
mov ecx, dword [edi + 0xf8]
mov edx, dword [ecx + 0x20]
push eax
push 0
push 0x172
push edx
call esi
mov ecx, dword [edi + 0xfc]
push 0
push 0xe
push 0
call fcn.0041fc30
mov eax, dword [edi + 0x1a4]
mov ecx, dword [edi + 0xfc]
push eax
mov eax, dword [ecx + 0x20]
push 0
push 0x172
push eax
call esi
mov ecx, dword [edi + 0x100]
push 0
push 0xe
push 0
call fcn.0041fc30
mov eax, dword [edi + 0x1ac]
mov ecx, dword [edi + 0x100]
mov ecx, dword [ecx + 0x20]
push eax
push 0
push 0x172
push ecx
call esi
push 1
push 0xf
push 0x3c
push 0x1b3
push 0x147
push 0x3f7
mov ecx, edi
call fcn.0041fb48
mov ecx, eax
call fcn.0041fd13
push 1
push 0xf
push 0x82
push 0x1b3
push 0x183
push 0x3f8
mov ecx, edi
call fcn.0041fb48
mov ecx, eax
call fcn.0041fd13
push 1
push 0x10
push 0x87
push 0x172
push 0x1cd
push 0x3f4
mov ecx, edi
call fcn.0041fb48
mov ecx, eax
call fcn.0041fd13
push 1
push 0xf
push 0x50
push 0x1c7
push 0x147
push 0x3f6
mov ecx, edi
call fcn.0041fb48
mov ecx, eax
call fcn.0041fd13
push 1
push 0xf
push 0x50
push 0x1c7
push 0x183
push 0x3f9
mov ecx, edi
call fcn.0041fb48
mov ecx, eax
call fcn.0041fd13
mov edx, dword [edi + 0x1d0]
mov edx, dword [edx + 0x68]
or eax, 0xffffffff
lea esi, [edi + 0x1d0]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], eax
push 0
lea eax, [ebp - 0xe8]
push eax
mov ecx, esi
mov dword [ebp - 0xe0], 0x12c
mov dword [ebp - 0xdc], 0x28
call edx
push 1
push 0x32
push 0x1e1
push 0x181
push 0x116
mov ecx, esi
call fcn.0041fd13
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xd6]
push ecx
mov word [ebp - 0xd8], ax
call fcn.00512e90
add esp, 0xc
lea edx, [ebp - 0xd8]
push edx
push 0x64
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0x5652b8
lea ecx, [ebp - 0xf4]
call fcn.00403fb0
push str.ProgressBar.swf
lea eax, [ebp - 0xd8]
push eax
push str._s_s
lea edi, [ebp - 0xf4]
mov dword [ebp - 4], 7
call fcn.00408bb0
mov ecx, dword [ebp - 0xf4]
push ecx
xor ebx, ebx
push ebx
push 0x58c3c0
push ebx
push ebx
push 1
push 0x8e
push esi
call fcn.0041fdbc
mov esi, dword [ebp - 0xfc]
mov eax, dword [esi + 0x2dc]
add esp, 0x2c
mov edx, 0x5652b8
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x4106ab
cmp di, bx
je 0x4106a7
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4106ab
add ecx, 4
add edx, 4
cmp di, bx
jne 0x410685
xor ecx, ecx
jmp 0x4106b0
sbb ecx, ecx
sbb ecx, 0xffffffff
push ebx
cmp ecx, ebx
jne 0x4106e2
lea ecx, [esi + 0x244]
call fcn.0041fd95
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x410791
push ebx
push ebx
push ebx
push eax
push str._bLLLL
push ebx
push ebx
push 1
lea edi, [esi + 0x244]
push 0x68
push edi
call fcn.0041fdbc
add esp, 0x2c
push 1
push 0x168
push 0x1e4
push 0x99
push 0x115
mov ecx, edi
call fcn.0041fd13
mov ecx, edi
call fcn.0041fade
cmp eax, ebx
je 0x410774
mov ecx, dword [eax]
lea edx, [ebp - 0xf8]
push edx
push 0x53af50
push eax
mov eax, dword [ecx]
mov dword [ebp - 0xf8], ebx
call eax
cmp eax, ebx
jl 0x410774
mov edi, dword [ebp - 0xf8]
cmp edi, ebx
je 0x410774
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f8], ebx
add esi, 0x2e0
call fcn.0040b650
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41079d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051209f
mov esp, ebp
pop ebp
ret