joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59f280
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62d850
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 + 0x322c]
mov dword [ebp - 0x10], esp
test eax, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
jne 0x59f2e2
push 0x3ff
call fcn.005e7a99
add esp, 4
mov edi, eax
mov ecx, 0xff
xor eax, eax
mov dword [ebx + 0x322c], edi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebx + 0x3238], 0x3ff
mov eax, dword [ebx + 0x3238]
mov ecx, dword [ebx + 0x322c]
push eax
push 0
push ecx
call fcn.005e81b0
mov ecx, dword [ebx + 0x322c]
add esp, 0xc
sub eax, ecx
mov byte [ebp - 0x11], 0
mov edi, eax
mov dword [ebp - 0x1c], edi
mov edx, dword [ebx + 0x38c]
test edx, edx
jle 0x59f43f
mov ecx, dword [ebx + 0x388]
mov eax, 0x200
sub eax, ecx
mov esi, edx
cmp edx, eax
jl 0x59f32e
mov esi, eax
push esi
lea edx, [ecx + ebx + 0x323c]
push 0xa
push edx
call fcn.005e81b0
add esp, 0xc
test eax, eax
je 0x59f35b
mov edx, dword [ebx + 0x388]
sub eax, ebx
sub eax, edx
sub eax, 0x323b
mov esi, eax
mov dword [ebp - 0x18], esi
jmp 0x59f35e
mov dword [ebp - 0x18], esi
mov eax, dword [ebx + 0x3238]
mov ecx, eax
sub ecx, edi
dec ecx
cmp esi, ecx
jl 0x59f3a7
mov edx, dword [ebx + 0x322c]
lea eax, [eax + esi + 1]
push eax
push edx
mov dword [ebx + 0x3238], eax
call fcn.005e8d47
add esp, 8
mov dword [ebx + 0x322c], eax
test eax, eax
jne 0x59f3a7
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 + 0x322c]
mov eax, dword [ebx + 0x388]
mov ecx, esi
add edi, edx
mov edx, ecx
lea esi, [ebx + eax + 0x323c]
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 + 0x388]
mov edx, dword [ebx + 0x38c]
add eax, ecx
add esi, ecx
sub edx, ecx
mov ecx, dword [ebx + 0x322c]
mov dword [ebx + 0x388], esi
mov dword [ebx + 0x38c], edx
mov dword [ebp - 0x1c], eax
mov byte [eax + ecx], 0
mov edx, dword [ebx + 0x322c]
cmp byte [eax + edx - 1], 0xa
je 0x59f4c3
mov al, byte [ebp - 0x11]
test al, al
je 0x59f43f
mov eax, dword [ebx + 0x31d8]
push 0
push eax
mov ecx, ebx
call fcn.0054eee0
test eax, eax
je 0x59f43f
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 + 0x31d8]
lea edi, [ebx + 0x323c]
push 0
push 0x200
push edi
push ecx
call sub.WS2_32.dll_recv
mov esi, eax
push str.recv_next_line
push esi
mov ecx, ebx
call fcn.0054d360
cmp eax, 0x2733
jne 0x59f480
mov edx, dword [ebx + 0x31d8]
push 0
push 0x200
push edi
push edx
jmp 0x59f454
test eax, eax
jne 0x59f4c5
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x388], eax
mov dword [ebx + 0x38c], esi
mov byte [ebp - 0x11], 1
jmp 0x59f30b
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 0x59fad0
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 + 0x343c], ebx
je 0x59fafa
cmp byte [ebp + 0x3464], bl
je 0x59fafa
mov byte [ebp + 0x3464], bl
mov byte [ebp + 0x3465], bl
mov al, byte [ebp + 0x3464]
mov byte [esp + 0x13], bl
cmp al, bl
je 0x59fb23
mov ecx, ebp
call fcn.0059f930
cmp eax, ebx
jne 0x59fbf3
mov byte [ebp + 0x3465], 1
mov byte [esp + 0x13], 1
cmp byte [ebp + 0x3465], bl
je 0x59fbc5
cmp dword [ebp + 0x343c], ebx
je 0x59fbbf
mov edx, dword [ebp + 0x38c]
cmp edx, ebx
jle 0x59fb66
mov ecx, dword [ebp + 0x388]
mov al, byte [ecx + ebp + 0x323c]
inc ecx
dec edx
mov byte [esp + 0x12], al
mov dword [ebp + 0x388], ecx
mov dword [ebp + 0x38c], edx
jmp 0x59fb95
mov ecx, dword [ebp + 0x31d8]
push ebx
lea eax, [esp + 0x16]
push 1
push eax
push ecx
call sub.WS2_32.dll_recv
mov esi, eax
push str.recv_byte
push esi
mov ecx, ebp
call fcn.0054d360
test eax, eax
jne 0x59fcd5
mov al, byte [esp + 0x12]
cmp al, bl
jle 0x59fbaf
cmp al, 0x22
jge 0x59fbaf
movsx eax, al
lea edx, [eax + eax*8 + 0xc8]
mov dword [ebp + 0x344c], edx
jmp 0x59fbb9
cmp al, 0x21
jle 0x59fbb9
mov dword [ebp + 0x344c], edi
dec dword [ebp + 0x343c]
mov byte [ebp + 0x3465], bl
cmp dword [ebp + 0x343c], ebx
jne 0x59fc19
mov eax, dword [ebp + 0x38c]
mov byte [ebp + 0x3464], 1
cmp eax, ebx
mov dword [ebp + 0x3460], ebx
jg 0x59fade
cmp byte [esp + 0x13], bl
jne 0x59fc04
jmp 0x59fade
push eax
call sub.WS2_32.dll_WSASetLastError
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
push 0x2733
call sub.WS2_32.dll_WSASetLastError
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov eax, dword [ebp + 0x38c]
cmp eax, ebx
jle 0x59fc80
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x59fc2d
mov eax, ecx
mov edx, dword [ebp + 0x388]
mov edi, dword [esp + 0x18]
mov ecx, eax
lea esi, [edx + ebp + 0x323c]
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 + 0x388]
mov edx, dword [ebp + 0x38c]
mov ecx, dword [ebp + 0x343c]
add esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp + 0x388], esi
pop edi
mov dword [ebp + 0x38c], edx
mov dword [ebp + 0x343c], ecx
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [ebp + 0x343c]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jl 0x59fc90
mov eax, ecx
mov ecx, dword [ebp + 0x31d8]
push ebx
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call sub.WS2_32.dll_recv
mov esi, eax
push str.rtmpt_recv
push esi
mov ecx, ebp
call fcn.0054d360
test eax, eax
jne 0x59fcd5
mov eax, dword [ebp + 0x343c]
sub eax, esi
mov dword [ebp + 0x343c], eax
jne 0x59fcd5
cmp dword [ebp + 0xd4], ebx
jbe 0x59fcd5
mov ecx, ebp
call fcn.0059e000
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x59fdb0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x62d8a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6cd768]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xb0]
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.005fc86b
add esp, 0xc
mov ecx, esi
push str.Sending_RTMPT_ident_n
call fcn.0054d2a0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0054d2a0
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 + 0x31d8]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
cmp edi, ebx
jne 0x59feca
mov ecx, dword [esi + 0x31d8]
push str.RTMPT_Ident_s2
push ebx
lea eax, [esp + 0x17]
push 1
push eax
push ecx
mov byte [esp + 0x23], bl
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov byte [esi + 0x3464], 1
mov dword [esi + 0x343c], ebx
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x8c], 0x1b
mov dword [esi + 0x3460], ebx
mov edx, dword [0x6cd768]
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.005fc86b
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054d2a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00603a3c
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00603a3c
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 0x59fef0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x62d8c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6cd768]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0xb0]
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.005fc86b
add esp, 0xc
mov ecx, esi
push str.Sending_RTMPT_open_n
call fcn.0054d2a0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0054d2a0
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 + 0x31d8]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
cmp edi, ebx
jne 0x5a001c
mov ecx, dword [esi + 0x31d8]
push str.RTMPT_Connect
push ebx
lea eax, [esp + 0x17]
push 1
push eax
push ecx
mov byte [esp + 0x23], bl
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov dword [esi + 0x345c], ebx
mov byte [esi + 0x3464], 1
mov dword [esi + 0x343c], ebx
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x8c], 0x19
mov dword [esi + 0x3454], ebx
mov dword [esi + 0x3458], ebx
mov dword [esi + 0x3460], ebx
mov edx, dword [0x6cd768]
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.005fc86b
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054d2a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00603a3c
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00603a3c
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 0x5a0050
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x62d8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6cd768]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xb0]
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x345c]
push ebx
mov edx, dword [ecx]
mov ecx, dword [esi + 0x3450]
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.005fc86b
mov edi, dword [esi + 0x345c]
mov eax, dword [esp + 0x28]
add esp, 0x1c
inc edi
mov dword [esi + 0x345c], edi
mov ecx, dword [eax - 8]
push str.RTMPT_send
push 0
push ecx
mov ecx, dword [esi + 0x31d8]
push eax
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
test edi, edi
je 0x5a010d
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00603a3c
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 + 0x31d8]
push str.RTMPT_send
push 0
push ebx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00603a3c
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 0x5a15d0
Capabilities:
Enumerate pe sections
Receive data
Receive data on socket

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xb0]
mov dword [edi + 0x3220], 0
cmp dword [eax + 0x24], 5
jne 0x5a15fb
lea ecx, [esp + 0xb]
push 1
push ecx
mov ecx, edi
call fcn.0059fad0
jmp 0x5a1610
mov eax, dword [edi + 0x31d8]
push 0
lea edx, [esp + 0xf]
push 1
push edx
push eax
call sub.WS2_32.dll_recv
push str.recv_pheader_type
push eax
mov ecx, edi
call fcn.0054d360
mov ecx, eax
test ecx, ecx
je 0x5a1634
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ecx
ret 4
mov ecx, edi
call fcn.0054f6f0
mov cl, byte [esp + 0xb]
mov esi, dword [esp + 0x10]
mov al, cl
sar al, 6
and al, 3
and cl, 0x3f
mov byte [esi + 4], al
mov byte [esi + 6], cl
jne 0x5a165e
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret 4
cmp cl, 1
jne 0x5a166c
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret 4
and eax, 0xff
mov eax, dword [eax*4 + 0x63f1b4]
cmp eax, 0xc
mov dword [edi + 0x49bc], eax
jne 0x5a1687
mov byte [esi + 0x10], 1
cmp dword [edi + 0x49bc], 0xc
jge 0x5a16ec
mov ecx, esi
call fcn.005a64d0
xor eax, eax
mov al, byte [esi + 6]
lea ecx, [eax + eax*4]
mov dl, byte [edi + ecx*8 + 0x349c]
lea eax, [edi + ecx*8 + 0x3498]
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 + 0x49bc]
xor eax, eax
dec ecx
mov dword [edi + 0x49bc], ecx
lea ecx, [edi + 0x49c0]
mov dword [edi + 0x49c0], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [edi + 0x3214], eax
mov eax, dword [edi + 0x49bc]
mov dword [edi + 0x8c], 0x16
test eax, eax
jle 0x5a173a
mov ecx, edi
call fcn.0059f230
test eax, eax
je 0x5a173a
pop edi
xor eax, eax
pop esi
pop ecx
ret 4
push esi
mov ecx, edi
call fcn.005a1750
pop edi
pop esi
pop ecx
ret 4
Function at 0x5a1750
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x49bc]
test eax, eax
jle 0x5a17e8
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx + 0x24]
mov ecx, dword [esi + 0x3214]
cmp edx, 5
jne 0x5a178b
sub eax, ecx
lea edx, [ecx + esi + 0x49c0]
push eax
push edx
mov ecx, esi
call fcn.0059fad0
jmp 0x5a17a4
sub eax, ecx
push 0
push eax
lea eax, [ecx + esi + 0x49c0]
mov ecx, dword [esi + 0x31d8]
push eax
push ecx
call sub.WS2_32.dll_recv
mov edi, eax
push str.recv_pheader
push edi
mov ecx, esi
call fcn.0054d360
mov ecx, eax
test ecx, ecx
je 0x5a17ca
sub eax, 0x2733
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
ret 4
mov edx, dword [esi + 0x3214]
mov ecx, dword [esi + 0x49bc]
add edx, edi
mov eax, edx
mov dword [esi + 0x3214], edx
cmp eax, ecx
jne 0x5a1957
mov ecx, esi
call fcn.0054f6f0
mov eax, dword [esi + 0x49bc]
mov edi, dword [esp + 0x10]
xor bl, bl
cmp eax, 3
jl 0x5a18c8
lea edx, [esi + 0x49c0]
push edx
call fcn.005a05e0
mov dword [edi + 8], eax
mov eax, dword [esi + 0x49bc]
add esp, 4
cmp eax, 6
jl 0x5a1853
lea eax, [esi + 0x49c3]
push eax
call fcn.005a05e0
add esp, 4
mov ecx, edi
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
call fcn.005a64d0
cmp dword [esi + 0x49bc], 6
jle 0x5a1853
mov cl, byte [esi + 0x49c6]
mov byte [edi + 5], cl
cmp dword [esi + 0x49bc], 0xb
jne 0x5a186e
lea edx, [esi + 0x49c7]
push edx
call fcn.00577410
add esp, 4
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0xffffff
jne 0x5a18c8
mov eax, dword [esi + 0xb0]
cmp dword [eax + 0x24], 5
jne 0x5a1893
lea ecx, [esp + 0x10]
push 4
push ecx
mov ecx, esi
call fcn.0059fad0
jmp 0x5a18a8
mov eax, dword [esi + 0x31d8]
push 0
lea edx, [esp + 0x14]
push 4
push edx
push eax
call sub.WS2_32.dll_recv
cmp eax, 4
je 0x5a18b6
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 4
lea ecx, [esp + 0x10]
push ecx
call fcn.005a0610
add esp, 4
mov dword [edi + 0x14], eax
mov bl, 1
xor eax, eax
xor cl, cl
mov al, byte [edi + 5]
add eax, 0xfffffff8
cmp eax, 0xe
ja case.0x5a18df.9
xor edx, edx
mov dl, byte [eax + 0x5a1968]
jmp dword [edx*4 + 0x5a1960]
mov cl, 1
test bl, bl
jne 0x5a18f2
mov eax, dword [edi + 8]
mov dword [edi + 0x14], eax
mov al, byte [edi + 0x10]
test al, al
jne 0x5a190d
xor edx, edx
mov dl, byte [edi + 6]
mov eax, dword [esi + edx*4 + 0x4898]
mov edx, dword [edi + 0x14]
add edx, eax
mov dword [edi + 0x14], edx
test cl, cl
je 0x5a1934
mov ecx, esi
mov dword [esi + 0x8c], 0x18
call fcn.0059f230
test eax, eax
jne 0x5a1957
push edi
mov ecx, esi
call fcn.005a1980
pop edi
pop esi
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x8c], 0x17
call fcn.0059f230
test eax, eax
jne 0x5a1957
push edi
mov ecx, esi
call fcn.005a3d50
pop edi
pop esi
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x5a3d50
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 0x5a3d8c
cmp dword [esi + 0x20], ebx
jne 0x5a3d8c
push eax
mov ecx, esi
call fcn.005a6410
test al, al
jne 0x5a3d8c
push str.Err_in_RTMPConn_17_n
mov ecx, edi
call fcn.0054d2a0
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 + 0x346c]
sub eax, edx
cmp ebp, ebx
jne 0x5a3da4
mov ebp, dword [edi + 0x3468]
cmp eax, ebp
jge 0x5a3daa
mov ebp, eax
test ebp, ebp
mov dword [edi + 0x346c], ebx
je 0x5a3e12
mov eax, dword [edi + 0xb0]
cmp dword [eax + 0x24], 5
jne 0x5a3dd3
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
add ecx, edx
push ebp
push ecx
mov ecx, edi
call fcn.0059fad0
jmp 0x5a3deb
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x1c]
push 0
add edx, eax
mov eax, dword [edi + 0x31d8]
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.0054d360
mov ecx, eax
test ecx, ecx
je 0x5a3e12
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 0x5a3e2f
sub ebp, ebx
xor eax, eax
mov dword [edi + 0x346c], 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 + 0x3498]
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 + 0x8c], 0x15
mov dword [edi + 0x346c], 0
call fcn.0054f6f0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x5a3f12
mov cl, byte [esi + 0x10]
mov eax, dword [esi + 8]
test cl, cl
mov dword [esi + 0x14], eax
jne 0x5a3ec3
xor ecx, ecx
mov cl, byte [esi + 6]
mov edx, dword [edi + ecx*4 + 0x4898]
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 + 0x4898], ecx
xor eax, eax
mov al, byte [esi + 6]
xor ecx, ecx
lea edx, [eax + eax*4]
xor eax, eax
mov dword [edi + edx*8 + 0x34b8], ecx
mov al, byte [esi + 6]
lea eax, [eax + eax*4]
mov dword [edi + eax*8 + 0x34b4], ecx
xor eax, eax
mov al, byte [esi + 6]
add eax, 0x151
lea ecx, [eax + eax*4]
mov byte [edi + ecx*8], 0
mov ecx, edi
call fcn.005a41e0
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov ecx, esi
mov dword [esi + 0x20], 0
call fcn.005a64b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x5a5550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62dd00
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.005419c0
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.00541e10
test eax, eax
jge 0x5a55a7
push str.Error_decoding_metadata_n
mov ecx, esi
call fcn.0054d2a0
jmp 0x5a5721
push 0
lea ecx, [esp + 0x10]
call fcn.00541f80
mov ecx, eax
call fcn.00541310
push eax
lea ecx, [esp + 0xc]
call fcn.00603aaa
mov edx, dword [esp + 8]
push str.onMetaData
push edx
mov byte [esp + 0x30], 1
call fcn.005e897a
add esp, 8
test eax, eax
jne 0x5a5713
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.duration
call fcn.00603aaa
lea ecx, [esp + 0x14]
push ecx
call fcn.005a5460
add esp, 0xc
test al, al
je 0x5a5713
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x5a5696
mov edi, dword [esi + 0xb0]
fld qword [edi + 0x360]
fcomp qword [0x634d48]
fnstsw ax
test ah, 0x41
jne 0x5a5696
mov ecx, dword [esp + 0x30]
call fcn.005412e0
fcomp qword [edi + 0x360]
fnstsw ax
test ah, 0x40
jne 0x5a5704
mov edx, dword [0x6cd768]
mov dword [esp + 0x34], edx
mov eax, dword [esi + 0xb0]
mov byte [esp + 0x28], 2
mov ecx, dword [eax + 0x364]
push ecx
mov edx, dword [eax + 0x360]
lea eax, [esp + 0x38]
push edx
push str.Duration_dont_match__New_duration___f_n
push eax
call fcn.005fc86b
mov ecx, dword [esp + 0x44]
add esp, 0x10
push ecx
mov ecx, esi
call fcn.0054d2a0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
jmp 0x5a56ff
mov ecx, dword [esp + 0x30]
call fcn.005412e0
mov edx, dword [esi + 0xb0]
fstp qword [edx + 0x360]
mov ecx, dword [esi + 0x31dc]
call fcn.005a8ef0
mov eax, dword [0x6cd768]
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0xb0]
mov byte [esp + 0x28], 3
mov edx, dword [ecx + 0x364]
push edx
mov eax, dword [ecx + 0x360]
lea ecx, [esp + 0x38]
push eax
push str.Duration___f_n
push ecx
call fcn.005fc86b
mov edx, dword [esp + 0x44]
add esp, 0x10
mov ecx, esi
push edx
call fcn.0054d2a0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x34]
call fcn.00603a3c
mov eax, dword [0x6d35f0]
push 1
push eax
mov ecx, esi
call fcn.0054d1d0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00603a3c
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00541a30
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x5a7b80
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.005e7bd3
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x104]
add esp, 0xc
lea eax, [esp + 4]
push 0x10
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
add esp, 0x10
ret 8

Function at 0x5a7bd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
push str._dkf
push ecx
call fcn.005e7bd3
mov eax, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 4]
push edx
mov edx, dword [esi + 0x104]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 0x10
ret 8