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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100847e8
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.10056280
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b460
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
cmp dword [ebp - 0x594], 0
jne 0x1002b505
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b4e0
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002c7bb
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.10009fa0
call fcn.10022a10
lea eax, [ebp - 0x598]
push eax
push 1
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10009fa0
call fcn.10022a10
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b5d8
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0x14
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b657
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
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.10009fa0
call fcn.10023770
lea eax, [ebp - 0x580]
push eax
push 1
sub esp, 0xc
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.10009fa0
call fcn.10023500
lea eax, [ebp - 0x56c]
push eax
push esi
call fcn.1006c5f4
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0x14
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b732
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
mov eax, dword [ebp - 0x558]
add esp, 8
test eax, eax
jne 0x1002b7c4
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b7b8
jmp 0x1002c777
mov edx, edi
mov edi, dword [ebp - 0x594]
push eax
mov ecx, edi
call fcn.1002b030
push 0x101
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.10056280
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.10056280
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b868
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
lea eax, [ebp - 0x53c]
push str.Success
push eax
call fcn.10055510
add esp, 0x10
test eax, eax
jne 0x1002b8ff
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b8f3
jmp 0x1002c777
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.10028010
sub esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.10009fa0
lea eax, [ebp - 0x53c]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.10024640
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b9d0
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1000a060
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1002ba0c
push dword [ebp - 0x580]
push 0
call eax
add esp, 8
push 0x200000
mov dword [ebp - 0x578], 0
call fcn.10065240
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
test edi, edi
jne 0x1002bab5
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba90
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002c7b0
push 0x1009af04
push esi
call fcn.100664f8
add esp, 8
mov dword [ebp - 0x59c], eax
test eax, eax
jne 0x1002bb56
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bb32
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
push edi
call fcn.1006530d
add esp, 0xc
jmp 0x1002c789
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.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
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 0x1002bc40
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
test esi, esi
je 0x1002c24f
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.1006b921
mov edi, eax
lea eax, [ebp - 0x438]
push 0x400
push 0
push eax
mov dword [ebp - 0x5b4], edi
call fcn.10056280
add esp, 0x1c
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bd30
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
test edi, edi
je 0x1002c1cc
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 0x1002bd9f
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 0x1002bd81
mov dword [ebp - 0x574], ecx
cmp byte [ebp - 0x585], 0
jne 0x1002be4d
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.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002be34
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
mov edi, dword [ebp - 0x5b0]
add edi, esi
lea eax, [edi + 4]
mov dword [ebp - 0x584], eax
cmp eax, 0x200000
ja 0x1002bf2f
not dword [ebp - 0x574]
lea eax, [ebp - 0x438]
push 0x400
push 0
push eax
mov byte [ebp - 0x56d], 1
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bee2
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
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 0x1002bf35
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.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bfb0
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
test esi, esi
je 0x1002c162
mov esi, dword [ebp - 0x5a4]
mov edi, dword [ebp - 0x58c]
cmp edi, esi
jne 0x1002c14b
cmp byte [ebp - 0x56d], 0
jne 0x1002c25d
not dword [ebp - 0x574]
lea eax, [ebp - 0x438]
push 0x400
push 0
push eax
mov byte [ebp - 0x56d], 1
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
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 0x1002c070
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
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 0x1002c151
push 0x400
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c127
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
mov edi, dword [ebp - 0x58c]
add esp, 8
jmp 0x1002c263
mov edi, dword [ebp - 0x590]
cmp dword [ebp - 0x58c], esi
jb 0x1002bc61
jmp 0x1002c24f
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c1c3
jmp 0x1002c237
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c230
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
mov esi, dword [ebp - 0x5a4]
add esp, 8
mov edi, dword [ebp - 0x58c]
cmp edi, esi
jne 0x1002c525
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x101
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.10056280
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.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c2f8
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
lea eax, [ebp - 0x53c]
push str.crc_fail
push eax
call fcn.10055510
add esp, 0x10
test eax, eax
je 0x1002c3e4
mov edi, dword [ebp - 0x5a0]
inc edi
mov dword [ebp - 0x5a0], edi
cmp edi, 6
jge 0x1002c5ab
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
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 0x1002c3b0
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
push 0
push dword [ebp - 0x578]
push dword [ebp - 0x59c]
call fcn.1006bcfe
mov eax, dword [ebp - 0x578]
add esp, 0x14
jmp 0x1002c424
lea eax, [ebp - 0x53c]
push str.Success
push eax
call fcn.10055510
add esp, 8
test eax, eax
je 0x1002c5ab
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 0x1002c478
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.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c4e7
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
mov eax, dword [ebp - 0x558]
add esp, 8
cmp dword [ebp - 0x578], eax
jae 0x1002c5b1
mov ecx, dword [ebp - 0x5a8]
mov esi, eax
mov edi, dword [ebp - 0x590]
jmp 0x1002bba0
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c590
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
jmp 0x1002c5b1
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x59c]
call fcn.1006679b
push dword [ebp - 0x590]
call fcn.1006530d
push 0x101
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.10056280
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.10055510
add esp, 8
test eax, eax
je 0x1002c68c
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c680
jmp 0x1002c777
cmp dword [ebp - 0x5a0], 0
je 0x1002c701
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c6f8
jmp 0x1002c777
mov eax, dword [ebp - 0x558]
cmp dword [ebp - 0x578], eax
je 0x1002c7a9
push 0x400
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.10056280
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040e60
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.10008e20
lea ecx, [ebp - 0x438]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002c770
sub ecx, edx
lea eax, [ebp - 0x438]
push ecx
push eax
call fcn.10040fb0
add esp, 8
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1002c7a0
push dword [ebp - 0x580]
push 0xffffffffffffffff
call eax
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002c7b0
mov byte [ebp - 0x56d], 1
lea ecx, [ebp - 0x5c0]
call fcn.1000a060
lea ecx, [ebp + 0xc]
call fcn.1000a060
lea ecx, [ebp + 0x18]
call fcn.1000a060
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.10052bc3
mov esp, ebp
pop ebp
ret 0x1c