joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41df90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dfc6
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x420], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x418], edi
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41e126
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x414], esi
mov dword [ebp - 4], 0
mov eax, dword [edi]
or edi, 0xffffffff
test eax, eax
je 0x41e018
cmp eax, edi
je 0x41e018
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41e122
mov eax, dword [ebp - 0x418]
mov dword [eax], edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x41c]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebx]
call edi
test eax, eax
je 0x41e0b5
nop dword [eax + eax]
mov esi, dword [ebp - 0x41c]
test esi, esi
je 0x41e0b5
call fcn.004014e0
push eax
push esi
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.00408a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x414]
mov esi, dword [ebp - 0x418]
push dword [esi - 0xc]
push esi
call fcn.00408960
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e098
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebx]
call edi
test eax, eax
jne 0x41e040
mov ebx, dword [ebp - 0x420]
lea eax, [ebp - 0x414]
push eax
mov ecx, ebx
call fcn.0041e140
mov ecx, ebx
call fcn.0041f090
push ecx
mov ecx, ebx
call fcn.0041f4e0
mov esi, dword [ebp - 0x414]
mov ebx, 1
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41e102
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret 0xc
xor ebx, ebx
jmp 0x41e0e6
push 0x80004005
call fcn.00408740
int3
Function at 0x420f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420fa1
mov ecx, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
test ecx, ecx
je 0x420f2f
mov dword [edi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
test ecx, ecx
je 0x420f45
mov dword [esi], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push esi
push 0x45ba40
push 1
push 0
push 0x45ba50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x420fa1
mov ecx, dword [esi]
test ecx, ecx
je 0x420f6f
mov eax, dword [ecx]
push edi
push 0x45ba60
push ecx
call dword [eax]
mov eax, dword [edi]
mov edi, dword [ebp + 8]
push 0
mov dword [ebx + 0x14], 1
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x14]
push edi
lea ecx, [ebx + 0x18]
mov esi, eax
push 0x104
push ecx
call fcn.0042cbf9
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ebp
ret 8
Function at 0x10002fc0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10002fcb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100030ce
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x38fb710]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x38fb710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x38fb710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x38fb710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x38fb710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x38fb710]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x38fb710]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x38fb710]
xor eax, edx
inc ecx
dec edi
jne 0x10002fe6
pop edi
test esi, esi
je 0x100030f0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x38fb710]
xor eax, edx
inc ecx
dec esi
jne 0x100030d2
pop esi
pop ebx
not eax
ret
Function at 0x1002079d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x38f9128
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x100207b3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.1000e740
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.1000ec40
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.10020820
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x38fbf1c
call fcn.1000e940
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
mov ecx, 0x66d218ab
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x7bb23f29
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x6b441850
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov esi, dword [esp + 0x5c]
xor ebx, ebx
test esi, esi
je 0x6b441a43
mov ebp, dword [esp + 0x60]
test ebp, ebp
jne 0x6b44186f
mov ebp, dword [esi]
test ebp, ebp
je 0x6b441a43
mov eax, dword [esi + 0x14]
and eax, 4
jne 0x6b441a43
cmp byte [ebp], 0
je 0x6b441a43
lea edi, [esp + 0x3b]
push 9
push edi
push dword [esp + 0x60]
call fcn.6b475280
add esp, 0xc
mov ebx, 2
test eax, eax
jne 0x6b441a43
push edi
push ebp
push 0x6b729096
call sym.libcurl.dll_curl_maprintf
add esp, 0xc
test eax, eax
je 0x6b4419ec
mov edi, eax
push 0x6b7290a0
push eax
call fcn.6b44a550
add esp, 8
test eax, eax
je 0x6b441a17
mov ebx, eax
mov dword [esp], edi
push eax
push 1
push 0x75
push str._Your_alt_svc_cache._https:__curl.se_docs_alt_svc.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov esi, dword [esi + 4]
test esi, esi
je 0x6b4419f3
mov dword [esp + 4], ebx
jmp 0x6b441960
mov ecx, 0x6b729095
movzx edx, word [edi + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, 0x76c
add ebx, eax
mov eax, dword [esp + 0x24]
inc eax
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push eax
push ebx
push edx
push dword [edi + 0xc]
push ecx
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push str._s__s__u__s__s__u___d_02d_02d__02d:_02d:_02d___u__d_n
mov ebx, dword [esp + 0x40]
push ebx
call sym.libcurl.dll_curl_mfprintf
add esp, 0x40
test esi, esi
je 0x6b4419f3
mov edi, dword [esi]
mov esi, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
push dword [edi + 0x18]
call fcn.6b4720e0
add esp, 8
test eax, eax
jne 0x6b441a1e
mov edx, dword [edi + 8]
mov ecx, 0x6b72908c
cmp edx, 8
mov eax, 0x6b72908c
je 0x6b4419ac
cmp edx, 0x20
je 0x6b4419a0
cmp edx, 0x10
jne 0x6b4419a7
mov eax, 0x6b72908f
jmp 0x6b4419ac
mov eax, 0x6b729092
jmp 0x6b4419ac
mov eax, 0x6b729095
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov edx, dword [edi + 0x14]
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
cmp edx, 8
je 0x6b441909
cmp edx, 0x20
je 0x6b4419e2
cmp edx, 0x10
jne 0x6b441904
mov ecx, 0x6b72908f
jmp 0x6b441909
mov ecx, 0x6b729092
jmp 0x6b441909
mov ebx, 0x1b
jmp 0x6b441a43
push ebx
call sub.msvcrt.dll_fclose
add esp, 4
push ebp
mov edi, dword [esp + 4]
push edi
call fcn.6b475310
add esp, 8
mov ebx, 0x17
test eax, eax
jne 0x6b441a2f
xor ebx, ebx
jmp 0x6b441a38
mov ebx, 0x17
jmp 0x6b441a38
mov ebx, eax
push dword [esp + 4]
call sub.msvcrt.dll_fclose
add esp, 4
mov edi, dword [esp]
push edi
call sub.msvcrt.dll__unlink
add esp, 4
mov eax, dword [0x6b83acf4]
push edi
call dword [eax]
add esp, 4
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6b443bc0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x190
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], pe_nt_image_headers32
lea esi, [esp + 8]
xor eax, eax
mov ecx, 0x20
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push eax
push esi
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x6b443c2d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.6b481730
add esp, 0xc
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.6b476950
add esp, 0x10
jmp 0x6b443c4d
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], esi
call fcn.6b443a80
add esp, 0x10
test eax, eax
je 0x6b443c55
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov edi, dword [eax]
call esi
lea ecx, [esp + 0x8c]
push 0x100
push ecx
push dword [eax]
call fcn.6b481730
add esp, 0xc
push eax
push edi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
jmp 0x6b443c22

