Function at 0x48c94a
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x566df3
call fcn.0053c1d0
mov eax, 0x120c
call fcn.0053aa40
mov eax, dword [0x5af710]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
push esi
push edi
mov dword [ebp - 0x1014], eax
je 0x48d036
cmp dword [ebp + 8], 0xffffffff
je 0x48d036
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x48d038
xor esi, esi
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x1030], ebx
mov dword [ebp - 0x1034], ebx
mov dword [ebp - 0x1028], ebx
je 0x48c9bc
mov eax, dword [0x5b10d8]
cmp eax, ebx
je 0x48c9ba
call eax
mov esi, eax
jmp 0x48c9bc
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x48c9d1
cmp dword [eax], ebx
jne 0x48d1fa
push ebx
lea eax, [ebp - 0x102c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x48ca96
cmp dword [ebp - 0x102c], ebx
jne 0x48ca1e
cmp dword [ebp - 0x1034], ebx
jne 0x48cc1e
mov dword [ebp - 0x1034], 1
push 0x3e8
jmp 0x48ca8f
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x1034], ebx
je 0x48ca4b
cmp esi, ebx
je 0x48ca4b
push dword [ebp - 0x1030]
mov eax, dword [esi]
push dword [ebp - 0x102c]
lea ecx, [ebp - 0x1010]
push ecx
push ecx
push dword [ebp + 0x10]
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [ebp - 0x102c]
add dword [ebp - 0x1030], eax
push ebx
push eax
lea eax, [ebp - 0x1010]
push eax
push dword [ebp + 8]
call fcn.00503ed7
add esp, 0x10
test eax, eax
jle 0x48cdeb
inc dword [ebp - 0x1028]
mov eax, dword [ebp - 0x1028]
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x48c9c2
push 1
call edi
jmp 0x48c9c2
mov edi, 0x220
cmp dword [0x5b21c0], edi
jne 0x48d1fa
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
pop esi
push esi
lea ecx, [ebp - 0x10e0]
call fcn.00404a20
mov dword [ebp - 4], esi
mov esi, 0x572a6c
push esi
push 0x579720
push 0x572a4c
push esi
push 0x572a48
push edi
push 0x572a40
push dword [ebp - 0x1018]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x101a]
mov edx, 0x572a38
push eax
push dword [ebp - 0x101c]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x101e]
push ecx
push dword [ebp - 0x1022]
push ecx
push dword [ebp - 0x1024]
push edx
push 0xab
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1014], esp
push str..TCPService.cpp
call fcn.00405500
lea eax, [ebp - 0x1060]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x48cb58
mov eax, dword [eax + 4]
jmp 0x48cb5b
add eax, 4
push eax
lea eax, [ebp - 0x10e0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov byte [ebp - 4], 2
jmp 0x48d1b9
mov edi, 0x220
cmp dword [0x5b21c0], edi
jne 0x48cde4
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x10e0]
call fcn.00404a20
mov esi, 0x572a6c
push esi
push 0x579714
push 0x572a4c
push esi
push 0x572a48
push edi
push 0x572a40
push dword [ebp - 0x1018]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x101a]
mov edx, 0x572a38
push eax
push dword [ebp - 0x101c]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x101e]
mov dword [ebp - 4], 4
push ecx
push dword [ebp - 0x1022]
push ecx
push dword [ebp - 0x1024]
push edx
push 0xb3
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1014], esp
push str..TCPService.cpp
call fcn.00405500
lea eax, [ebp - 0x1060]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 5
jb 0x48cce2
mov eax, dword [eax + 4]
jmp 0x48cce5
add eax, 4
push eax
lea eax, [ebp - 0x10e0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x1060]
call fcn.00402c50
lea eax, [ebp - 0x10e0]
push eax
call fcn.00407930
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x1094]
call fcn.004028d0
lea ecx, [ebp - 0x1094]
mov dword [ebp - 0x1094], 0x572840
call fcn.0054dfcb
mov al, 1
jmp 0x48d1fc
push 1
push 2
lea ecx, [ebp - 0x1218]
call fcn.00404a20
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1218]
push str.mysend__LastError:
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bbec
mov edi, 0x220
cmp dword [0x5b21c0], edi
mov ebx, 0x572840
jne 0x48d016
lea eax, [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x1198]
call fcn.00404a20
mov esi, 0x572a6c
push esi
lea eax, [ebp - 0x10fc]
push eax
lea ecx, [ebp - 0x1218]
mov byte [ebp - 4], 7
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 8
jb 0x48ce7f
mov eax, dword [eax + 4]
jmp 0x48ce82
add eax, 4
push eax
push 0x572a4c
push esi
push 0x572a48
push edi
push 0x572a40
push dword [ebp - 0x1038]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x103a]
mov edx, 0x572a38
push eax
push dword [ebp - 0x103c]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x103e]
push ecx
push dword [ebp - 0x1042]
push ecx
push dword [ebp - 0x1044]
push edx
push 0xc6
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1014], esp
push str..TCPService.cpp
call fcn.00405500
lea eax, [ebp - 0x1118]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 9
jb 0x48cf08
mov eax, dword [eax + 4]
jmp 0x48cf0b
add eax, 4
push eax
lea eax, [ebp - 0x1198]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1118]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x10fc]
mov byte [ebp - 4], 7
call fcn.00402c50
lea eax, [ebp - 0x1198]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x114c]
mov byte [ebp - 4], 6
call fcn.004028d0
lea ecx, [ebp - 0x114c]
mov dword [ebp - 0x114c], ebx
call fcn.0054dfcb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11cc]
call fcn.004028d0
mov dword [ebp - 0x11cc], ebx
lea ecx, [ebp - 0x11cc]
jmp 0x48d1f5
xor ebx, ebx
mov edi, 0x220
cmp dword [0x5b21c0], edi
jne 0x48d1fa
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x10e0]
call fcn.00404a20
mov esi, 0x572a6c
push esi
push str.INVALID_HANDLE_VALUE__INVALID_SOCKET
push 0x572a4c
push esi
push 0x572a48
push edi
push 0x572a40
push dword [ebp - 0x1018]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x101a]
mov edx, 0x572a38
push eax
push dword [ebp - 0x101c]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x101e]
mov dword [ebp - 4], ebx
push ecx
push dword [ebp - 0x1022]
push ecx
push dword [ebp - 0x1024]
push edx
push 0x98
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1014], esp
push str..TCPService.cpp
call fcn.00405500
lea eax, [ebp - 0x1060]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 1
jb 0x48d0f8
mov eax, dword [eax + 4]
jmp 0x48d0fb
add eax, 4
push eax
lea eax, [ebp - 0x10e0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
mov byte [ebp - 4], 0
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x1060]
push 1
call fcn.00402c50
lea eax, [ebp - 0x10e0]
push eax
call fcn.00407930
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x1094]
call fcn.004028d0
lea ecx, [ebp - 0x1094]
mov dword [ebp - 0x1094], 0x572840
call fcn.0054dfcb
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aaae
leave
ret