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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082328
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [0x100abec0]
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 - 0x53c]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x5a8], 0x100000
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__execute_for_inArgs.size___d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ac70
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
cmp dword [ebp - 0x594], 0
jne 0x1002ad15
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
push 0x31
push str.FileTransferCmd::execute
call edi
push eax
call esi
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x53c]
push str._s_t__d__d___ERROR____s:_d__execute_with_pConut_with_null__return_fail____n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002acf0
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002bfcb
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.10009cc0
call fcn.100221b0
lea eax, [ebp - 0x598]
push eax
push 1
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10009cc0
call fcn.100221b0
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_strFileName__S_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ade8
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0x14
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_dstFileName__s_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ae67
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
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.10009cc0
call fcn.10022f10
lea eax, [ebp - 0x580]
push eax
push 1
sub esp, 0xc
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.10009cc0
call fcn.10022ca0
lea eax, [ebp - 0x56c]
push eax
push esi
call fcn.1004fc26
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0x14
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_file_size__d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002af42
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
mov eax, dword [ebp - 0x558]
add esp, 8
test eax, eax
jne 0x1002afd4
push 0x400
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__FileTransferCmd_fail_file_size___d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002afc8
jmp 0x1002bf87
mov edx, edi
mov edi, dword [ebp - 0x594]
push eax
mov ecx, edi
call fcn.1002a7a0
push 0x101
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.100750b0
mov eax, dword [edi]
lea ecx, [ebp - 0x13c]
add esp, 0x10
push 0x100
push ecx
mov ecx, edi
call dword [eax + 0x10]
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea eax, [ebp - 0x13c]
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__at_last__read_result_is:_n_s_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b078
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
lea eax, [ebp - 0x13c]
push str.Success
push eax
call fcn.10074190
add esp, 0x10
test eax, eax
jne 0x1002b10f
push 0x400
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__cmd_result_FAIL_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b103
jmp 0x1002bf87
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.10027730
sub esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.10009cc0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.10023de0
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__FileTransferCmd_groupSize__d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b1e0
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.10009d50
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1002b21c
push dword [ebp - 0x580]
push 0
call eax
add esp, 8
push 0x200000
mov dword [ebp - 0x578], 0
call fcn.10048c9a
mov edi, eax
add esp, 4
mov dword [ebp - 0x590], edi
test edi, edi
jne 0x1002b2c5
push 0x400
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__buff_is_null_ptr_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b2a0
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002bfc0
push 0x1009cdec
push esi
call fcn.10049ebf
add esp, 8
mov dword [ebp - 0x59c], eax
test eax, eax
jne 0x1002b366
push 0x400
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__open_file_fail_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b342
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
push edi
call fcn.10048d63
add esp, 0xc
jmp 0x1002bf99
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 - 0x53c]
mov dword [ebp - 0x58c], 0
push 0
push eax
mov dword [ebp - 0x5a4], esi
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__tempFragSize___d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b450
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
test esi, esi
je 0x1002ba5f
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.1004efce
mov edi, eax
lea eax, [ebp - 0x53c]
push 0x400
push 0
push eax
mov dword [ebp - 0x5b4], edi
call fcn.100750b0
add esp, 0x1c
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__readFileSize___d_preReadFileSize___d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b540
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
test edi, edi
je 0x1002b9dc
add dword [ebp - 0x58c], edi
mov ecx, 0x100
mov esi, 0x100a0fc8
lea edi, [ebp - 0x53c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x5b4]
xor edx, edx
test esi, esi
jle 0x1002b5af
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 - 0x53c]
cmp edx, esi
jl 0x1002b591
mov dword [ebp - 0x574], ecx
cmp byte [ebp - 0x585], 0
jne 0x1002b65d
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 - 0x53c]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__fill_len__d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b644
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
mov edi, dword [ebp - 0x5b0]
add edi, esi
lea eax, [edi + 4]
mov dword [ebp - 0x584], eax
cmp eax, 0x200000
ja 0x1002b73f
not dword [ebp - 0x574]
lea eax, [ebp - 0x53c]
push 0x400
push 0
push eax
mov byte [ebp - 0x56d], 1
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__fill_crc_0x_08x_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b6f2
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
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 0x1002b745
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 - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__sendedLen___d_preSendSize___d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x24
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b7c0
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
test esi, esi
je 0x1002b972
mov esi, dword [ebp - 0x5a4]
mov edi, dword [ebp - 0x58c]
cmp edi, esi
jne 0x1002b95b
cmp byte [ebp - 0x56d], 0
jne 0x1002ba6d
not dword [ebp - 0x574]
lea eax, [ebp - 0x53c]
push 0x400
push 0
push eax
mov byte [ebp - 0x56d], 1
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__fill_crc_0x_08x_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b880
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
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 0x1002b961
push 0x400
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__send_buff_fail_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b937
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
mov edi, dword [ebp - 0x58c]
add esp, 8
jmp 0x1002ba73
mov edi, dword [ebp - 0x590]
cmp dword [ebp - 0x58c], esi
jb 0x1002b471
jmp 0x1002ba5f
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__send_buff_fail_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b9d3
jmp 0x1002ba47
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__read_file_fail_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ba40
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
mov esi, dword [ebp - 0x5a4]
add esp, 8
mov edi, dword [ebp - 0x58c]
cmp edi, esi
jne 0x1002bd35
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x101
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.100750b0
mov ecx, dword [ebp - 0x594]
lea edx, [ebp - 0x13c]
add esp, 0xc
mov eax, dword [ecx]
push 0x100
push edx
call dword [eax + 0x10]
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
lea eax, [ebp - 0x13c]
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__read_result_is:_n_s_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bb08
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
lea eax, [ebp - 0x13c]
push str.crc_fail
push eax
call fcn.10074190
add esp, 0x10
test eax, eax
je 0x1002bbf4
mov edi, dword [ebp - 0x5a0]
inc edi
mov dword [ebp - 0x5a0], edi
cmp edi, 6
jge 0x1002bdbb
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__crc_fail_retransCount___d__sendFileSize___d_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x24
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bbc0
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
push 0
push dword [ebp - 0x578]
push dword [ebp - 0x59c]
call fcn.1004f35f
mov eax, dword [ebp - 0x578]
add esp, 0x14
jmp 0x1002bc34
lea eax, [ebp - 0x13c]
push str.Success
push eax
call fcn.10074190
add esp, 8
test eax, eax
je 0x1002bdbb
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 0x1002bc88
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
push dword [ebp - 0x580]
addsd xmm1, qword [eax*8 + 0x100a13d0]
mov eax, dword [ebp - 0x558]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a13d0]
divsd xmm1, xmm0
mulsd xmm1, qword [0x100a0fa0]
cvttsd2si eax, xmm1
push eax
call ecx
add esp, 8
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___INFO____s:_d__sendFileSize___d___d__d__n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x28
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bcf7
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
mov eax, dword [ebp - 0x558]
add esp, 8
cmp dword [ebp - 0x578], eax
jae 0x1002bdc1
mov ecx, dword [ebp - 0x5a8]
mov esi, eax
mov edi, dword [ebp - 0x590]
jmp 0x1002b3b0
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__send_file_fail_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bda0
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
jmp 0x1002bdc1
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x59c]
call fcn.1004a0a5
push dword [ebp - 0x590]
call fcn.10048d63
push 0x101
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.100750b0
mov ecx, dword [ebp - 0x594]
lea edx, [ebp - 0x13c]
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 - 0x13c]
push str.fail
push eax
call fcn.10074190
add esp, 8
test eax, eax
je 0x1002be9c
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
lea eax, [ebp - 0x13c]
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d___s_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002be90
jmp 0x1002bf87
cmp dword [ebp - 0x5a0], 0
je 0x1002bf11
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
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 - 0x53c]
push str._s_t__d__d___ERROR____s:_d__retransCount__d___0_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bf08
jmp 0x1002bf87
mov eax, dword [ebp - 0x558]
cmp dword [ebp - 0x578], eax
je 0x1002bfb9
push 0x400
lea eax, [ebp - 0x53c]
push 0
push eax
call fcn.100750b0
add esp, 0xc
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.10040670
push 0xf9
push str.FileTransferCmd::execute
call esi
push eax
call edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x53c]
push str._s_t__d__d___ERROR____s:_d__sendFileSize___fileSize_n
push eax
call fcn.10008b40
lea ecx, [ebp - 0x53c]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002bf80
sub ecx, edx
lea eax, [ebp - 0x53c]
push ecx
push eax
call fcn.100407c0
add esp, 8
mov eax, dword [ebp - 0x57c]
test eax, eax
je 0x1002bfb0
push dword [ebp - 0x580]
push 0xffffffffffffffff
call eax
add esp, 8
mov byte [ebp - 0x56d], 0
jmp 0x1002bfc0
mov byte [ebp - 0x56d], 1
lea ecx, [ebp - 0x5c0]
call fcn.10009d50
lea ecx, [ebp + 0xc]
call fcn.10009d50
lea ecx, [ebp + 0x18]
call fcn.10009d50
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.10071677
mov esp, ebp
pop ebp
ret 0x1c