Function at 0x42dc10
Capabilities:
Copy file
Create process on windows
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x462700]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x2a8]
call fcn.00401200
push 0x463e18
lea ecx, [ebp - 0x2a8]
call fcn.004014bc
lea eax, [esi + 0xa4]
push eax
add esi, 0x88
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0040142e
xor ebx, ebx
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2b0], ebx
call fcn.0042f1d0
mov ecx, eax
call fcn.0042e100
test al, al
jne 0x42dcb6
mov esi, dword [ebp - 0x2b8]
cmp esi, ebx
je 0x42df94
mov edi, dword [ebp - 0x2b4]
cmp esi, edi
je 0x42df8b
lea esp, [esp]
mov ecx, esi
call fcn.00404202
add esi, 0x84
cmp esi, edi
jne 0x42dca0
jmp 0x42df85
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.0042f1d0
mov ecx, eax
call fcn.0042f040
mov esi, dword [ebp - 0x2b8]
cmp esi, dword [ebp - 0x2b4]
je 0x42df55
jmp 0x42dce0
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0040129c
add esi, 0x84
cmp esi, dword [ebp - 0x2b4]
jne 0x42dce0
push 0xe
xor edx, edx
mov edi, 7
push str.B5TLoader.exe
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x250], ebx
mov word [ebp - 0x260], dx
call fcn.00401e15
lea eax, [ebp - 0x244]
push eax
call fcn.00411f70
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x244]
call fcn.0040181f
push 0x206
lea eax, [ebp - 0x20a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x20c], dx
call fcn.004317b0
push 0x104
lea ecx, [ebp - 0x20c]
push ebx
push ecx
call fcn.004317b0
add esp, 0x18
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42ddb0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00401e15
mov ecx, dword [ebp - 0x228]
mov esi, 8
cmp dword [ebp - 0x214], esi
jae 0x42ddeb
lea ecx, [ebp - 0x228]
mov eax, dword [ebp - 0x218]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x42de4c
dec eax
push eax
push ebx
lea eax, [ebp - 0x228]
xor edx, edx
push eax
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x26c], ebx
mov word [ebp - 0x27c], dx
call fcn.004021db
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00401651
cmp dword [ebp - 0x268], esi
jb 0x42de4c
mov edx, dword [ebp - 0x27c]
push edx
call fcn.00430677
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040181f
mov ecx, dword [ebp - 0x228]
cmp dword [ebp - 0x214], esi
jae 0x42de75
lea ecx, [ebp - 0x228]
mov eax, dword [ebp - 0x244]
cmp dword [ebp - 0x230], esi
jae 0x42de89
lea eax, [ebp - 0x244]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x298]
cmp dword [ebp - 0x284], esi
jae 0x42dea6
lea ecx, [ebp - 0x298]
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x214], esi
jae 0x42deba
lea eax, [ebp - 0x228]
push 1
push ebx
push ecx
push eax
push 0x4567d0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x42dedb
push str.DownLoadItem::DownloadThirdPack_ShellExecute_failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.DownLoadItem::DownloadThirdPack_ShellExecute_success_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x214], esi
jb 0x42defd
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00430677
add esp, 4
xor edx, edx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], dx
cmp dword [ebp - 0x230], esi
jb 0x42df29
mov eax, dword [ebp - 0x244]
push eax
call fcn.00430677
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x234], ebx
mov word [ebp - 0x244], cx
cmp dword [ebp - 0x24c], esi
jb 0x42df55
mov edx, dword [ebp - 0x260]
push edx
call fcn.00430677
add esp, 4
push str.DownLoadItem::DownloadThirdPack_End_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [ebp - 0x2b8]
cmp esi, ebx
je 0x42df94
mov edi, dword [ebp - 0x2b4]
cmp esi, edi
je 0x42df8b
mov ecx, esi
call fcn.00404202
add esi, 0x84
cmp esi, edi
jne 0x42df74
mov esi, dword [ebp - 0x2b8]
push esi
call fcn.00430677
add esp, 4
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2b0], ebx
call fcn.00401236
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004313d1
mov esp, ebp
pop ebp
ret