Function at 0x4123da
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x42070d
call fcn.00417e74
sub esp, 0xe8c
cmp dword [0x42504c], 0xffffffff
mov eax, dword [0x4250b0]
mov dword [ebp - 0x10], eax
je 0x412ada
mov ax, word [0x42ad18]
cmp ax, word [0x42ad1c]
push esi
mov esi, 0x578
ja 0x412417
push 2
pop esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x42a584]
sub ecx, eax
cmp ecx, esi
mov dword [ebp - 0xe90], eax
jb 0x412ad9
push ebx
mov ebx, eax
sub ebx, dword [0x42acd0]
push edi
cmp ebx, 0x7d0
mov dword [0x42a584], eax
jbe 0x412628
cmp ebx, 0xea60
jae 0x41260f
mov ecx, dword [0x42acd4]
mov eax, ecx
imul eax, eax, 0x3e8
xor edx, edx
div ebx
push 0x3a
mov byte [ebp - 0x4c], 0
pop edi
cmp eax, 0x23
jbe 0x41253f
push ecx
push ebx
push str.92901_difSec_d_css_d
call fcn.00406774
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0xe78], 0x16ae5
call fcn.004167e0
sub edi, eax
add esp, 0x10
cmp edi, 1
jl 0x4124f8
xor esi, esi
mov eax, dword [ebp - 0xe78]
push 0xa
cdq
pop ecx
idiv ecx
add dl, 0x30
mov byte [ebp + esi - 0x9c], dl
inc esi
test eax, eax
mov dword [ebp - 0xe78], eax
jne 0x4124a7
jmp 0x4124f4
test edi, edi
jle 0x4124f8
lea eax, [ebp - 0x4c]
push eax
dec esi
call fcn.004167e0
pop ecx
push 0x39
pop ecx
sub ecx, eax
cmp ecx, 1
jl 0x4124f3
mov cl, byte [ebp + esi - 0x9c]
mov byte [ebp + eax - 0x4c], cl
mov byte [ebp + eax - 0x4b], 0
dec edi
test esi, esi
jg 0x4124ca
lea eax, [ebp - 0x4c]
push eax
call fcn.004167e0
pop ecx
push 0x3a
pop edi
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jl 0x412518
mov byte [ebp + eax - 0x4c], 0x68
mov byte [ebp + eax - 0x4b], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.004167e0
pop ecx
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jl 0x412535
mov byte [ebp + eax - 0x4c], 0x63
mov byte [ebp + eax - 0x4b], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00406b46
pop ecx
mov ecx, dword [0x42acd8]
mov eax, ecx
imul eax, eax, 0x3e8
xor edx, edx
div ebx
cmp eax, 0x23
jbe 0x41260f
push ecx
push ebx
push str.92902_difSec_d_crs_d
call fcn.00406774
lea eax, [ebp - 0x4c]
push eax
mov ebx, 0x16ae6
call fcn.004167e0
sub edi, eax
add esp, 0x10
cmp edi, 1
jl 0x4125c9
xor esi, esi
mov eax, ebx
push 0xa
cdq
pop ecx
idiv ecx
add dl, 0x30
mov byte [ebp + esi - 0x9c], dl
mov ebx, eax
inc esi
test ebx, ebx
jne 0x412580
jmp 0x4125c5
test edi, edi
jle 0x4125c9
mov bl, byte [ebp + esi - 0x9d]
lea eax, [ebp - 0x4c]
dec esi
push eax
call fcn.004167e0
pop ecx
push 0x39
pop ecx
sub ecx, eax
cmp ecx, 1
jl 0x4125c4
mov byte [ebp + eax - 0x4c], bl
mov byte [ebp + eax - 0x4b], 0
dec edi
test esi, esi
jg 0x41259b
lea eax, [ebp - 0x4c]
push eax
call fcn.004167e0
pop ecx
push 0x3a
pop ecx
sub ecx, eax
cmp ecx, 1
jl 0x4125e7
mov byte [ebp + eax - 0x4c], 0x68
mov byte [ebp + eax - 0x4b], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.004167e0
pop ecx
push 0x3a
pop ecx
sub ecx, eax
cmp ecx, 1
jl 0x412605
mov byte [ebp + eax - 0x4c], 0x63
mov byte [ebp + eax - 0x4b], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00406b46
pop ecx
mov eax, dword [ebp - 0xe90]
and dword [0x42acd4], 0
and dword [0x42acd8], 0
mov dword [0x42acd0], eax
and dword [ebp - 0xe78], 0
mov esi, 0x4275b8
mov ebx, 0x427540
mov edi, 0x429ba0
inc dword [0x42a588]
lea eax, [ebp - 0xe98]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x5db
push esi
push dword [0x42504c]
mov dword [ebp - 0xe98], 0x10
call sub.WSOCK32.dll_recvfrom
cmp eax, 1
mov dword [ebp - 0xe74], eax
jl 0x412ad7
push dword [0x42adc8]
inc dword [0x42acd8]
push dword [0x42adc4]
push dword [0x42a588]
push dword [ebp - 0xe78]
push str.__d__attempted__ld_recvfrom_calls_since_prior_packet_received___lu__lu_
call fcn.00406774
mov eax, dword [ebp - 0xe74]
and dword [0x42a588], 0
mov byte [eax + 0x4275b8], 0
mov eax, dword [ebp - 0xe90]
mov dword [0x42ad0c], eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.004010e8
add esp, 0x1c
push 0xa
push edi
call fcn.004054a2
pop ecx
push eax
push ebx
call fcn.00418300
add esp, 0xc
test eax, eax
jne 0x4129c0
push 0x42754a
call fcn.00416a29
cmp eax, dword [0x425058]
pop ecx
mov cl, byte [0x4275b8]
mov dword [ebp - 0xe7c], eax
je 0x4129b0
cmp cl, 0x61
jne 0x412797
push esi
push dword [ebp - 0xe74]
push str.received__d___s_
call fcn.00406774
push 0
push 0x4275b9
call fcn.00401301
add esp, 0x14
cmp eax, 0xb1b59831
je 0x41274e
push dword [ebp - 0xe7c]
push edi
call fcn.0040552a
jmp 0x41298c
push dword [0x42a6dc]
push 0x61
push edi
call fcn.00403aff
pop ecx
push eax
push 0x64
push esi
call fcn.00401000
xor eax, eax
add esp, 0x14
cmp byte [0x4275b8], al
mov ecx, esi
je 0x41277c
inc ecx
inc eax
cmp byte [ecx], 0
jne 0x412775
push ebx
inc eax
push eax
push esi
push dword [0x42504c]
call fcn.0040105b
push eax
push esi
push str.hip3_packet_sent___s___d
jmp 0x41290a
cmp cl, 0x68
jne 0x4128c0
push esi
push dword [ebp - 0xe74]
push str.received__d___s_
call fcn.00406774
add esp, 0xc
push 0
push 1
push 0x4275b9
lea ecx, [ebp - 0xe70]
call fcn.004014cb
mov eax, dword [ebp - 0x668]
and dword [ebp - 4], 0
test eax, eax
jne 0x4127db
mov eax, 0x42123b
push 0
push eax
call fcn.00401301
pop ecx
pop ecx
mov ecx, dword [0x42a6dc]
imul ecx, ecx, 0x28fff1ac
sub ecx, 0x276af2e7
cmp eax, ecx
je 0x412818
push dword [ebp - 0xe7c]
push edi
call fcn.0040552a
pop ecx
push eax
push 2
call fcn.00415908
add esp, 0xc
jmp 0x4128ac
call fcn.0040af6f
call fcn.00406955
xor eax, eax
cmp byte [0x4275b8], al
je 0x412836
inc eax
cmp byte [eax + 0x4275b8], 0
jne 0x41282c
push 0x8e6
push eax
push esi
lea ecx, [ebp - 0x168]
call fcn.004020b9
lea ecx, [ebp - 0x168]
call fcn.00402072
push eax
push 0x68
push edi
call fcn.00403b3f
pop ecx
push eax
push 0x64
push esi
call fcn.00401000
xor eax, eax
add esp, 0x14
cmp byte [0x4275b8], al
je 0x41287d
inc eax
cmp byte [eax + 0x4275b8], 0
jne 0x412873
push ebx
inc eax
push eax
push esi
push dword [0x42504c]
call fcn.0040105b
inc dword [0x42acd4]
push eax
push esi
push str.hip1_packet_sent___s___d
call fcn.00406774
mov eax, dword [ebp - 0xe7c]
add esp, 0x1c
mov dword [0x425058], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe70]
call fcn.0040158a
jmp 0x412ac4
cmp cl, 0x76
jne 0x41291d
push 0x8e6
push edi
call fcn.004020f7
pop ecx
push eax
push 0x5dc
push esi
call fcn.0041829c
xor eax, eax
add esp, 0x10
cmp byte [0x4275b8], al
je 0x4128f4
inc eax
cmp byte [eax + 0x4275b8], 0
jne 0x4128ea
push ebx
inc eax
push eax
push esi
push dword [0x42504c]
call fcn.0040105b
push eax
push esi
push str.hip2_packet_sent___s___d
inc dword [0x42acd4]
call fcn.00406774
add esp, 0x1c
jmp 0x412ac4
cmp cl, 0x4c
jne 0x41273d
cmp dword [0x42a578], 0
jne 0x412ac4
push 1
push 1
push 0x425c40
call fcn.00403673
pop ecx
push eax
push 0x42a3d8
call fcn.00403713
pop ecx
push eax
push edi
call fcn.00403993
pop ecx
push eax
mov eax, dword [ebp - 0xe74]
dec eax
push eax
push 0x4275b9
call fcn.0040805f
add esp, 0x1c
call fcn.0040afd9
mov eax, dword [0x425054]
cmp eax, 0xffffffff
jne 0x41299d
mov eax, 0xffab
push eax
push edi
mov dword [0x42ad08], eax
call fcn.00405dc1
pop ecx
push eax
push 2
call fcn.00415908
add esp, 0xc
jmp 0x412ac4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x425054], 0xffffffff
jmp 0x412ac4
mov ecx, dword [ebp - 0xe74]
call fcn.00411ceb
jmp 0x412ac4
mov ecx, dword [ebp - 0xe74]
cmp ecx, 7
jle 0x4129dc
movsx eax, byte [0x4275bf]
mov dword [ebp - 0xe7c], eax
xor eax, eax
jmp 0x4129e4
xor eax, eax
mov dword [ebp - 0xe7c], eax
cmp ecx, 6
jle 0x4129f8
movsx edx, byte [0x4275be]
mov dword [ebp - 0xe8c], edx
jmp 0x4129fe
mov dword [ebp - 0xe8c], eax
cmp ecx, 5
jle 0x412a12
movsx edx, byte [0x4275bd]
mov dword [ebp - 0xe84], edx
jmp 0x412a18
mov dword [ebp - 0xe84], eax
cmp ecx, 4
jle 0x412a2c
movsx edx, byte [0x4275bc]
mov dword [ebp - 0xe88], edx
jmp 0x412a32
mov dword [ebp - 0xe88], eax
cmp ecx, 3
jle 0x412a46
movsx edx, byte [0x4275bb]
mov dword [ebp - 0xe80], edx
jmp 0x412a4c
mov dword [ebp - 0xe80], eax
cmp ecx, 2
jle 0x412a60
movsx edx, byte [0x4275ba]
mov dword [ebp - 0xe94], edx
jmp 0x412a66
mov dword [ebp - 0xe94], eax
cmp ecx, 1
jle 0x412a74
movsx ecx, byte [0x4275b9]
jmp 0x412a76
xor ecx, ecx
cmp dword [ebp - 0xe74], eax
jle 0x412a85
movsx eax, byte [0x4275b8]
push dword [ebp - 0xe7c]
push dword [ebp - 0xe8c]
push dword [ebp - 0xe84]
push dword [ebp - 0xe88]
push dword [ebp - 0xe80]
push dword [ebp - 0xe94]
push ecx
push eax
push dword [ebp - 0xe74]
push ebx
push edi
call fcn.00405aa4
pop ecx
push eax
push 2
call fcn.00415908
add esp, 0x30
inc dword [ebp - 0xe78]
cmp dword [ebp - 0xe78], 0x40
jl 0x41263e
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004169c5
leave
ret