Function at 0x43ac1b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d131a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c4
mov dword [ebp - 0x8c4], ecx
mov dword [ebp - 0x1c], 0
call sub.CRCommon.dll_GetDownloadCenter
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x8c4]
cmp dword [eax + 0x32], 0
je 0x43ac77
mov ecx, dword [ebp - 0x8c4]
mov edx, dword [ecx + 0x32]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x8c4]
mov dword [eax + 0x32], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x8c4]
add edx, 0x32
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x8c4]
add ecx, 8
call fcn.00430bb0
push eax
call fcn.00459314
add esp, 0x10
test eax, eax
jne 0x43acab
xor eax, eax
jmp 0x43b022
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004390bd
test eax, eax
jne 0x43ad0a
lea ecx, [ebp - 0x28]
call fcn.00402dc0
mov dword [ebp - 4], 0
push 0x115
lea ecx, [ebp - 0x28]
call fcn.004a7fee
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x8c4]
call fcn.0043b205
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a6f4b
mov eax, dword [ebp - 0x8b0]
jmp 0x43b022
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004390ea
test eax, eax
jne 0x43ad21
xor eax, eax
jmp 0x43b022
lea ecx, [ebp - 0x18]
call fcn.00402dc0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x8c4]
add ecx, 0x32
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00439137
test eax, eax
jne 0x43ad7a
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004a6f4b
mov eax, dword [ebp - 0x8b4]
jmp 0x43b022
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x10], 0
je 0x43b004
lea ecx, [ebp - 0x18]
call fcn.00430bb0
push eax
push 1
call fcn.00445b39
add esp, 8
mov eax, dword [ebp - 0x8c4]
add eax, 0x1c
push eax
push 0x503934
lea ecx, [ebp - 0x8b8]
push ecx
call fcn.004a7254
mov dword [ebp - 0x8c8], eax
mov edx, dword [ebp - 0x8c8]
mov dword [ebp - 0x8cc], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8cc]
call fcn.00430bb0
push eax
push 0
call fcn.00445b39
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8b8]
call fcn.004a6f4b
lea eax, [ebp - 0x438]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x230]
push ecx
push 0
push 0x503940
lea edx, [ebp - 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x18]
call fcn.00430bb0
push eax
mov ecx, dword [ebp - 0x8c4]
call fcn.0043ab91
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x43af27
call fcn.00412350
mov dword [ebp - 0x8d0], eax
mov ecx, dword [ebp - 0x8d0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8d0]
call dword [edx + 0x74]
push eax
lea ecx, [ebp - 0x498]
call fcn.00456580
mov byte [ebp - 4], 3
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x49c]
call fcn.004a6fb9
mov byte [ebp - 4], 4
mov dword [ebp - 0x498], 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x494], ecx
mov edx, dword [ebp - 0x8c4]
mov eax, dword [edx + 0x32]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x484], ecx
lea ecx, [ebp - 0x49c]
call fcn.00402de0
push eax
lea ecx, [ebp - 0x49c]
call fcn.004a737b
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x498]
call fcn.0045667e
push 0xffffffffffffffff
lea ecx, [ebp - 0x49c]
call fcn.004a73ca
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x43af09
push str.Download_is_successful
push 0
call fcn.00445b39
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x49c]
call fcn.004a6f4b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x498]
call fcn.00456673
cmp dword [ebp - 0x20], 0
jne 0x43afd0
push 0x400
push 0
lea eax, [ebp - 0x8ac]
push eax
call fcn.00490070
add esp, 0xc
lea ecx, [ebp - 0x4ac]
call fcn.004a8111
mov byte [ebp - 4], 5
push 0
push 0x40
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x4ac]
call fcn.004a82c3
test eax, eax
je 0x43afc1
push 0x400
lea edx, [ebp - 0x8ac]
push edx
lea ecx, [ebp - 0x4ac]
call fcn.004a83e0
push str.Error_Voucher_Begin
push 1
call fcn.00445b39
add esp, 8
lea eax, [ebp - 0x8ac]
push eax
push 1
call fcn.00445b39
add esp, 8
push str.Error_Voucher_End
push 1
call fcn.00445b39
add esp, 8
lea ecx, [ebp - 0x4ac]
call fcn.004a84de
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4ac]
call fcn.004a8206
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x8bc]
call fcn.004a6fb9
mov byte [ebp - 4], 6
lea edx, [ebp - 0x8bc]
push edx
call fcn.0044534d
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8bc]
call fcn.004a6f4b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x8c0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004a6f4b
mov eax, dword [ebp - 0x8c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret