joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5aabf0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6643d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
wait
mov edi, dword [esi + 0xa4]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [esi + 0x31fc]
cmp dword [eax + 0x13c], 2
jne 0x5aac63
cmp dword [esi + 0x64], ebx
jl 0x5aac63
jg 0x5aac4e
cmp dword [esi + 0x60], ebx
jbe 0x5aac63
mov dword [esi + 0xa4], 7
mov dword [esi + 0x9c], ebx
jmp 0x5aadd9
cmp edi, 0x18
je 0x5aac71
cmp edi, 0x15
jne 0x5aadd9
cmp dword [esi + 0xe8], ebx
je 0x5aadd9
cmp dword [eax + 0x14c], 0x757b
jne 0x5aadd9
mov ecx, esi
call fcn.005aa940
cmp eax, ebx
je 0x5aad97
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.00561d40
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x60]
push ecx
push str._dkf
lea edx, [ebp - 0x24]
push edx
call fcn.0062311b
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [esi + 0x31fc]
mov edx, dword [ecx + 0x104]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [esi + 0x10]
call fcn.0056afa0
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov ecx, dword [esi + 0xa8]
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0xe8], eax
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
test eax, eax
jge 0x5aad1d
fadd qword [0x6813f8]
fstp qword [esi + 0x3200]
mov dword [esi + 0xf0], ebx
cmp dword [esi + 0xe8], ebx
jne 0x5aad5a
mov edx, dword [esi + 0x31fc]
cmp ecx, dword [edx + 0xb0]
jne 0x5aad5a
push str.This_is_first_part__n
mov ecx, esi
call fcn.00561d40
mov byte [esi + 0x3211], 1
mov byte [esi + 0x3213], bl
jmp 0x5aad61
mov byte [esi + 0x3213], 1
mov byte [esi + 0x3215], bl
mov byte [esi + 0x3216], bl
mov dword [esi + 0x4a38], ebx
mov dword [esi + 0x4a3c], ebx
mov byte [esi + 0x320d], bl
mov byte [esi + 0x320c], bl
mov dword [esi + 0x3248], ebx
mov byte [esi + 0x3219], bl
mov byte [esi + 0x3218], bl
mov byte [esi + 0xe5], 1
mov ecx, esi
call fcn.00562040
mov eax, dword [esi]
lea ecx, [esi + 0x31f8]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x18]
call edx
cmp eax, ebx
je 0x5aadd9
mov ecx, dword [esi + 0x31fc]
mov dword [ecx + 0x14c], eax
cmp eax, 0x7569
jne 0x5aadd9
mov ecx, dword [esi + 0x31fc]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret
Function at 0x5ab580
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x664480
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402510
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str.POST__fcs_ident2_HTTP_1.1_r_nContent_Type:_application_x_fcs_r_nUser_Agent:_Shockwave_Flash_r_nHost:__s_r_nContent_Length:_1_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_n_r_n
push edx
call fcn.00402f80
add esp, 0xc
push str.Sending_RTMPT_ident_n
mov ecx, esi
call fcn.00561d40
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00561d40
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5ab5f3
mov ecx, dword [esi + 0x31f8]
push str.RTMPT_Ident
push ebx
sub eax, edi
push eax
push edx
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
mov edi, eax
cmp edi, ebx
jne 0x5ab6a6
mov eax, dword [esi + 0x31f8]
push str.RTMPT_Ident_s2
push ebx
push 1
lea edx, [esp + 0x1f]
push edx
push eax
mov byte [esp + 0x27], bl
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esi + 0x3484], 1
mov dword [esi + 0x345c], ebx
mov dword [esi + 0x3a4], ebx
mov dword [esi + 0xa4], 0x1b
mov dword [esi + 0x3480], ebx
call fcn.00402510
mov byte [esp + 0x24], 1
push edi
lea ecx, [esp + 0x1c]
push 0x6b3d80
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00561d40
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00402580
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x5ab6d0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x664480
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402510
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str.POST__open_1_HTTP_1.1_r_nContent_Type:_application_x_fcs_r_nUser_Agent:_Shockwave_Flash_r_nHost:__s_r_nContent_Length:_1_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_n_r_n
push edx
call fcn.00402f80
add esp, 0xc
push str.Sending_RTMPT_open_n
mov ecx, esi
call fcn.00561d40
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00561d40
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5ab743
mov ecx, dword [esi + 0x31f8]
push str.RTMPT_Connect
push ebx
sub eax, edi
push eax
push edx
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
mov edi, eax
cmp edi, ebx
jne 0x5ab808
mov eax, dword [esi + 0x31f8]
push str.RTMPT_Connect
push ebx
push 1
lea edx, [esp + 0x1f]
push edx
push eax
mov byte [esp + 0x27], bl
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esi + 0x347c], ebx
mov byte [esi + 0x3484], 1
mov dword [esi + 0x345c], ebx
mov dword [esi + 0x3a4], ebx
mov dword [esi + 0xa4], 0x19
mov dword [esi + 0x3474], ebx
mov dword [esi + 0x3478], ebx
mov dword [esi + 0x3480], ebx
call fcn.00402510
mov byte [esp + 0x24], 1
push edi
lea ecx, [esp + 0x1c]
push 0x6b3d80
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00561d40
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00402580
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push esi
mov esi, ecx
cmp byte [esi + 0x3484], 0
je 0x5ac5c7
call fcn.005aa2b0
test eax, eax
jne 0x5ac607
push str.Ident_data:_n
mov ecx, esi
mov dword [esi + 0x3478], eax
call fcn.00561d40
cmp dword [esi + 0x345c], 0
push ebp
push edi
je 0x5ac636
push 0x200
lea ebp, [esi + 0x325c]
push ebp
mov ecx, esi
call fcn.005ac3b0
mov edi, eax
push str.recv_identres
push edi
mov ecx, esi
call fcn.00562650
mov ecx, eax
test ecx, ecx
je 0x5ac609
sub eax, 0x2733
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop ebp
pop esi
ret
push edi
push ebp
mov ecx, esi
call fcn.00555140
add dword [esi + 0x3478], edi
mov eax, dword [esi + 0x3478]
cmp dword [esi + 0x345c], eax
mov dword [esi + 0x3a0], 0
jle 0x5ac636
pop edi
pop ebp
xor eax, eax
pop esi
ret
push 1
push 0x67f2c0
mov ecx, esi
call fcn.00555140
push str.Ident_res_OK_n
mov ecx, esi
call fcn.00561d40
pop edi
pop ebp
mov ecx, esi
pop esi
jmp 0x5ab6d0
Function at 0x5ab830
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x656ed8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00402510
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x347c]
mov eax, dword [esi + 0x3470]
push ebx
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str.POST___s__s__ld_HTTP_1.1_r_nContent_Type:_application_x_fcs_r_nUser_Agent:_Shockwave_Flash_r_nHost:__s_r_nContent_Length:__ld_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_n_r_n
push edx
call fcn.00402f80
mov eax, dword [esp + 0x2c]
inc dword [esi + 0x347c]
mov ecx, dword [eax - 0xc]
add esp, 0x1c
push str.RTMPT_send
push 0
push ecx
push eax
mov eax, dword [esi + 0x31f8]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
mov edi, eax
test edi, edi
je 0x5ab8f2
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402580
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x31f8]
push str.RTMPT_send
push 0
push ebx
push ecx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402580
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x5ac1d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664508
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.005aa530
mov byte [esi + 0x320d], bl
mov dword [esi + 0xec], ebx
mov dword [esi + 0x4a04], ebx
mov byte [esi + 0x3219], bl
mov byte [esi + 0xe5], bl
cmp dword [esi + 0x3228], ebx
jne 0x5ac243
push 0x601
call fcn.005f4522
add esp, 4
mov dword [esi + 0x3228], eax
mov eax, dword [esi + 0x3228]
cmp eax, ebx
jne 0x5ac264
mov eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 3
lea eax, [ebp - 0x28]
push eax
call fcn.00623d61
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WS2_32.dll_htonl
mov edx, dword [esi + 0x3228]
mov dword [edx + 1], eax
mov eax, dword [esi + 0x3228]
add eax, 5
mov dword [eax], ebx
mov edi, 9
mov dword [ebp - 0x18], edi
cmp edi, 0x600
jg 0x5ac2bf
call fcn.00624f6a
and eax, 0x800000ff
jns 0x5ac2b3
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x3228]
mov byte [edi + ecx], al
inc edi
jmp 0x5ac295
mov edx, dword [esi + 0xc8]
cmp dword [edx + 0x24], 5
jne 0x5ac2e5
push 0x601
mov eax, dword [esi + 0x3228]
push eax
push str.send
mov ecx, esi
call fcn.005ab830
jmp 0x5ac30b
push str.send_handshake
push ebx
push 0x601
mov ecx, dword [esi + 0x3228]
push ecx
mov edx, dword [esi + 0x31f8]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
mov edi, eax
lea ecx, [ebp - 0x14]
call fcn.00402510
mov byte [ebp - 4], 1
push edi
push str.sending_handshake__res___ld_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00561d40
mov dword [esi + 0x322c], ebx
mov dword [esi + 0x3230], ebx
mov byte [esi + 0x320e], bl
mov byte [esi + 0x320f], bl
mov ecx, esi
call fcn.00561f60
mov dword [esi + 0xa4], 0x14
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402580
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ac3b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x345c], ebx
je 0x5ac3d4
cmp byte [esi + 0x3484], bl
je 0x5ac3d4
mov byte [esi + 0x3484], bl
mov byte [esi + 0x3485], bl
mov byte [esp + 0xf], bl
cmp byte [esi + 0x3484], bl
je 0x5ac3fb
mov ecx, esi
call fcn.005aa2b0
cmp eax, ebx
jne 0x5ac4e1
mov byte [esi + 0x3485], 1
mov byte [esp + 0xf], 1
cmp byte [esi + 0x3485], bl
je 0x5ac4a2
cmp dword [esi + 0x345c], ebx
je 0x5ac49c
mov edx, dword [esi + 0x3a4]
cmp edx, ebx
jle 0x5ac43e
mov ecx, dword [esi + 0x3a0]
mov al, byte [ecx + esi + 0x325c]
inc ecx
dec edx
mov byte [esp + 0xe], al
mov dword [esi + 0x3a0], ecx
mov dword [esi + 0x3a4], edx
jmp 0x5ac46d
mov ecx, dword [esi + 0x31f8]
push ebx
push 1
lea eax, [esp + 0x16]
push eax
push ecx
call sub.WS2_32.dll_recv
mov edi, eax
push str.recv_byte
push edi
mov ecx, esi
call fcn.00562650
test eax, eax
jne 0x5ac589
mov al, byte [esp + 0xe]
mov dl, al
dec dl
cmp dl, 0x20
ja 0x5ac488
movsx eax, al
lea eax, [eax + eax*8 + 0xc8]
mov dword [esi + 0x346c], eax
jmp 0x5ac496
cmp al, 0x21
jle 0x5ac496
mov dword [esi + 0x346c], 0x1f4
dec dword [esi + 0x345c]
mov byte [esi + 0x3485], bl
cmp dword [esi + 0x345c], ebx
jne 0x5ac4f1
cmp dword [esi + 0x3a4], ebx
mov byte [esi + 0x3484], 1
mov dword [esi + 0x3480], ebx
jg 0x5ac3b8
cmp byte [esp + 0xf], bl
je 0x5ac3b8
push 0x2733
call sub.WS2_32.dll_WSASetLastError
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
push eax
call sub.WS2_32.dll_WSASetLastError
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x3a4]
cmp eax, ebx
jle 0x5ac53c
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x5ac505
mov edi, eax
mov ecx, dword [esi + 0x3a0]
mov eax, dword [esp + 0x14]
push edi
lea edx, [ecx + esi + 0x325c]
push edx
push eax
call fcn.00621de0
add dword [esi + 0x3a0], edi
sub dword [esi + 0x3a4], edi
add esp, 0xc
sub dword [esi + 0x345c], edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x345c]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jl 0x5ac54c
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x31f8]
push ebx
push eax
push ecx
push edx
call sub.WS2_32.dll_recv
mov edi, eax
push str.rtmpt_recv
push edi
mov ecx, esi
call fcn.00562650
test eax, eax
jne 0x5ac589
sub dword [esi + 0x345c], edi
jne 0x5ac589
cmp dword [esi + 0xec], ebx
jbe 0x5ac589
mov ecx, esi
call fcn.005ac150
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x5ac5a0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x664480
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402510
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x18]
push str.POST__open_1_HTTP_1.1_r_nContent_Type:_application_x_fcs_r_nUser_Agent:_Shockwave_Flash_r_nHost:__s_r_nContent_Length:_1_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_n_r_n
push edx
call fcn.00402f80
add esp, 0xc
push str.Sending_RTMPT_open_n
mov ecx, esi
call fcn.00561d40
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00561d40
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5ab743
mov ecx, dword [esi + 0x31f8]
push str.RTMPT_Connect
push ebx
sub eax, edi
push eax
push edx
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
mov edi, eax
cmp edi, ebx
jne 0x5ab808
mov eax, dword [esi + 0x31f8]
push str.RTMPT_Connect
push ebx
push 1
lea edx, [esp + 0x1f]
push edx
push eax
mov byte [esp + 0x27], bl
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.00562650
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esi + 0x347c], ebx
mov byte [esi + 0x3484], 1
mov dword [esi + 0x345c], ebx
mov dword [esi + 0x3a4], ebx
mov dword [esi + 0xa4], 0x19
mov dword [esi + 0x3474], ebx
mov dword [esi + 0x3478], ebx
mov dword [esi + 0x3480], ebx
call fcn.00402510
mov byte [esp + 0x24], 1
push edi
lea ecx, [esp + 0x1c]
push 0x6b3d80
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00561d40
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00402580
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402580
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push esi
mov esi, ecx
cmp byte [esi + 0x3484], 0
je 0x5ac5c7
call fcn.005aa2b0
test eax, eax
jne 0x5ac607
push str.Ident_data:_n
mov ecx, esi
mov dword [esi + 0x3478], eax
call fcn.00561d40
cmp dword [esi + 0x345c], 0
push ebp
push edi
je 0x5ac636
push 0x200
lea ebp, [esi + 0x325c]
push ebp
mov ecx, esi
call fcn.005ac3b0
mov edi, eax
push str.recv_identres
push edi
mov ecx, esi
call fcn.00562650
mov ecx, eax
test ecx, ecx
je 0x5ac609
sub eax, 0x2733
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop ebp
pop esi
ret
push edi
push ebp
mov ecx, esi
call fcn.00555140
add dword [esi + 0x3478], edi
mov eax, dword [esi + 0x3478]
cmp dword [esi + 0x345c], eax
mov dword [esi + 0x3a0], 0
jle 0x5ac636
pop edi
pop ebp
xor eax, eax
pop esi
ret
push 1
push 0x67f2c0
mov ecx, esi
call fcn.00555140
push str.Ident_res_OK_n
mov ecx, esi
call fcn.00561d40
pop edi
pop ebp
mov ecx, esi
pop esi
jmp 0x5ab6d0
Function at 0x5acf00
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3484], 0
je 0x5acf1b
call fcn.005aa2b0
test eax, eax
jne 0x5acf59
mov dword [esi + 0x3478], eax
cmp dword [esi + 0x345c], 0
push edi
je 0x5acf7e
push 0x200
lea eax, [esi + 0x325c]
push eax
mov ecx, esi
call fcn.005ac3b0
mov edi, eax
push str.recv_idle1res
push edi
mov ecx, esi
call fcn.00562650
mov ecx, eax
test ecx, ecx
je 0x5acf5b
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
pop edi
pop esi
ret
add dword [esi + 0x3478], edi
mov eax, dword [esi + 0x3478]
cmp dword [esi + 0x345c], eax
mov dword [esi + 0x3a0], 0
jle 0x5acf7e
pop edi
xor eax, eax
pop esi
ret
push str.Idle_res_OK_n
mov ecx, esi
call fcn.00561d40
pop edi
mov ecx, esi
pop esi
jmp fcn.005ac1d0
Function at 0x5ad680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x664638
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.005b2490
mov dword [esp + 0x38], 0
push 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x12], 2
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 5
call fcn.005b23c0
cmp byte [esp + 0x48], 0
mov dword [esp + 0x20], 4
je 0x5ad6ec
mov eax, dword [esp + 0x28]
push 0x2625a0
push eax
jmp 0x5ad6f6
mov ecx, dword [esp + 0x28]
push 0x1312d0
push ecx
call fcn.005aa4c0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
add esp, 8
push 0
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005ad070
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 8]
call fcn.005b24b0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 0xc

