joyce8/EMBER2024-capa huggingface dataset:
Function at 0x550fb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call fcn.005528d0
mov eax, dword [esi + 0x310c]
mov byte [esi + 0x30f5], bl
cmp eax, ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0x48e8], ebx
mov byte [esi + 0x3101], bl
mov byte [esi + 0xb6], bl
jne 0x55101b
push 0x601
call fcn.005a9fe9
add esp, 4
mov dword [esi + 0x310c], eax
mov eax, dword [esi + 0x310c]
cmp eax, ebx
jne 0x55103b
mov eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [eax], 3
lea eax, [ebp - 0x24]
push eax
call fcn.00592fdc
mov ecx, dword [ebp - 0x24]
add esp, 4
push ecx
call sub.WSOCK32.dll_htonl
mov edx, dword [esi + 0x310c]
mov edi, 9
mov dword [edx + 1], eax
mov eax, dword [esi + 0x310c]
add eax, 5
mov dword [eax], ebx
cmp edi, 0x600
jg 0x551094
call fcn.00593cba
and eax, 0x800000ff
jns 0x551087
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x310c]
inc edi
mov byte [ecx + edi - 1], al
jmp 0x55106c
mov edx, dword [esi + 0xa0]
cmp dword [edx + 0x24], 5
jne 0x5510ba
mov eax, dword [esi + 0x310c]
push 0x601
push eax
push str.send
mov ecx, esi
call fcn.00551ff0
jmp 0x5510e0
mov ecx, dword [esi + 0x310c]
mov edx, dword [esi + 0x30e0]
push str.send_handshake
push ebx
push 0x601
push ecx
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
mov eax, dword [0x68d01c]
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x14]
push str.sending_handshake__res___ld_n
push ecx
mov byte [ebp - 4], 1
call fcn.005a6a18
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, esi
push edx
call fcn.005133a0
mov ecx, esi
mov dword [esi + 0x3110], ebx
mov dword [esi + 0x3114], ebx
mov byte [esi + 0x30f6], bl
mov byte [esi + 0x30f7], bl
call fcn.00514da0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x7c], 0x14
mov byte [ebp - 4], bl
call fcn.005adc4d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x551230
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x3130]
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
jne 0x551292
push 0x3ff
call fcn.00591fb0
add esp, 4
mov edi, eax
mov ecx, 0xff
xor eax, eax
mov dword [ebx + 0x3130], edi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebx + 0x313c], 0x3ff
mov eax, dword [ebx + 0x313c]
mov ecx, dword [ebx + 0x3130]
push eax
push 0
push ecx
call fcn.005926c0
mov ecx, dword [ebx + 0x3130]
add esp, 0xc
sub eax, ecx
mov byte [ebp - 0x11], 0
mov edi, eax
mov dword [ebp - 0x1c], edi
mov edx, dword [ebx + 0x2dc]
test edx, edx
jle 0x5513ef
mov ecx, dword [ebx + 0x2d8]
mov eax, 0x200
sub eax, ecx
mov esi, edx
cmp edx, eax
jl 0x5512de
mov esi, eax
push esi
lea edx, [ecx + ebx + 0x3140]
push 0xa
push edx
call fcn.005926c0
add esp, 0xc
test eax, eax
je 0x55130b
mov edx, dword [ebx + 0x2d8]
sub eax, ebx
sub eax, edx
sub eax, 0x313f
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x55130e
mov dword [ebp - 0x18], esi
mov eax, dword [ebx + 0x313c]
mov ecx, eax
sub ecx, edi
dec ecx
cmp esi, ecx
jl 0x551357
mov edx, dword [ebx + 0x3130]
lea eax, [eax + esi + 1]
push eax
push edx
mov dword [ebx + 0x313c], eax
call fcn.005931f0
add esp, 8
mov dword [ebx + 0x3130], eax
test eax, eax
jne 0x551357
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x3130]
mov eax, dword [ebx + 0x2d8]
mov ecx, esi
add edi, edx
mov edx, ecx
lea esi, [ebx + eax + 0x3140]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebx + 0x2d8]
mov edx, dword [ebx + 0x2dc]
add eax, ecx
add esi, ecx
sub edx, ecx
mov ecx, dword [ebx + 0x3130]
mov dword [ebx + 0x2d8], esi
mov dword [ebx + 0x2dc], edx
mov dword [ebp - 0x1c], eax
mov byte [eax + ecx], 0
mov edx, dword [ebx + 0x3130]
cmp byte [eax + edx - 1], 0xa
je 0x551473
mov al, byte [ebp - 0x11]
test al, al
je 0x5513ef
mov eax, dword [ebx + 0x30e0]
push 0
push eax
mov ecx, ebx
call fcn.005145a0
test eax, eax
je 0x5513ef
mov eax, 0x7533
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x30e0]
lea edi, [ebx + 0x3140]
push 0
push 0x200
push edi
push ecx
call sub.WSOCK32.dll_recv
mov esi, eax
push str.recv_next_line
push esi
mov ecx, ebx
call fcn.00513450
cmp eax, 0x2733
jne 0x551430
mov edx, dword [ebx + 0x30e0]
push 0
push 0x200
push edi
push edx
jmp 0x551404
test eax, eax
jne 0x551475
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x2d8], eax
mov dword [ebx + 0x2dc], esi
mov byte [ebp - 0x11], 1
jmp 0x5512bb
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x551a80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
mov edi, 0x1f4
cmp dword [ebp + 0x3340], ebx
je 0x551aaa
cmp byte [ebp + 0x3368], bl
je 0x551aaa
mov byte [ebp + 0x3368], bl
mov byte [ebp + 0x3369], bl
mov al, byte [ebp + 0x3368]
mov byte [esp + 0x13], bl
cmp al, bl
je 0x551ad3
mov ecx, ebp
call fcn.005518e0
cmp eax, ebx
jne 0x551ba3
mov byte [ebp + 0x3369], 1
mov byte [esp + 0x13], 1
cmp byte [ebp + 0x3369], bl
je 0x551b75
cmp dword [ebp + 0x3340], ebx
je 0x551b6f
mov edx, dword [ebp + 0x2dc]
cmp edx, ebx
jle 0x551b16
mov ecx, dword [ebp + 0x2d8]
mov al, byte [ecx + ebp + 0x3140]
inc ecx
dec edx
mov byte [esp + 0x12], al
mov dword [ebp + 0x2d8], ecx
mov dword [ebp + 0x2dc], edx
jmp 0x551b45
mov ecx, dword [ebp + 0x30e0]
push ebx
lea eax, [esp + 0x16]
push 1
push eax
push ecx
call sub.WSOCK32.dll_recv
mov esi, eax
push str.recv_byte
push esi
mov ecx, ebp
call fcn.00513450
test eax, eax
jne 0x551c85
mov al, byte [esp + 0x12]
cmp al, bl
jle 0x551b5f
cmp al, 0x22
jge 0x551b5f
movsx eax, al
lea edx, [eax + eax*8 + 0xc8]
mov dword [ebp + 0x3350], edx
jmp 0x551b69
cmp al, 0x21
jle 0x551b69
mov dword [ebp + 0x3350], edi
dec dword [ebp + 0x3340]
mov byte [ebp + 0x3369], bl
cmp dword [ebp + 0x3340], ebx
jne 0x551bc9
mov eax, dword [ebp + 0x2dc]
mov byte [ebp + 0x3368], 1
cmp eax, ebx
mov dword [ebp + 0x3364], ebx
jg 0x551a8e
cmp byte [esp + 0x13], bl
jne 0x551bb4
jmp 0x551a8e
push eax
call sub.WSOCK32.dll_WSASetLastError
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
push 0x2733
call sub.WSOCK32.dll_WSASetLastError
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov eax, dword [ebp + 0x2dc]
cmp eax, ebx
jle 0x551c30
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x551bdd
mov eax, ecx
mov edx, dword [ebp + 0x2d8]
mov edi, dword [esp + 0x18]
mov ecx, eax
lea esi, [edx + ebp + 0x3140]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x2d8]
mov edx, dword [ebp + 0x2dc]
mov ecx, dword [ebp + 0x3340]
add esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp + 0x2d8], esi
pop edi
mov dword [ebp + 0x2dc], edx
mov dword [ebp + 0x3340], ecx
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [ebp + 0x3340]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x551c40
mov eax, ecx
mov ecx, dword [ebp + 0x30e0]
push ebx
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call sub.WSOCK32.dll_recv
mov esi, eax
push str.rtmpt_recv
push esi
mov ecx, ebp
call fcn.00513450
test eax, eax
jne 0x551c85
mov eax, dword [ebp + 0x3340]
sub eax, esi
mov dword [ebp + 0x3340], eax
jne 0x551c85
cmp dword [ebp + 0xbc], ebx
jbe 0x551c85
mov ecx, ebp
call fcn.0054ffc0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x551d60
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x5d56a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68d01c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xa0]
lea eax, [esp + 0x10]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x20], ebx
push edx
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 eax
call fcn.005a6a18
add esp, 0xc
mov ecx, esi
push str.Sending_RTMPT_ident_n
call fcn.005133a0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005133a0
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.RTMPT_Ident
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x30e0]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
cmp edi, ebx
jne 0x551e77
mov ecx, dword [esi + 0x30e0]
push str.RTMPT_Ident_s2
push ebx
lea eax, [esp + 0x17]
push 1
push eax
push ecx
mov byte [esp + 0x23], bl
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov byte [esi + 0x3368], 1
mov dword [esi + 0x3340], ebx
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x7c], 0x1b
mov dword [esi + 0x3364], ebx
mov edx, dword [0x68d01c]
mov edi, eax
mov dword [esp + 0x14], edx
push edi
lea eax, [esp + 0x18]
push str.Send_res_ld_n
push eax
mov byte [esp + 0x2c], 1
call fcn.005a6a18
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.005133a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.005adc4d
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005adc4d
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x551ea0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x5d56c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x68d01c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xa0]
lea eax, [esp + 0x10]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x20], ebx
push edx
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 eax
call fcn.005a6a18
add esp, 0xc
mov ecx, esi
push str.Sending_RTMPT_open_n
call fcn.005133a0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005133a0
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.RTMPT_Connect
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x30e0]
push edx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
cmp edi, ebx
jne 0x551fc9
mov ecx, dword [esi + 0x30e0]
push str.RTMPT_Connect
push ebx
lea eax, [esp + 0x17]
push 1
push eax
push ecx
mov byte [esp + 0x23], bl
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov dword [esi + 0x3360], ebx
mov byte [esi + 0x3368], 1
mov dword [esi + 0x3340], ebx
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x7c], 0x19
mov dword [esi + 0x3358], ebx
mov dword [esi + 0x335c], ebx
mov dword [esi + 0x3364], ebx
mov edx, dword [0x68d01c]
mov edi, eax
mov dword [esp + 0x14], edx
push edi
lea eax, [esp + 0x18]
push str.Send_res_ld_n
push eax
mov byte [esp + 0x2c], 1
call fcn.005a6a18
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.005133a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.005adc4d
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005adc4d
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x551ff0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x5d56d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x68d01c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xa0]
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x3360]
push ebx
mov edx, dword [ecx]
mov ecx, dword [esi + 0x3354]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
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 eax
mov dword [esp + 0x34], 0
call fcn.005a6a18
mov edi, dword [esi + 0x3360]
mov eax, dword [esp + 0x28]
add esp, 0x1c
inc edi
mov dword [esi + 0x3360], edi
mov ecx, dword [eax - 8]
push str.RTMPT_send
push 0
push ecx
mov ecx, dword [esi + 0x30e0]
push eax
push ecx
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
mov edi, eax
test edi, edi
je 0x5520ad
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005adc4d
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x30e0]
push str.RTMPT_send
push 0
push ebx
push edx
push eax
call sub.WSOCK32.dll_send
push eax
mov ecx, esi
call fcn.00513450
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.005adc4d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x5534e0
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xa0]
mov dword [edi + 0x3124], 0
cmp dword [eax + 0x24], 5
jne 0x55350b
lea ecx, [esp + 0xb]
push 1
push ecx
mov ecx, edi
call fcn.00551a80
jmp 0x553520
mov eax, dword [edi + 0x30e0]
push 0
lea edx, [esp + 0xf]
push 1
push edx
push eax
call sub.WSOCK32.dll_recv
push str.recv_pheader_type
push eax
mov ecx, edi
call fcn.00513450
mov ecx, eax
test ecx, ecx
je 0x553544
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.00514da0
mov cl, byte [esp + 0xb]
mov esi, dword [esp + 0x10]
mov al, cl
and cl, 0x3f
sar al, 6
and al, 3
mov byte [esi + 6], cl
mov byte [esi + 4], al
and eax, 0xff
mov eax, dword [eax*4 + 0x60473c]
cmp eax, 0xc
mov dword [edi + 0x48c0], eax
jne 0x55357e
mov byte [esi + 0x10], 1
cmp dword [edi + 0x48c0], 0xc
jge 0x5535e3
mov ecx, esi
call fcn.00557f70
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov dl, byte [edi + ecx*8 + 0x33a0]
lea eax, [edi + ecx*8 + 0x339c]
mov byte [esi + 4], dl
mov cl, byte [eax + 5]
mov byte [esi + 5], cl
mov dl, byte [eax + 6]
mov byte [esi + 6], dl
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov cl, byte [eax + 0x10]
mov byte [esi + 0x10], cl
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov dl, byte [eax + 0x24]
mov byte [esi + 0x24], dl
mov ecx, dword [edi + 0x48c0]
xor eax, eax
dec ecx
mov dword [edi + 0x48c0], ecx
lea ecx, [edi + 0x48c4]
mov dword [edi + 0x48c4], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [edi + 0x3118], eax
mov eax, dword [edi + 0x48c0]
mov dword [edi + 0x7c], 0x16
test eax, eax
jle 0x55362e
mov ecx, edi
call fcn.005511e0
test eax, eax
je 0x55362e
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.00553640
pop edi
pop esi
pop ecx
ret 4
Function at 0x553640
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x48c0]
test eax, eax
jle 0x5536d6
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x24]
mov ecx, dword [esi + 0x3118]
cmp edx, 5
jne 0x55367a
sub eax, ecx
lea edx, [ecx + esi + 0x48c4]
push eax
push edx
mov ecx, esi
call fcn.00551a80
jmp 0x553693
sub eax, ecx
push 0
push eax
lea eax, [ecx + esi + 0x48c4]
mov ecx, dword [esi + 0x30e0]
push eax
push ecx
call sub.WSOCK32.dll_recv
mov edi, eax
push str.recv_pheader
push edi
mov ecx, esi
call fcn.00513450
mov ecx, eax
test ecx, ecx
je 0x5536b8
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
ret 4
mov edx, dword [esi + 0x3118]
mov ecx, dword [esi + 0x48c0]
add edx, edi
mov eax, edx
mov dword [esi + 0x3118], edx
cmp eax, ecx
jne 0x5537d4
mov ecx, esi
call fcn.00514da0
mov eax, dword [esi + 0x48c0]
mov edi, dword [esp + 0xc]
cmp eax, 3
jl 0x5536fe
lea edx, [esi + 0x48c4]
push edx
call fcn.00552580
add esp, 4
mov dword [edi + 8], eax
cmp dword [esi + 0x48c0], 6
jl 0x553739
lea eax, [esi + 0x48c7]
push eax
call fcn.00552580
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.00557f70
cmp dword [esi + 0x48c0], 6
jle 0x553739
mov cl, byte [esi + 0x48ca]
mov byte [edi + 5], cl
cmp dword [esi + 0x48c0], 0xb
jne 0x553754
lea edx, [esi + 0x48cb]
push edx
call fcn.00533900
add esp, 4
mov dword [edi + 0xc], eax
xor eax, eax
xor cl, cl
mov al, byte [edi + 5]
add eax, 0xfffffff8
cmp eax, 0xe
ja case.0x55376b.9
xor edx, edx
mov dl, byte [eax + 0x5537e4]
jmp dword [edx*4 + 0x5537dc]
mov cl, 1
mov dl, byte [edi + 0x10]
mov eax, dword [edi + 8]
test dl, dl
mov dword [edi + 0x14], eax
jne 0x553792
xor edx, edx
mov dl, byte [edi + 6]
mov edx, dword [esi + edx*4 + 0x479c]
add edx, eax
mov dword [edi + 0x14], edx
test cl, cl
je 0x5537b5
mov ecx, esi
mov dword [esi + 0x7c], 0x18
call fcn.005511e0
test eax, eax
jne 0x5537d4
push edi
mov ecx, esi
call fcn.00553800
pop edi
pop esi
ret 4
mov ecx, esi
mov dword [esi + 0x7c], 0x17
call fcn.005511e0
test eax, eax
jne 0x5537d4
push edi
mov ecx, esi
call fcn.00555b70
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x555b70
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x18]
mov edi, ecx
cmp eax, ebx
jbe 0x555bac
cmp dword [esi + 0x20], ebx
jne 0x555bac
push eax
mov ecx, esi
call fcn.00557eb0
test al, al
jne 0x555bac
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.005133a0
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 4
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ebp, dword [edi + 0x3370]
sub eax, edx
cmp ebp, ebx
jne 0x555bc4
mov ebp, dword [edi + 0x336c]
cmp eax, ebp
jge 0x555bca
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x3370], ebx
je 0x555c32
mov eax, dword [edi + 0xa0]
cmp dword [eax + 0x24], 5
jne 0x555bf3
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
add ecx, edx
push ebp
push ecx
mov ecx, edi
call fcn.00551a80
jmp 0x555c0b
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push 0
add edx, eax
mov eax, dword [edi + 0x30e0]
push ebp
push edx
push eax
call sub.WSOCK32.dll_recv
mov ebx, eax
push str.recv_pheader
push ebx
mov ecx, edi
call fcn.00513450
mov ecx, eax
test ecx, ecx
je 0x555c32
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
pop ebp
and eax, ecx
pop ebx
ret 4
mov ecx, dword [esi + 0x1c]
add ecx, ebx
cmp ebx, ebp
mov dword [esi + 0x1c], ecx
je 0x555c4f
sub ebp, ebx
xor eax, eax
mov dword [edi + 0x3370], ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4
xor eax, eax
mov dl, byte [esi + 4]
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8 + 0x339c]
mov byte [eax + 4], dl
mov cl, byte [esi + 5]
mov byte [eax + 5], cl
mov dl, byte [esi + 6]
mov byte [eax + 6], dl
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov cl, byte [esi + 0x10]
mov byte [eax + 0x10], cl
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x20], ecx
mov dl, byte [esi + 0x24]
mov byte [eax + 0x24], dl
mov ecx, edi
mov dword [edi + 0x7c], 0x15
mov dword [edi + 0x3370], 0
call fcn.00514da0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x555d35
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x555ce0
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x479c]
add edx, eax
mov dword [esi + 0x14], edx
mov ecx, dword [esi + 0x14]
xor eax, eax
mov al, byte [esi + 6]
push esi
mov dword [edi + eax*4 + 0x479c], ecx
xor eax, eax
mov al, byte [esi + 6]
lea edx, [eax + eax*4]
xor eax, eax
mov dword [edi + edx*8 + 0x33bc], 0
mov al, byte [esi + 6]
add eax, 0x14b
lea eax, [eax + eax*4]
mov dword [edi + eax*8], 0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8 + 0x33ac], 0
mov ecx, edi
call fcn.00556000
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.00557f50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x557010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0050b870
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.0050bcc0
test eax, eax
jge 0x557067
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.005133a0
jmp 0x5571e0
push 0
lea ecx, [esp + 0x10]
call fcn.0050be20
mov ecx, eax
call fcn.0050b1c0
push eax
lea ecx, [esp + 0xc]
call fcn.005adcbb
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.00592db4
add esp, 8
test eax, eax
jne 0x5571d2
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.005adcbb
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00556f20
test al, al
je 0x5571d2
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x557155
mov edi, dword [esi + 0xa0]
fld qword [edi + 0x300]
fcomp qword [0x5e3750]
fnstsw ax
test ah, 0x41
jne 0x557155
mov ecx, dword [esp + 0x30]
call fcn.0050b1b0
fcomp qword [edi + 0x300]
fnstsw ax
test ah, 0x40
jne 0x5571c3
mov edx, dword [0x68d01c]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0xa0]
mov byte [esp + 0x28], 2
mov ecx, dword [eax + 0x304]
push ecx
mov edx, dword [eax + 0x300]
lea eax, [esp + 0x38]
push edx
push str.Duration_dont_match__New_duration___f_n
push eax
call fcn.005a6a18
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.005133a0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x5571be
mov ecx, dword [esp + 0x30]
call fcn.0050b1b0
mov edx, dword [esi + 0xa0]
fstp qword [edx + 0x300]
mov ecx, dword [esi + 0x30e4]
call fcn.0055a700
mov eax, dword [0x68d01c]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0xa0]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x304]
push edx
mov eax, dword [ecx + 0x300]
lea ecx, [esp + 0x38]
push eax
push str.Duration___f_n
push ecx
call fcn.005a6a18
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.005133a0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.005adc4d
mov eax, dword [0x692bac]
push 1
push eax
mov ecx, esi
call fcn.005132d0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005adc4d
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0050b8e0
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8