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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656c20
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
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
mov dword [ebp - 4], 0
cmp dword [esi + 0x323c], 0
jne 0x59dffa
push 0x3ff
call fcn.0061586f
mov dword [esi + 0x323c], eax
push 0x3ff
push 0
push eax
call fcn.00613900
add esp, 0x10
mov dword [esi + 0x3248], 0x3ff
mov eax, dword [esi + 0x3248]
mov ecx, dword [esi + 0x323c]
push eax
push 0
push ecx
call fcn.00615a10
add esp, 0xc
sub eax, dword [esi + 0x323c]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x11], 0
mov edi, dword [esi + 0x39c]
test edi, edi
jle 0x59e13f
mov ecx, dword [esi + 0x398]
mov eax, 0x200
sub eax, ecx
cmp edi, eax
jl 0x59e042
mov edi, eax
lea eax, [ecx + esi + 0x324c]
push edi
push 0xa
push eax
call fcn.00615a10
add esp, 0xc
test eax, eax
je 0x59e068
sub eax, esi
sub eax, dword [esi + 0x398]
sub eax, 0x324b
mov edi, eax
mov eax, dword [esi + 0x3248]
mov ecx, eax
sub ecx, ebx
dec ecx
cmp edi, ecx
jl 0x59e0b2
lea eax, [eax + edi + 1]
mov dword [esi + 0x3248], eax
push eax
mov edx, dword [esi + 0x323c]
push edx
call fcn.00616e1f
add esp, 8
mov dword [esi + 0x323c], eax
test eax, eax
jne 0x59e0b2
mov eax, 0x753b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov eax, dword [esi + 0x398]
lea ecx, [esi + eax + 0x324c]
push ecx
mov edx, dword [esi + 0x323c]
add edx, ebx
push edx
call fcn.00614de0
add esp, 0xc
add ebx, edi
mov dword [ebp - 0x18], ebx
add dword [esi + 0x398], edi
sub dword [esi + 0x39c], edi
mov eax, dword [esi + 0x323c]
mov byte [ebx + eax], 0
mov ecx, dword [esi + 0x323c]
cmp byte [ebx + ecx - 1], 0xa
jne 0x59e10e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x11], 0
je 0x59e13f
push 0
mov edx, dword [esi + 0x31e8]
push edx
mov ecx, esi
call fcn.00559b80
test eax, eax
je 0x59e13f
mov eax, 0x7533
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [esi + 0x324c]
push 0
push 0x200
push ebx
mov eax, dword [esi + 0x31e8]
push eax
call sub.WS2_32.dll_recv
push str.recv_next_line
mov edi, eax
push edi
mov ecx, esi
call fcn.005582d0
cmp eax, 0x2733
jne 0x59e180
push 0
push 0x200
push ebx
mov ecx, dword [esi + 0x31e8]
push ecx
jmp 0x59e154
test eax, eax
jne 0x59e1b9
mov dword [esi + 0x398], eax
mov dword [esi + 0x39c], edi
mov byte [ebp - 0x11], 1
mov ebx, dword [ebp - 0x18]
jmp 0x59e021
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 0x59ed00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7496c8]
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 + 0x9c]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [esi + 0x31ec]
cmp dword [eax + 0x134], 2
jne 0x59ed73
cmp dword [esi + 0x64], ebx
jl 0x59ed73
jg 0x59ed5e
cmp dword [esi + 0x60], ebx
jbe 0x59ed73
mov dword [esi + 0x9c], 7
mov dword [esi + 0x94], ebx
jmp 0x59eee3
cmp edi, 0x18
je 0x59ed81
cmp edi, 0x15
jne 0x59eee3
cmp dword [esi + 0xe0], ebx
je 0x59eee3
cmp dword [eax + 0x140], 0x757b
jne 0x59eee3
mov ecx, esi
call fcn.0059ea50
cmp eax, ebx
je 0x59eea1
push str.OneKeyFrameBack_failed__Erase_outfile_n
mov ecx, esi
call fcn.005579a0
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x60]
push ecx
push str._dkf
lea edx, [ebp - 0x24]
push edx
call fcn.0061611b
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [esi + 0x31ec]
mov edx, dword [ecx + 0x104]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [esi + 0x10]
call fcn.00560bc0
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0xe0], eax
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
test eax, eax
jge 0x59ee27
fadd qword [0x673118]
fstp qword [esi + 0x31f0]
mov dword [esi + 0xe8], ebx
cmp dword [esi + 0xe0], ebx
jne 0x59ee64
mov edx, dword [esi + 0x31ec]
cmp ecx, dword [edx + 0xb0]
jne 0x59ee64
push str.This_is_first_part__n
mov ecx, esi
call fcn.005579a0
mov byte [esi + 0x3201], 1
mov byte [esi + 0x3203], bl
jmp 0x59ee6b
mov byte [esi + 0x3203], 1
mov byte [esi + 0x3205], bl
mov byte [esi + 0x3206], bl
mov dword [esi + 0x4a28], ebx
mov dword [esi + 0x4a2c], ebx
mov byte [esi + 0x31fd], bl
mov byte [esi + 0x31fc], bl
mov dword [esi + 0x3238], ebx
mov byte [esi + 0x3209], bl
mov byte [esi + 0x3208], bl
mov byte [esi + 0xdd], 1
mov ecx, esi
call fcn.00557cd0
mov eax, dword [esi]
lea ecx, [esi + 0x31e8]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x18]
call edx
cmp eax, ebx
je 0x59eee3
mov ecx, dword [esi + 0x31ec]
mov dword [ecx + 0x140], eax
cmp eax, 0x7569
jne 0x59eee3
mov ecx, dword [esi + 0x31ec]
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.00613241
mov esp, ebp
pop ebp
ret
Function at 0x59f690
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x656db0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402500
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0xc0]
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.005579a0
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.005579a0
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f703
mov ecx, dword [esi + 0x31e8]
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.005582d0
mov edi, eax
cmp edi, ebx
jne 0x59f7b6
mov eax, dword [esi + 0x31e8]
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.005582d0
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esi + 0x3474], 1
mov dword [esi + 0x344c], ebx
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x9c], 0x1b
mov dword [esi + 0x3470], ebx
call fcn.00402500
mov byte [esp + 0x24], 1
push edi
lea ecx, [esp + 0x1c]
push 0x6a54d0
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.005579a0
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00402570
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
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 0x59f7e0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x656db0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402500
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0xc0]
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.005579a0
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.005579a0
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f853
mov ecx, dword [esi + 0x31e8]
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.005582d0
mov edi, eax
cmp edi, ebx
jne 0x59f918
mov eax, dword [esi + 0x31e8]
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.005582d0
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esi + 0x346c], ebx
mov byte [esi + 0x3474], 1
mov dword [esi + 0x344c], ebx
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x9c], 0x19
mov dword [esi + 0x3464], ebx
mov dword [esi + 0x3468], ebx
mov dword [esi + 0x3470], ebx
call fcn.00402500
mov byte [esp + 0x24], 1
push edi
lea ecx, [esp + 0x1c]
push 0x6a54d0
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.005579a0
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00402570
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
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 + 0x3474], 0
je 0x5a06d7
call fcn.0059e3a0
test eax, eax
jne 0x5a0717
push str.Ident_data:_n
mov ecx, esi
mov dword [esi + 0x3468], eax
call fcn.005579a0
cmp dword [esi + 0x344c], 0
push ebp
push edi
je 0x5a0746
push 0x200
lea ebp, [esi + 0x324c]
push ebp
mov ecx, esi
call fcn.005a04c0
mov edi, eax
push str.recv_identres
push edi
mov ecx, esi
call fcn.005582d0
mov ecx, eax
test ecx, ecx
je 0x5a0719
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.0054b6b0
add dword [esi + 0x3468], edi
mov eax, dword [esi + 0x3468]
cmp dword [esi + 0x344c], eax
mov dword [esi + 0x398], 0
jle 0x5a0746
pop edi
pop ebp
xor eax, eax
pop esi
ret
push 1
push 0x670fe8
mov ecx, esi
call fcn.0054b6b0
push str.Ident_res_OK_n
mov ecx, esi
call fcn.005579a0
pop edi
pop ebp
mov ecx, esi
pop esi
jmp 0x59f7e0
Function at 0x59f940
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x63e148
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.00402500
mov dword [esp + 0x1c], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x346c]
mov eax, dword [esi + 0x3460]
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 + 0x346c]
mov ecx, dword [eax - 0xc]
add esp, 0x1c
push str.RTMPT_send
push 0
push ecx
push eax
mov eax, dword [esi + 0x31e8]
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
test edi, edi
je 0x59fa02
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
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 + 0x31e8]
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.005582d0
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
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 0x5a02e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656e68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
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.0059e650
mov byte [esi + 0x31fd], bl
mov dword [esi + 0xe4], ebx
mov dword [esi + 0x49f4], ebx
mov byte [esi + 0x3209], bl
mov byte [esi + 0xdd], bl
cmp dword [esi + 0x3218], ebx
jne 0x5a0353
push 0x601
call fcn.005e76b2
add esp, 4
mov dword [esi + 0x3218], eax
mov eax, dword [esi + 0x3218]
cmp eax, ebx
jne 0x5a0374
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.00616d61
add esp, 4
mov ecx, dword [ebp - 0x28]
push ecx
call sub.WS2_32.dll_htonl
mov edx, dword [esi + 0x3218]
mov dword [edx + 1], eax
mov eax, dword [esi + 0x3218]
add eax, 5
mov dword [eax], ebx
mov edi, 9
mov dword [ebp - 0x18], edi
cmp edi, 0x600
jg 0x5a03cf
call fcn.00617f66
and eax, 0x800000ff
jns 0x5a03c3
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [esi + 0x3218]
mov byte [edi + ecx], al
inc edi
jmp 0x5a03a5
mov edx, dword [esi + 0xc0]
cmp dword [edx + 0x24], 5
jne 0x5a03f5
push 0x601
mov eax, dword [esi + 0x3218]
push eax
push str.send
mov ecx, esi
call fcn.0059f940
jmp 0x5a041b
push str.send_handshake
push ebx
push 0x601
mov ecx, dword [esi + 0x3218]
push ecx
mov edx, dword [esi + 0x31e8]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.005582d0
mov edi, eax
lea ecx, [ebp - 0x14]
call fcn.00402500
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.005579a0
mov dword [esi + 0x321c], ebx
mov dword [esi + 0x3220], ebx
mov byte [esi + 0x31fe], bl
mov byte [esi + 0x31ff], bl
mov ecx, esi
call fcn.00557bf0
mov dword [esi + 0x9c], 0x14
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402570
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 0x5a04c0
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 + 0x344c], ebx
je 0x5a04e4
cmp byte [esi + 0x3474], bl
je 0x5a04e4
mov byte [esi + 0x3474], bl
mov byte [esi + 0x3475], bl
mov byte [esp + 0xf], bl
cmp byte [esi + 0x3474], bl
je 0x5a050b
mov ecx, esi
call fcn.0059e3a0
cmp eax, ebx
jne 0x5a05f1
mov byte [esi + 0x3475], 1
mov byte [esp + 0xf], 1
cmp byte [esi + 0x3475], bl
je 0x5a05b2
cmp dword [esi + 0x344c], ebx
je 0x5a05ac
mov edx, dword [esi + 0x39c]
cmp edx, ebx
jle 0x5a054e
mov ecx, dword [esi + 0x398]
mov al, byte [ecx + esi + 0x324c]
inc ecx
dec edx
mov byte [esp + 0xe], al
mov dword [esi + 0x398], ecx
mov dword [esi + 0x39c], edx
jmp 0x5a057d
mov ecx, dword [esi + 0x31e8]
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.005582d0
test eax, eax
jne 0x5a0699
mov al, byte [esp + 0xe]
mov dl, al
dec dl
cmp dl, 0x20
ja 0x5a0598
movsx eax, al
lea eax, [eax + eax*8 + 0xc8]
mov dword [esi + 0x345c], eax
jmp 0x5a05a6
cmp al, 0x21
jle 0x5a05a6
mov dword [esi + 0x345c], 0x1f4
dec dword [esi + 0x344c]
mov byte [esi + 0x3475], bl
cmp dword [esi + 0x344c], ebx
jne 0x5a0601
cmp dword [esi + 0x39c], ebx
mov byte [esi + 0x3474], 1
mov dword [esi + 0x3470], ebx
jg 0x5a04c8
cmp byte [esp + 0xf], bl
je 0x5a04c8
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 + 0x39c]
cmp eax, ebx
jle 0x5a064c
mov edi, dword [esp + 0x18]
cmp eax, edi
jge 0x5a0615
mov edi, eax
mov ecx, dword [esi + 0x398]
mov eax, dword [esp + 0x14]
push edi
lea edx, [ecx + esi + 0x324c]
push edx
push eax
call fcn.00614de0
add dword [esi + 0x398], edi
sub dword [esi + 0x39c], edi
add esp, 0xc
sub dword [esi + 0x344c], edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
mov eax, dword [esi + 0x344c]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jl 0x5a065c
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x31e8]
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.005582d0
test eax, eax
jne 0x5a0699
sub dword [esi + 0x344c], edi
jne 0x5a0699
cmp dword [esi + 0xe4], ebx
jbe 0x5a0699
mov ecx, esi
call fcn.005a0260
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x5a06b0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push 0xffffffffffffffff
push 0x656db0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00402500
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0xc0]
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.005579a0
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.005579a0
mov edx, dword [esp + 0x14]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x59f853
mov ecx, dword [esi + 0x31e8]
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.005582d0
mov edi, eax
cmp edi, ebx
jne 0x59f918
mov eax, dword [esi + 0x31e8]
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.005582d0
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esi + 0x346c], ebx
mov byte [esi + 0x3474], 1
mov dword [esi + 0x344c], ebx
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x9c], 0x19
mov dword [esi + 0x3464], ebx
mov dword [esi + 0x3468], ebx
mov dword [esi + 0x3470], ebx
call fcn.00402500
mov byte [esp + 0x24], 1
push edi
lea ecx, [esp + 0x1c]
push 0x6a54d0
push ecx
call fcn.00402f80
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.005579a0
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.00402570
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
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 + 0x3474], 0
je 0x5a06d7
call fcn.0059e3a0
test eax, eax
jne 0x5a0717
push str.Ident_data:_n
mov ecx, esi
mov dword [esi + 0x3468], eax
call fcn.005579a0
cmp dword [esi + 0x344c], 0
push ebp
push edi
je 0x5a0746
push 0x200
lea ebp, [esi + 0x324c]
push ebp
mov ecx, esi
call fcn.005a04c0
mov edi, eax
push str.recv_identres
push edi
mov ecx, esi
call fcn.005582d0
mov ecx, eax
test ecx, ecx
je 0x5a0719
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.0054b6b0
add dword [esi + 0x3468], edi
mov eax, dword [esi + 0x3468]
cmp dword [esi + 0x344c], eax
mov dword [esi + 0x398], 0
jle 0x5a0746
pop edi
pop ebp
xor eax, eax
pop esi
ret
push 1
push 0x670fe8
mov ecx, esi
call fcn.0054b6b0
push str.Ident_res_OK_n
mov ecx, esi
call fcn.005579a0
pop edi
pop ebp
mov ecx, esi
pop esi
jmp 0x59f7e0
Function at 0x5a0ff0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3474], 0
je 0x5a100b
call fcn.0059e3a0
test eax, eax
jne 0x5a1049
mov dword [esi + 0x3468], eax
cmp dword [esi + 0x344c], 0
push edi
je 0x5a106e
push 0x200
lea eax, [esi + 0x324c]
push eax
mov ecx, esi
call fcn.005a04c0
mov edi, eax
push str.recv_idle1res
push edi
mov ecx, esi
call fcn.005582d0
mov ecx, eax
test ecx, ecx
je 0x5a104b
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, ecx
pop edi
pop esi
ret
add dword [esi + 0x3468], edi
mov eax, dword [esi + 0x3468]
cmp dword [esi + 0x344c], eax
mov dword [esi + 0x398], 0
jle 0x5a106e
pop edi
xor eax, eax
pop esi
ret
push str.Idle_res_OK_n
mov ecx, esi
call fcn.005579a0
pop edi
mov ecx, esi
pop esi
jmp fcn.005a02e0
Function at 0x5a1770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x656f68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.005a6550
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.005a6480
cmp byte [esp + 0x48], 0
mov dword [esp + 0x20], 4
je 0x5a17dc
mov eax, dword [esp + 0x28]
push 0x2625a0
push eax
jmp 0x5a17e6
mov ecx, dword [esp + 0x28]
push 0x1312d0
push ecx
call fcn.0059e5e0
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.005a1160
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 8]
call fcn.005a6570
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 0xc

Function at 0x5a1830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x656f68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.005a6550
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.005a6480
mov eax, dword [esi + 0x49b8]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x28], 4
call fcn.0059e5e0
mov edx, dword [esi + 0x49b8]
add esp, 8
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esi + 0x49bc], edx
call fcn.005a1160
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 8]
call fcn.005a6570
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x5a2d80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6570e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.005a6550
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.005a6480
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.0059f300
add esp, 8
add esi, eax
mov byte [esp + 0x40], 0
lea ecx, [esp + 0xc]
call fcn.00402570
fld qword [esp + 0x48]
sub esp, 8
fstp qword [esp]
push esi
call fcn.0059e600
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.005a1160
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005a6570
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x38
ret 0x10