Function at 0x6b444b90
Capabilities:
Set socket configuration

Disassembly:
push esi
sub esp, 0xc
mov dword [esp + 8], 0x4020
mov dword [esp], 0
mov dword [esp + 4], 4
mov eax, dword [0x6b83d010]
cmp eax, 2
je 0x6b444c25
test eax, eax
jne 0x6b444be3
push 3
push 2
push 0
push 6
call fcn.6b48f120
add esp, 0x10
test eax, eax
je 0x6b444bd9
mov dword [0x6b83d010], 2
jmp 0x6b444c25
mov dword [0x6b83d010], 1
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
mov ecx, esp
push eax
push ecx
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x6b444c0d
cmp dword [esp], 0x4020
jg 0x6b444c25
lea eax, [esp + 8]
push 4
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
pop esi
ret
Function at 0x6b448280
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
xor edi, edi
test ecx, ecx
je 0x6b448307
mov esi, ecx
push ecx
call fcn.6b4587a0
add esp, 4
test eax, eax
jne 0x6b448307
push esi
call sub.msvcrt.dll_strlen
add esp, 4
mov edi, eax
push eax
push 0x2e
push esi
call fcn.6b44a400
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x6b4482ce
sub eax, esi
push eax
push 0x2e
push esi
call fcn.6b44a400
add esp, 0xc
test eax, eax
je 0x6b4482ce
inc eax
add edi, esi
sub edi, eax
mov ebx, eax
test ebx, ebx
cmovne esi, ebx
test edi, edi
jle 0x6b448302
add edi, esi
mov eax, 0x1505
nop
nop
mov ebx, eax
shl ebx, 5
add ebx, eax
movsx eax, byte [esi]
inc esi
push eax
call fcn.6b4811e0
add esp, 4
movzx eax, al
xor eax, ebx
cmp esi, edi
jb 0x6b4482e0
movzx edi, al
jmp 0x6b448307
mov edi, 5
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x6b44c370
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
test eax, eax
cmovne eax, ecx
ret
Function at 0x6b454e90
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x114]
cmp dword [eax + 8], 0
je 0x6b454ec3
mov dword [edi + 0x484], 0xd
mov ecx, esi
mov edx, 1
push 0xd
call fcn.6b4541d0
add esp, 4
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x6d4]
test eax, 0x4000
jne 0x6b454f46
test eax, 0x20000
jne 0x6b454f52
mov eax, dword [edi + 0x24c]
mov ecx, eax
and ecx, 0x82000
cmp ecx, 0x2000
jne 0x6b454ef8
or eax, 0x80000
mov dword [edi + 0x24c], eax
xor ebx, ebx
test eax, 0x80000
sete bl
lea eax, [edi + 0x3f8]
lea ecx, [ebx + ebx*4 + str.EPSV]
push ecx
push 0x6b72b898
push eax
push esi
call fcn.6b472530
add esp, 0x10
test eax, eax
jne 0x6b454ebf
mov dword [edi + 0x478], ebx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x484], 0x1e
push str.Connect_data_stream_passively
push esi
call fcn.6b4767f0
add esp, 8
jmp 0x6b454fbc
mov ecx, esi
xor edx, edx
pop esi
pop edi
pop ebx
jmp fcn.6b454fd0
mov ecx, dword [edi + 0x444]
add edi, 0x3f8
test ecx, ecx
je 0x6b454f71
test eax, 0x20000000
jne 0x6b454f97
push ecx
push str.PRET_RETR__s
jmp 0x6b454f9d
mov eax, dword [esi + 0x524]
test eax, eax
jne 0x6b454f8f
test byte [esi + 0xb46], 2
mov ecx, 0x6b72bb73
mov eax, str.NLST
cmove eax, ecx
push eax
push str.PRET__s
jmp 0x6b454f9d
push ecx
push str.PRET_STOR__s
push edi
push esi
call fcn.6b472530
add esp, 0x10
test eax, eax
jne 0x6b454ebf
mov eax, dword [esi + 0xc]
mov dword [eax + 0x484], 0x1d
xor eax, eax
jmp 0x6b454ebf
Function at 0x6b455b20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [edi + 0x134]
mov dword [esp + 4], pe_nt_image_headers32
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x6b455b7f
push ebx
push edi
push esi
call fcn.6b444b10
add esp, 0xc
push str.Error_accept__ing_server_connect
push esi
call fcn.6b476950
add esp, 8
mov ebx, 0x1e
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], pe_nt_image_headers32
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_accept]
mov ecx, edi
mov edi, eax
push ebx
mov ebx, ecx
push ecx
push esi
call fcn.6b444b10
add esp, 0xc
mov dword [esp], edi
cmp edi, 0xffffffff
je 0x6b455b62
push str.Connection_accepted_from_server
push esi
call fcn.6b4767f0
add esp, 8
mov edi, ebx
and byte [ebx + 0x24d], 0xbf
mov eax, dword [esp]
mov dword [ebx + 0x134], eax
push 1
push eax
call fcn.6b471820
add esp, 8
or byte [ebx + 0x250], 2
xor ebx, ebx
cmp dword [esi + 0x190], 0
je 0x6b455b75
push 1
push esi
call fcn.6b470f50
add esp, 8
push 1
push dword [esp + 4]
push dword [esi + 0x194]
call dword [esi + 0x190]
add esp, 0xc
mov dword [esp], eax
push 0
push esi
call fcn.6b470f50
add esp, 8
cmp dword [esp], 0
je 0x6b455b75
mov eax, dword [edi + 0x134]
cmp eax, 0xffffffff
je 0x6b455c46
push eax
push edi
push esi
call fcn.6b444b10
add esp, 0xc
mov dword [edi + 0x134], 0xffffffff
mov dword [edi + 0x240], 0
mov dword [edi + 0x248], 0
mov ebx, 0x2a
jmp 0x6b455b75

