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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62baf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6d3574]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call fcn.0054d1d0
mov ebx, dword [ebp + 8]
push 0x6a1db0
push ebx
lea ecx, [ebp - 0x128]
push str.TYPE__s_s
push ecx
call fcn.005e7bd3
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x31e4]
push str.send___TYPE
not ecx
dec ecx
push 0
lea edx, [ebp - 0x128]
push ecx
push edx
push eax
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
test eax, eax
je 0x559e90
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx], 0x41
jne 0x559e99
push 0x11
jmp 0x559e9b
push 7
lea ecx, [esi + 0x31d8]
call fcn.0059db90
mov ecx, esi
call fcn.0054f6f0
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x55a020
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bb10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x6d3568]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 1
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
call fcn.0054d1d0
mov al, byte [esi + 0xc0]
mov edi, dword [ebp + 8]
cmp al, bl
je 0x55a072
mov ecx, dword [ebp + 0xc]
add edi, 0x30
adc ecx, ebx
jmp 0x55a075
mov ecx, dword [ebp + 0xc]
cmp byte [esi + 0xc7], bl
je 0x55a09a
mov eax, dword [esi + 0x17c]
cdq
cmp ecx, edx
jl 0x55a094
jg 0x55a08e
cmp edi, eax
jb 0x55a094
sub edi, eax
sbb ecx, edx
jmp 0x55a09a
mov byte [esi + 0xc7], bl
push 0x6a1db0
push ecx
push edi
lea ecx, [ebp - 0x128]
push str.REST__I64d_s
push ecx
call fcn.005e7bd3
add esp, 0x14
lea edx, [ebp - 0x128]
mov ecx, esi
push edx
call fcn.0054d2a0
lea edi, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
push str.send___REST
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
mov ecx, dword [esi + 0x31e4]
lea eax, [ebp - 0x128]
push eax
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
cmp eax, ebx
je 0x55a118
mov edx, dword [esi + 0x31f4]
mov dword [edx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xa
lea ecx, [esi + 0x31d8]
call fcn.0059db90
mov ecx, esi
call fcn.0054f6f0
mov dword [esi + 0x8c], 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55a600
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bb80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xb0]
mov dword [ebp - 4], 0
cmp dword [eax + 0x28], 2
jne 0x55a64c
xor eax, eax
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 [str.NOOP_r_n]
mov dx, word [0x6c0a10]
mov al, byte [0x6c0a12]
mov dword [ebp - 0x1c], ecx
push str.Sending_NOOP_n
mov ecx, esi
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
call fcn.0054d2a0
lea edi, [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x31e4]
repne scasb al, byte es:[edi]
not ecx
push str.send___NOOP
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
test eax, eax
je 0x55a6c2
mov ecx, dword [esi + 0x31f4]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00557570
mov byte [esi + 0x320c], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55bbf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2db4
call fcn.005e7330
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x18], ecx
push edi
xor eax, eax
mov ecx, 0xb68
lea edi, [ebp - 0x2dc4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [edx]
mov dword [ebp - 0x10], esp
mov ecx, dword [eax]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x2dc4]
push 0x2da0
push eax
push ecx
call sub.WS2_32.dll_recv
test eax, eax
mov dword [ebp - 0x24], eax
jle 0x55bd70
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edx]
jle 0x55bd0a
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + ecx]
push ebx
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
call fcn.005ffe3f
mov edx, eax
add esp, 4
test edx, edx
jne 0x55bcc3
mov eax, dword [0x6d36fc]
mov ecx, dword [ebp - 0x18]
push 1
push eax
call fcn.0054d1d0
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 0xc
mov ecx, ebx
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edi, edx
mov ecx, dword [ecx]
mov esi, dword [eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword [edx], ebx
call fcn.005ffe68
mov eax, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
mov ecx, eax
lea esi, [ebp - 0x2dc4]
mov edi, dword [edx]
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
jmp 0x55bc4b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x55db10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62bdc8
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
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x6d35dc]
push 1
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0054d1d0
mov edx, dword [esi + 0xb0]
push 0x6a1db0
push 0x6a1db0
mov eax, dword [edx + 4]
cmp eax, ebx
je 0x55db82
push eax
lea eax, [ebp - 0x14]
push str.CWD__s_sTYPE_I_s
push eax
call fcn.005fc86b
add esp, 0x14
jmp 0x55db93
lea ecx, [ebp - 0x14]
push str.TYPE_I_sNOOP_s
push ecx
call fcn.005fc86b
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x8c], 0xb
call fcn.0054f6f0
mov ecx, 0xff
xor eax, eax
lea edi, [esi + 0x3230]
mov edx, dword [ebp - 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push str.send___test_sequence
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
push ecx
push edx
mov edx, dword [esi + 0x31e4]
push edx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
cmp edi, ebx
je 0x55dbf3
mov eax, dword [esi + 0x31f4]
mov dword [eax + 0x140], edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00603a3c
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 0x55fbf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62be30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov edx, dword [ebp + 8]
mov esi, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x31f4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0xb8]
push ecx
mov ecx, dword [esi + 0xb0]
push edx
je 0x55fc42
call fcn.005c67b0
jmp 0x55fc47
call fcn.005c32f0
mov eax, dword [esi + 0x31f4]
add eax, 0xc8
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or ecx, edx
je 0x55fc98
mov ecx, dword [0x6d2354]
lea edx, [ebp + 8]
lea eax, [ebp + 0xc]
push edx
push eax
push 0
push 0
push str.bIgnMTCh
push ecx
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x55fc8b
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x55fc98
mov ecx, dword [esi + 0x31f4]
push 0
call fcn.00563700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55fe30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62be77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6cd768]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push 0x6d1c98
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00603aaa
mov ecx, dword [esi + 0xb0]
mov byte [ebp - 4], 2
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x55febd
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x55febd
mov al, byte [edx + ecx - 1]
cmp al, 0x2f
mov eax, 0x6d1c98
je 0x55feaa
mov eax, 0x6a3de4
push eax
push edx
lea edx, [ebp - 0x14]
push 0x6a112c
push edx
call fcn.005fc86b
add esp, 0x10
push str.Get_MDTM..._r_n
mov ecx, esi
call fcn.0054d2a0
mov eax, dword [esi + 0xb0]
mov cl, byte [eax + 0x189]
test cl, cl
je 0x55fede
mov eax, dword [ebp - 0x14]
jmp 0x55fef9
push 0x6d1c98
lea ecx, [ebp - 0x20]
call fcn.00603aaa
mov ebx, 1
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xb0]
push 0x6a1db0
mov edx, dword [ecx + 8]
push edx
push eax
lea eax, [ebp - 0x18]
push str.MDTM__s_s_s
push eax
call fcn.005fc86b
add esp, 0x14
mov dword [ebp - 4], 2
test bl, 1
je 0x55ff2e
lea ecx, [ebp - 0x20]
call fcn.00603a3c
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push str.send___MDTM
dec ecx
push 0
push ecx
mov ecx, dword [esi + 0x31e4]
push edx
push ecx
call sub.WS2_32.dll_send
push eax
mov ecx, esi
call fcn.0054d360
mov edi, eax
test edi, edi
je 0x55ff97
mov edx, dword [esi + 0x31f4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [edx + 0x140], edi
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
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
push 0x13
lea ecx, [esi + 0x31d8]
call fcn.0059db90
mov ecx, esi
call fcn.0054f6f0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x8c], 4
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x565550
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Parse pe header

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x48]
push ebp
mov ebp, dword [esp + 0x50]
push edi
xor edi, edi
mov byte [esp + 8], 0x41
test ebp, ebp
mov byte [esp + 9], 0x42
mov byte [esp + 0xa], 0x43
mov byte [esp + 0xb], 0x44
mov byte [esp + 0xc], 0x45
mov byte [esp + 0xd], 0x46
mov byte [esp + 0xe], 0x47
mov byte [esp + 0xf], 0x48
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x11], 0x4a
mov byte [esp + 0x12], 0x4b
mov byte [esp + 0x13], 0x4c
mov byte [esp + 0x14], 0x4d
mov byte [esp + 0x15], 0x4e
mov byte [esp + 0x16], 0x4f
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x51
mov byte [esp + 0x19], 0x52
mov byte [esp + 0x1a], 0x53
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x56
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], 0x58
mov byte [esp + 0x20], 0x59
mov byte [esp + 0x21], 0x5a
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x62
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x65
mov byte [esp + 0x27], 0x66
mov byte [esp + 0x28], 0x67
mov byte [esp + 0x29], 0x68
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6a
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x6d
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0x71
mov byte [esp + 0x33], 0x72
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x74
mov byte [esp + 0x36], 0x75
mov byte [esp + 0x37], 0x76
mov byte [esp + 0x38], 0x77
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x79
mov byte [esp + 0x3b], 0x7a
mov byte [esp + 0x3c], 0x30
mov byte [esp + 0x3d], 0x31
mov byte [esp + 0x3e], 0x32
mov byte [esp + 0x3f], 0x33
mov byte [esp + 0x40], 0x34
mov byte [esp + 0x41], 0x35
mov byte [esp + 0x42], 0x36
mov byte [esp + 0x43], 0x37
mov byte [esp + 0x44], 0x38
mov byte [esp + 0x45], 0x39
mov byte [esp + 0x46], 0x2b
mov byte [esp + 0x47], 0x2f
jle 0x565711
lea edx, [ebp + 2]
mov eax, 0xaaaaaaab
mul edx
mov eax, dword [esp + 0x4c]
push ebx
push esi
mov esi, edx
shr esi, 1
lea edi, [esi + esi*2]
movsx edx, byte [eax]
sar edx, 2
inc ecx
add eax, 3
mov dl, byte [esp + edx + 0x10]
mov byte [ecx - 1], dl
mov dl, byte [eax - 3]
movsx ebx, byte [eax - 2]
sar ebx, 4
and edx, 3
shl edx, 4
lea ebx, [esp + ebx + 0x10]
inc ecx
mov dl, byte [ebx + edx]
mov byte [ecx - 1], dl
mov dl, byte [eax - 2]
movsx ebx, byte [eax - 1]
sar ebx, 6
and edx, 0xf
inc ecx
lea ebx, [esp + ebx + 0x10]
mov dl, byte [ebx + edx*4]
mov byte [ecx - 1], dl
mov dl, byte [eax - 1]
and edx, 0x3f
inc ecx
dec esi
mov dl, byte [esp + edx + 0x10]
mov byte [ecx - 1], dl
jne 0x5656ba
pop esi
pop ebx
lea eax, [ebp + 1]
cmp edi, eax
jne 0x565727
mov byte [ecx - 1], 0x3d
pop edi
mov byte [ecx], 0
pop ebp
add esp, 0x40
ret 0xc
add ebp, 2
cmp edi, ebp
jne 0x565736
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
pop edi
mov byte [ecx], 0
pop ebp
add esp, 0x40
ret 0xc
Function at 0x576880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62c880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov edx, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x31e8]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0xb8]
push ecx
mov ecx, dword [esi + 0xb0]
push edx
call fcn.005c32f0
mov eax, dword [esi + 0x31e8]
mov edi, 1
mov dword [eax + 0x138], edi
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx + 0x2fc]
test eax, eax
je 0x5768ff
mov eax, dword [esi + 0x31e8]
test eax, eax
je 0x5768ff
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x5769ab
mov eax, dword [esi + 0x31e8]
add eax, 0xc8
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
je 0x5769ab
mov edx, dword [0x6d2354]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push str.bIgnMTCh
push edx
xor bl, bl
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x57694b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x57694b
mov bl, 1
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 8]
test eax, eax
je 0x5769ab
test bl, bl
jne 0x5769ab
push 0x3f
push eax
call fcn.005e71f0
add esp, 8
test eax, eax
jne 0x5769ab
mov ecx, dword [esi + 0x31e8]
mov eax, dword [ecx + 0x13c]
test eax, eax
jne 0x57699e
mov edx, dword [esi + 0xb0]
mov ecx, dword [0x6d34f4]
push 0x50044
mov eax, dword [edx + 8]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x5769ab
mov dword [esi + 0x323c], edi
mov byte [esi + 0x3240], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5777f0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
mov eax, 0xaaaaaaab
push edi
lea ecx, [esi + 3]
mov edi, dword [esp + 0x18]
mul ecx
shr edx, 1
lea edx, [edx + esi + 7]
push edx
push edi
call fcn.00577420
add esp, 8
test eax, eax
jne 0x57781f
pop edi
pop esi
pop ecx
ret 0xc
push edi
call fcn.00577410
mov ecx, eax
add esp, 4
xor eax, eax
test esi, esi
jbe 0x5778f4
lea edx, [esi + 2]
mov eax, 0xaaaaaaab
mul edx
push ebx
push ebp
mov edi, dword [esp + 0x18]
mov ebp, edx
shr ebp, 1
mov ebx, 2
lea eax, [ebp + ebp*2]
mov dword [esp + 0x10], eax
lea edx, [ebx - 1]
cmp edx, esi
jae 0x577865
mov al, byte [edi + 1]
mov byte [esp + 0x20], al
jmp 0x57786a
mov byte [esp + 0x20], 0
cmp ebx, esi
jae 0x577877
mov dl, byte [edi + 2]
mov byte [esp + 0x18], dl
jmp 0x57787c
mov byte [esp + 0x18], 0
xor eax, eax
add ebx, 3
mov al, byte [edi]
add edi, 3
shr eax, 2
inc ecx
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov eax, dword [esp + 0x20]
mov byte [ecx - 1], dl
mov dl, byte [edi - 3]
and eax, 0xff
and edx, 3
mov esi, eax
and eax, 0xf
shl edx, 4
shr esi, 4
or edx, esi
mov esi, dword [esp + 0x18]
and esi, 0xff
inc ecx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov byte [ecx - 1], dl
mov edx, esi
shr edx, 6
shl eax, 2
or edx, eax
and esi, 0x3f
inc ecx
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov byte [ecx - 1], al
mov dl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_http:__www.internetdownloadmanager.com_support_data_corruption.html]
mov esi, dword [esp + 0x1c]
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x577855
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
lea edx, [esi + 1]
cmp eax, edx
jne 0x57790d
mov byte [ecx - 1], 0x3d
pop edi
mov byte [ecx], 0
mov eax, 1
pop esi
pop ecx
ret 0xc
add esi, 2
cmp eax, esi
jne 0x57791c
mov al, 0x3d
mov byte [ecx - 1], al
mov byte [ecx - 2], al
pop edi
mov byte [ecx], 0
mov eax, 1
pop esi
pop ecx
ret 0xc
Function at 0x579980
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
push edi
push 0
push 1
mov esi, ecx
push 2
call sub.WS2_32.dll_socket
lea ecx, [esp + 8]
lea edi, [esi + 0x858]
push ecx
push 0x8004667e
push eax
mov dword [edi], eax
mov dword [esp + 0x14], 1
call sub.WS2_32.dll_ioctlsocket
cmp dword [edi], 0xffffffff
je 0x5799d4
xor eax, eax
mov edx, dword [esi + 0x248]
add eax, 0x3448
cmp eax, 0x68900
mov dword [edx + eax - 0x3350], edi
jl 0x5799b7
pop edi
pop esi
pop ecx
ret
xor eax, eax
mov ecx, dword [esi + 0x248]
add eax, 0x3448
cmp eax, 0x68900
mov dword [ecx + eax - 0x3350], 0
jl 0x5799d6
pop edi
pop esi
pop ecx
ret
Function at 0x57e660
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62cb20
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
cmp edi, 0x7d000
ja 0x57e875
push edi
call fcn.005ffe3f
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x57e875
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x18]
push ebx
push edx
push eax
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x57e6d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x57e86c
lea eax, [esp + 0x10]
push ebx
push eax
push edi
push esi
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x57e86c
cmp dword [esp + 0x10], edi
jne 0x57e86c
lea ecx, [esp + 0x1c]
call fcn.005419c0
push ebx
push edi
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebx
call fcn.00541e10
cmp eax, ebx
jge 0x57e737
push esi
call fcn.005ffe68
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00541a30
jmp 0x57e875
push ebx
lea ecx, [esp + 0x20]
call fcn.00541f80
mov ecx, eax
call fcn.00541310
push eax
lea ecx, [esp + 0x50]
call fcn.00603aaa
mov ecx, dword [esp + 0x4c]
push str.onMetaData
push ecx
mov byte [esp + 0x40], 1
call fcn.005e897a
add esp, 8
test eax, eax
jne 0x57e843
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.duration
call fcn.00603aaa
lea eax, [esp + 0x24]
push eax
call fcn.005a5460
add esp, 0xc
cmp al, bl
je 0x57e7d8
mov ecx, dword [esp + 0x40]
call fcn.005412e0
mov ecx, dword [esp + 0x50]
push esi
fstp qword [ecx]
call fcn.005ffe68
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.00603a3c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00541a30
mov eax, 1
jmp 0x57e877
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.isLive
call fcn.00603aaa
lea eax, [esp + 0x24]
push eax
call fcn.005a5460
add esp, 0xc
cmp al, bl
je 0x57e843
mov ecx, dword [esp + 0x40]
call fcn.005412f0
test al, al
je 0x57e843
mov eax, dword [esp + 0x50]
push esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.005ffe68
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.00603a3c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00541a30
mov eax, 1
jmp 0x57e877
push esi
call fcn.005ffe68
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], bl
call fcn.00603a3c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00541a30
jmp 0x57e875
push esi
call fcn.005ffe68
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x14
Function at 0x57e890
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
xor ebp, ebp
push edi
lea eax, [esp + 0x18]
push ebp
push eax
push ebp
mov dword [esp + 0x1c], ecx
push ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x57e8ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x57e9cf
lea ecx, [esp + 0x2c]
push ebp
push ecx
lea edx, [esp + 0x24]
push 3
push edx
push ebx
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x57e9cf
cmp dword [esp + 0x2c], 3
jne 0x57e9cf
mov ecx, 3
mov edi, 0x6a44d4
lea esi, [esp + 0x1c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x57e9cf
mov esi, 0xd
xor edi, edi
lea ecx, [esp + 0x18]
push ebp
push ecx
push esi
push ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x57e93d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x57e9cf
lea edx, [esp + 0x2c]
push ebp
push edx
lea eax, [esp + 0x24]
push 0xb
push eax
push ebx
mov dword [esp + 0x40], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x57e9cf
cmp dword [esp + 0x2c], 0xb
jne 0x57e9cf
lea ecx, [esp + 0x1d]
push ecx
call fcn.005a05e0
add esp, 4
mov ebp, eax
mov al, byte [esp + 0x1c]
add esi, 0xb
adc edi, 0
cmp al, 0x12
jne 0x57e993
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push edx
push ebp
push edi
push esi
push ebx
call fcn.0057e660
test eax, eax
jne 0x57e9c0
mov eax, dword [esp + 0x34]
add ebp, 4
add esi, ebp
adc edi, 0
cmp edi, eax
jg 0x57e9cf
jl 0x57e9ab
cmp esi, dword [esp + 0x30]
ja 0x57e9cf
test edi, edi
jg 0x57e9cf
jl 0x57e9b9
cmp esi, 0x500000
ja 0x57e9cf
xor ebp, ebp
jmp 0x57e914
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 0x10