Function at 0x1002b570
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [0x100a94c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x594], eax
push 0x400
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x5a8], 0x100000
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
sar eax, 3
imul eax, eax, 0xba2e8ba3
push eax
push 0x2f
push str.FileTransferCmd::execute
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call esi
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__execute_for_inArgs.size___d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b630
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
cmp dword [ebp - 0x594], 0
jne 0x1002b6d5
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
push 0x31
push str.FileTransferCmd::execute
call edi
push eax
call esi
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__execute_with_pConut_with_null__return_fail____n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b6b0
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002c98b
mov dword [ebp - 0x5c0], 0
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x5b8], 0
lea eax, [ebp - 0x59c]
mov byte [ebp - 4], 2
push eax
push 0
sub esp, 0xc
mov dword [ebp - 0x59c], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0x598], 0
mov ecx, esp
push eax
call fcn.10009f80
call fcn.10022be0
lea eax, [ebp - 0x598]
push eax
push 1
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10009f80
call fcn.10022be0
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
mov esi, dword [ebp - 0x59c]
push esi
push 0x3a
push str.FileTransferCmd::execute
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_strFileName__S_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b7a8
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0x14
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
mov edi, dword [ebp - 0x598]
push edi
push 0x3b
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_dstFileName__s_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b827
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
mov dword [ebp - 0x57c], 0
lea eax, [ebp - 0x57c]
mov dword [ebp - 0x580], 0
push eax
push 0
sub esp, 0xc
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.10009f80
call fcn.10023940
lea eax, [ebp - 0x580]
push eax
push 1
sub esp, 0xc
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.10009f80
call fcn.100236d0
lea eax, [ebp - 0x56c]
push eax
push esi
call fcn.1006c7a4
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0x14
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
mov eax, dword [ebp - 0x558]
push eax
push 0x43
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_file_size__d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b902
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
mov eax, dword [ebp - 0x558]
add esp, 8
test eax, eax
jne 0x1002b994
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
push 0
push 0x45
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__FileTransferCmd_fail_file_size___d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b988
jmp 0x1002c947
mov edx, edi
mov edi, dword [ebp - 0x594]
push eax
mov ecx, edi
call fcn.1002b200
push 0x101
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.10056430
mov eax, dword [edi]
lea ecx, [ebp - 0x53c]
add esp, 0x10
push 0x100
push ecx
mov ecx, edi
call dword [eax + 0x10]
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [ebp - 0x53c]
push eax
push 0x50
push str.FileTransferCmd::execute
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__at_last__read_result_is:_n_s_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba38
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
lea eax, [ebp - 0x53c]
push str.Success
push eax
call fcn.100556c0
add esp, 0x10
test eax, eax
jne 0x1002bacf
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10041020
push 0x52
push str.FileTransferCmd::execute
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__cmd_result_FAIL_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bac3
jmp 0x1002c947
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5a8]
mov dword [ebp - 0x614], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x618]
mov dword [ebp - 0x618], 4
push eax
push 0
mov dword [ebp - 0x5e0], 0
call fcn.100281e0
sub esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.10009f80
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.10024810
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push dword [ebp - 0x5a8]
push 0x5d
push str.FileTransferCmd::execute
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_groupSize__d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bba0
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1000a040
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1002bbdc
push dword [ebp - 0x580]
push 0
call eax
add esp, 8
push 0x200000
mov dword [ebp - 0x578], 0
call fcn.100653f0
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
test edi, edi
jne 0x1002bc85
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push 0x67
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__buff_is_null_ptr_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bc60
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002c980
push 0x1009af04
push esi
call fcn.100666a8
add esp, 8
mov dword [ebp - 0x59c], eax
test eax, eax
jne 0x1002bd26
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push 0x6d
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__open_file_fail_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bd02
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
push edi
call fcn.100654bd
add esp, 0xc
jmp 0x1002c959
mov esi, dword [ebp - 0x558]
xor edx, edx
mov ecx, dword [ebp - 0x5a8]
mov eax, esi
div ecx
mov dword [ebp - 0x598], 0
neg edx
mov dword [ebp - 0x5a0], 0
sbb eax, eax
xor edx, edx
neg eax
mov dword [ebp - 0x5ac], eax
mov eax, esi
div ecx
add dword [ebp - 0x5ac], eax
nop dword [eax]
nop dword [eax + eax]
sub esi, dword [ebp - 0x578]
xor al, al
mov byte [ebp - 0x56e], al
cmp ecx, esi
mov byte [ebp - 0x56d], al
mov eax, 0xffffffff
push 0x400
mov dword [ebp - 0x574], eax
cmovb esi, ecx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x58c], 0
push 0
push eax
mov dword [ebp - 0x5a4], esi
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push esi
push 0x88
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__tempFragSize___d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002be10
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
test esi, esi
je 0x1002c41f
mov dl, byte [ebp - 0x56e]
push dword [ebp - 0x59c]
mov cl, dl
movzx eax, dl
test dl, dl
mov byte [ebp - 0x585], cl
mov edx, 1
cmove eax, edx
mov edx, 4
mov byte [ebp - 0x56e], al
xor eax, eax
test cl, cl
cmovne edx, eax
sub esi, dword [ebp - 0x58c]
mov eax, 0x200000
mov dword [ebp - 0x5b0], edx
sub eax, edx
cmp eax, esi
lea ecx, [edx + edi]
cmovb esi, eax
mov dword [ebp - 0x584], ecx
push esi
push 1
push ecx
call fcn.1006bad1
mov edi, eax
lea eax, [ebp - 0x438]
push 0x400
push 0
push eax
mov dword [ebp - 0x5b4], edi
call fcn.10056430
add esp, 0x1c
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push 0x97
push str.FileTransferCmd::execute
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__readFileSize___d_preReadFileSize___d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bf00
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
test edi, edi
je 0x1002c39c
add dword [ebp - 0x58c], edi
mov ecx, 0x100
mov esi, 0x1009f0e0
lea edi, [ebp - 0x438]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x5b4]
xor edx, edx
test esi, esi
jle 0x1002bf6f
mov ecx, dword [ebp - 0x574]
mov edi, dword [ebp - 0x584]
movsx eax, byte [edx + edi]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [ebp + eax*4 - 0x438]
cmp edx, esi
jl 0x1002bf51
mov dword [ebp - 0x574], ecx
cmp byte [ebp - 0x585], 0
jne 0x1002c01d
mov ecx, dword [ebp - 0x590]
mov edi, dword [ebp - 0x5a4]
mov eax, edi
push 0x400
push 0
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
shr eax, 8
mov byte [ecx + 2], al
shr eax, 8
mov byte [ecx + 3], al
lea eax, [ebp - 0x438]
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push edi
push 0xa4
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__fill_len__d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c004
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
mov edi, dword [ebp - 0x5b0]
add edi, esi
lea eax, [edi + 4]
mov dword [ebp - 0x584], eax
cmp eax, 0x200000
ja 0x1002c0ff
not dword [ebp - 0x574]
lea eax, [ebp - 0x438]
push 0x400
push 0
push eax
mov byte [ebp - 0x56d], 1
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
mov eax, dword [ebp - 0x574]
push eax
push 0xab
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__fill_crc_0x_08x_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c0b2
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
mov ecx, dword [ebp - 0x5b0]
add esp, 8
mov edx, dword [ebp - 0x590]
add ecx, edx
mov eax, dword [ebp - 0x574]
mov edi, dword [ebp - 0x584]
mov byte [ecx + esi], al
shr eax, 8
mov byte [ecx + esi + 1], al
shr eax, 8
mov byte [ecx + esi + 2], al
shr eax, 8
mov byte [ecx + esi + 3], al
jmp 0x1002c105
mov edx, dword [ebp - 0x590]
mov ecx, dword [ebp - 0x594]
push edi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push 0x400
mov esi, eax
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push 0xb1
push str.FileTransferCmd::execute
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__sendedLen___d_preSendSize___d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c180
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
test esi, esi
je 0x1002c332
mov esi, dword [ebp - 0x5a4]
mov edi, dword [ebp - 0x58c]
cmp edi, esi
jne 0x1002c31b
cmp byte [ebp - 0x56d], 0
jne 0x1002c42d
not dword [ebp - 0x574]
lea eax, [ebp - 0x438]
push 0x400
push 0
push eax
mov byte [ebp - 0x56d], 1
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
mov eax, dword [ebp - 0x574]
push eax
push 0xbd
push str.FileTransferCmd::execute
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__fill_crc_0x_08x_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c240
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
mov edi, dword [ebp - 0x590]
add esp, 8
mov eax, dword [ebp - 0x574]
mov ecx, dword [ebp - 0x594]
mov byte [edi], al
shr eax, 8
mov byte [edi + 1], al
shr eax, 8
mov byte [edi + 2], al
shr eax, 8
mov byte [edi + 3], al
mov eax, dword [ecx]
push 4
push edi
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x1002c321
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc2
push str.FileTransferCmd::execute
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__send_buff_fail_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c2f7
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
mov edi, dword [ebp - 0x58c]
add esp, 8
jmp 0x1002c433
mov edi, dword [ebp - 0x590]
cmp dword [ebp - 0x58c], esi
jb 0x1002be31
jmp 0x1002c41f
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push 0xb3
push str.FileTransferCmd::execute
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__send_buff_fail_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c393
jmp 0x1002c407
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push 0x99
push str.FileTransferCmd::execute
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__read_file_fail_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c400
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
mov esi, dword [ebp - 0x5a4]
add esp, 8
mov edi, dword [ebp - 0x58c]
cmp edi, esi
jne 0x1002c6f5
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x101
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.10056430
mov ecx, dword [ebp - 0x594]
lea edx, [ebp - 0x53c]
add esp, 0xc
mov eax, dword [ecx]
push 0x100
push edx
call dword [eax + 0x10]
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
lea eax, [ebp - 0x53c]
push eax
push 0xcb
push str.FileTransferCmd::execute
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__read_result_is:_n_s_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c4c8
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
lea eax, [ebp - 0x53c]
push str.crc_fail
push eax
call fcn.100556c0
add esp, 0x10
test eax, eax
je 0x1002c5b4
mov edi, dword [ebp - 0x5a0]
inc edi
mov dword [ebp - 0x5a0], edi
cmp edi, 6
jge 0x1002c77b
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push dword [ebp - 0x578]
push edi
push 0xd2
push str.FileTransferCmd::execute
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__crc_fail_retransCount___d__sendFileSize___d_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x24
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c580
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
push 0
push dword [ebp - 0x578]
push dword [ebp - 0x59c]
call fcn.1006beae
mov eax, dword [ebp - 0x578]
add esp, 0x14
jmp 0x1002c5f4
lea eax, [ebp - 0x53c]
push str.Success
push eax
call fcn.100556c0
add esp, 8
test eax, eax
je 0x1002c77b
mov eax, dword [ebp - 0x578]
add eax, edi
mov dword [ebp - 0x5a0], 0
inc dword [ebp - 0x598]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x578], eax
mov ecx, dword [ebp - 0x57c]
test ecx, ecx
je 0x1002c648
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
push dword [ebp - 0x580]
addsd xmm1, qword [eax*8 + 0x1009f4e0]
mov eax, dword [ebp - 0x558]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1009f4e0]
divsd xmm1, xmm0
mulsd xmm1, qword [0x1009f0b8]
cvttsd2si eax, xmm1
push eax
call ecx
add esp, 8
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push dword [ebp - 0x5ac]
push dword [ebp - 0x598]
push dword [ebp - 0x578]
push 0xde
push str.FileTransferCmd::execute
call esi
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___INFO____s:_d__sendFileSize___d___d__d__n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c6b7
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
mov eax, dword [ebp - 0x558]
add esp, 8
cmp dword [ebp - 0x578], eax
jae 0x1002c781
mov ecx, dword [ebp - 0x5a8]
mov esi, eax
mov edi, dword [ebp - 0x590]
jmp 0x1002bd70
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xe1
push str.FileTransferCmd::execute
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__send_file_fail_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c760
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
jmp 0x1002c781
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x59c]
call fcn.1006694b
push dword [ebp - 0x590]
call fcn.100654bd
push 0x101
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.10056430
mov ecx, dword [ebp - 0x594]
lea edx, [ebp - 0x53c]
add esp, 0x14
mov eax, dword [ecx]
push 0x100
push edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x594]
push 0
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [ebp - 0x53c]
push str.fail
push eax
call fcn.100556c0
add esp, 8
test eax, eax
je 0x1002c85c
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
lea eax, [ebp - 0x53c]
push eax
push 0xef
push str.FileTransferCmd::execute
call esi
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d___s_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c850
jmp 0x1002c947
cmp dword [ebp - 0x5a0], 0
je 0x1002c8d1
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push dword [ebp - 0x5a0]
push 0xf5
push str.FileTransferCmd::execute
call esi
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__retransCount__d___0_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c8c8
jmp 0x1002c947
mov eax, dword [ebp - 0x558]
cmp dword [ebp - 0x578], eax
je 0x1002c979
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056430
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10041020
push 0xf9
push str.FileTransferCmd::execute
call esi
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._s_t__d__d___ERROR____s:_d__sendFileSize___fileSize_n
push eax
call fcn.10008e00
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c940
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10041170
add esp, 8
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1002c970
push dword [ebp - 0x580]
push 0xffffffffffffffff
call eax
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002c980
mov byte [ebp - 0x56d], 1
lea ecx, [ebp - 0x5c0]
call fcn.1000a040
lea ecx, [ebp + 0xc]
call fcn.1000a040
lea ecx, [ebp + 0x18]
call fcn.1000a040
mov al, byte [ebp - 0x56d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052d76
mov esp, ebp
pop ebp
ret 0x1c