Function at 0x6b456e90
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, 1
xor ebx, ebx
mov ebp, dword [0x6b83acfc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push edi
push ebx
call dword [ebp]
add esp, 8
test eax, eax
je 0x6b456eeb
mov esi, eax
push edi
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x6b456ee3
cmp eax, edi
je 0x6b456ee3
cmp eax, 0x8001
jae 0x6b456ee3
cmp eax, edi
mov ebx, esi
mov edi, eax
jae 0x6b456eb0
jmp 0x6b456ef8
mov eax, dword [0x6b83acf4]
push esi
jmp 0x6b456ef1
mov eax, dword [0x6b83acf4]
push ebx
call dword [eax]
add esp, 4
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6b457e20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + eax*2 + 0xc]
mov ecx, dword [0x6b83acf8]
push eax
call dword [ecx]
add esp, 4
mov esi, eax
test eax, eax
je 0x6b457f26
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esi], ebx
add eax, 0xc
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0xc]
add ecx, eax
mov dword [esi + 8], ecx
cmp dword [ebx + 0x10], edi
jae 0x6b457e8f
push eax
call dword [ebx]
add esp, 4
push edi
push ebp
push dword [esi + 4]
call dword [ebx + 4]
add esp, 0xc
mov ebp, dword [esi + 8]
add ebp, dword [ebx + 0xc]
push dword [esi + 4]
push ebp
call dword [ebx + 8]
add esp, 8
mov edi, dword [ebx + 0x14]
mov eax, dword [esi + 4]
push eax
call dword [ebx]
add esp, 4
push dword [esi + 8]
call dword [ebx]
add esp, 4
mov dword [esp + 4], edi
test edi, edi
mov ecx, ebx
je 0x6b457ef0
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 3], al
push 1
lea eax, [esp + 7]
push eax
push dword [esi + 4]
mov edi, esi
mov esi, ecx
call dword [ecx + 4]
add esp, 0xc
movzx eax, byte [ebp]
inc ebp
xor al, 0x5c
mov byte [esp + 3], al
push 1
lea eax, [esp + 7]
push eax
push dword [edi + 8]
call dword [esi + 4]
mov ecx, esi
mov esi, edi
add esp, 0xc
dec ebx
jne 0x6b457eb0
mov edi, dword [esp + 4]
cmp edi, dword [ecx + 0x10]
jae 0x6b457f26
mov ebx, ecx
nop
nop
nop
nop
nop
push 1
push str.6xn__
push dword [esi + 4]
call dword [ebx + 4]
add esp, 0xc
push 1
push 0x6b72cbc1
push dword [esi + 8]
call dword [ebx + 4]
add esp, 0xc
inc edi
cmp edi, dword [ebx + 0x10]
jb 0x6b457f00
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6b459320
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 8]
cmp byte [eax + 0x100], 2
jne 0x6b459332
jmp fcn.6b458760
mov eax, 1
ret
Function at 0x6b468110
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], 0
mov eax, esp
push 0xf0000040
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x6b46815c
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x8002
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push edi
call fcn.6b48f240
add esp, 4
push 0
push eax
push esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [esp + 8], 0
lea esi, [esp + 8]
push 0
push esi
push 0
push 2
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp + 8], 0x10
jne 0x6b4681aa
push 0
push esi
push dword [esp + 0x20]
push 2
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 4]
test eax, eax
je 0x6b4681b9
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp]
test eax, eax
je 0x6b4681c9
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
pop esi
pop edi
ret
Function at 0x6b471820
Capabilities:
Set socket configuration