Function at 0x5ad740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x664638
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.005b2490
mov dword [esp + 0x38], 0
push 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x12], 2
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 3
call fcn.005b23c0
mov eax, dword [esi + 0x49c8]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x28], 4
call fcn.005aa4c0
mov edx, dword [esi + 0x49c8]
add esp, 8
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esi + 0x49cc], edx
call fcn.005ad070
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 8]
call fcn.005b24b0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x5aecc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6647b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.005b2490
mov dword [esp + 0x40], 0
push 0x100
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a], 3
mov byte [esp + 0x18], 1
mov byte [esp + 0x19], 0x14
call fcn.005b23c0
mov esi, dword [esp + 0x30]
push str.createStream
lea ecx, [esp + 0x10]
call fcn.004030c0
mov byte [esp + 0x40], 1
lea eax, [esp + 0xc]
push eax
push esi
call fcn.005ab1f0
add esp, 8
add esi, eax
mov byte [esp + 0x40], 0
lea ecx, [esp + 0xc]
call fcn.00402580
fld qword [esp + 0x48]
sub esp, 8
fstp qword [esp]
push esi
call fcn.005aa4e0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
add esp, 0xc
add esi, eax
push 0
mov byte [esi], 5
push ecx
inc esi
sub esi, dword [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x38], esi
call fcn.005ad070
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005b24b0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret 0x10
Function at 0x5b03f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x18]
xor ebx, ebx
push edi
mov edi, ecx
cmp eax, ebx
jbe 0x5b0428
cmp dword [esi + 0x20], ebx
jne 0x5b0428
push eax
mov ecx, esi
call fcn.005b23c0
test al, al
jne 0x5b0428
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.00561d40
pop edi
pop esi
lea eax, [ebx + 8]
pop ebx
ret 4
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x1c]
push ebp
mov ebp, dword [edi + 0x348c]
cmp ebp, ebx
jne 0x5b043f
mov ebp, dword [edi + 0x3488]
cmp eax, ebp
jge 0x5b0445
mov ebp, eax
mov dword [edi + 0x348c], ebx
test ebp, ebp
je 0x5b04a9
mov eax, dword [edi + 0xc8]
cmp dword [eax + 0x24], 5
jne 0x5b046c
mov ecx, dword [esi + 0x20]
add ecx, dword [esi + 0x1c]
push ebp
push ecx
mov ecx, edi
call fcn.005ac3b0
jmp 0x5b0482
mov edx, dword [esi + 0x20]
add edx, dword [esi + 0x1c]
mov eax, dword [edi + 0x31f8]
push 0
push ebp
push edx
push eax
call sub.WS2_32.dll_recv
mov ebx, eax
push str.recv_pheader
push ebx
mov ecx, edi
call fcn.00562650
mov ecx, eax
test ecx, ecx
je 0x5b04a9
sub eax, 0x2733
pop ebp
neg eax
pop edi
sbb eax, eax
pop esi
and eax, ecx
pop ebx
ret 4
add dword [esi + 0x1c], ebx
cmp ebx, ebp
je 0x5b04c1
sub ebp, ebx
mov dword [edi + 0x348c], ebp
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
movzx eax, byte [esi + 6]
lea ecx, [eax + eax*4]
push esi
lea ecx, [edi + ecx*8 + 0x34b8]
call fcn.005aa5a0
xor ebx, ebx
mov ecx, edi
mov dword [edi + 0xa4], 0x15
mov dword [edi + 0x348c], ebx
call fcn.00561f60
mov edx, dword [esi + 0x1c]
cmp edx, dword [esi + 0x18]
jne 0x5b0559
mov eax, dword [esi + 8]
mov dword [esi + 0x14], eax
cmp byte [esi + 0x10], bl
jne 0x5b0511
movzx ecx, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x48b8]
add edx, eax
mov dword [esi + 0x14], edx
movzx eax, byte [esi + 6]
mov ecx, dword [esi + 0x14]
mov dword [edi + eax*4 + 0x48b8], ecx
movzx eax, byte [esi + 6]
lea edx, [eax + eax*4]
mov dword [edi + edx*8 + 0x34d8], ebx
movzx eax, byte [esi + 6]
lea eax, [eax + eax*4]
mov dword [edi + eax*8 + 0x34d4], ebx
movzx eax, byte [esi + 6]
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8 + 0x34c8], 0
push esi
mov ecx, edi
call fcn.005b01e0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], ebx
call fcn.005b24a0
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 4