Disassembly:
push eax
mov eax, dword [esp + 8]
xor ecx, ecx
cmp dword [esp + 0xc], 0
setne cl
mov dword [esp], ecx
mov ecx, esp
push ecx
push 0x8004667e
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop ecx
ret
Function at 0x6b475310
Capabilities:
Move file

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
call fcn.6b485a50
mov ebx, eax
mov ebp, edx
push edi
call sub.msvcrt.dll__strdup_1
add esp, 4
mov edi, eax
push esi
call sub.msvcrt.dll__strdup_1
add esp, 4
mov esi, eax
push 1
push eax
nop
nop
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x6b475373
call fcn.6b485a50
push ebp
push ebx
push edx
push eax
call fcn.6b485b20
add esp, 0x10
cmp eax, 0x3e9
sbb edx, 0
jae 0x6b475396
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
jmp 0x6b475340
test edi, edi
je 0x6b475380
push edi
call fcn.6b721a48
add esp, 4
xor edi, edi
test esi, esi
je 0x6b47538f
push esi
call fcn.6b721a48
add esp, 4
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
test edi, edi
je 0x6b4753a3
push edi
call fcn.6b721a48
add esp, 4
mov edi, 1
test esi, esi
jne 0x6b475386
jmp 0x6b47538f
Function at 0x6b4767f0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x808
mov edi, dword [esp + 0x818]
test edi, edi
je 0x6b4768ab
test byte [edi + 0x6d7], 0x40
je 0x6b4768ab
mov eax, dword [esp + 0x81c]
lea ecx, [esp + 0x820]
mov dword [esp], ecx
lea ebx, [esp + 6]
push ecx
push eax
push 0x800
push ebx
call sym.libcurl.dll_curl_mvsnprintf
add esp, 0x10
mov word [esp + eax + 6], 0xa
test byte [edi + 0x6d7], 0x40
je 0x6b4768ab
mov esi, eax
inc esi
cmp dword [edi + 0x188], 0
je 0x6b476882
push 1
push edi
call fcn.6b470f50
add esp, 8
push dword [edi + 0x124]
push esi
push ebx
push 0
push edi
call dword [edi + 0x188]
add esp, 0x14
push 0
push edi
call fcn.6b470f50
add esp, 8
jmp 0x6b4768ab
push dword [edi + 0x120]
push 1
push 2
push 0x6b7313a2
call sub.msvcrt.dll_fwrite
add esp, 0x10
push dword [edi + 0x120]
push 1
push esi
push ebx
call sub.msvcrt.dll_fwrite
add esp, 0x10
add esp, 0x808
pop esi
pop edi
pop ebx
ret

Function at 0x6b4768c0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [esp + 0x14]
test byte [edi + 0x6d7], 0x40
jne 0x6b4768d5
xor eax, eax
jmp 0x6b476917
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
cmp dword [edi + 0x188], 0
je 0x6b47691c
push 1
push edi
call fcn.6b470f50
add esp, 8
push dword [edi + 0x124]
push ebx
push esi
push ebp
push edi
call dword [edi + 0x188]
add esp, 0x14
mov esi, eax
push 0
push edi
call fcn.6b470f50
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebp, 2
ja 0x6b4768d1
lea eax, [ebp + ebp*2 + 0x6b7313a2]
push dword [edi + 0x120]
push 1
push 2
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
push dword [edi + 0x120]
push 1
push ebx
push esi
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x6b4768d1

Function at 0x6b476950
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x108
mov edi, dword [esp + 0x118]
test byte [edi + 0x6d7], 0x40
jne 0x6b476976
cmp dword [edi + 0x128], 0
je 0x6b476a30
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x120]
mov dword [esp], ecx
lea ebx, [esp + 6]
push ecx
push eax
push 0x100
push ebx
call sym.libcurl.dll_curl_mvsnprintf
add esp, 0x10
mov esi, eax
mov eax, dword [edi + 0x128]
test eax, eax
je 0x6b4769c1
test byte [edi + 0xb44], 8
jne 0x6b4769c1
push ebx
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
or byte [edi + 0xb44], 8
mov word [esp + esi + 6], 0xa
test byte [edi + 0x6d7], 0x40
je 0x6b476a30
inc esi
cmp dword [edi + 0x188], 0
je 0x6b476a07
push 1
push edi
call fcn.6b470f50
add esp, 8
push dword [edi + 0x124]
push esi
push ebx
push 0
push edi
call dword [edi + 0x188]
add esp, 0x14
push 0
push edi
call fcn.6b470f50
add esp, 8
jmp 0x6b476a30
push dword [edi + 0x120]
push 1
push 2
push 0x6b7313a2
call sub.msvcrt.dll_fwrite
add esp, 0x10
push dword [edi + 0x120]
push 1
push esi
push ebx
call sub.msvcrt.dll_fwrite
add esp, 0x10
add esp, 0x108
pop esi
pop edi
pop ebx
ret