joyce8/EMBER2024-capa huggingface dataset:
Function at 0x532180
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x82384c]
xor eax, esp
mov dword [esp + 0x1c8], eax
cmp byte [0x831780], 0
push ebx
mov ebx, dword [esp + 0x1d4]
mov dword [esp + 0x18], ebx
jne 0x5321b9
call fcn.00649610
test eax, eax
je 0x5321d1
mov byte [0x831780], 1
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.004fb522
add esp, 0x1cc
ret
mov eax, dword [ebx + 0xa00]
test eax, eax
je 0x5321f2
push 0x400
push eax
call fcn.0064a1a0
add esp, 8
call fcn.00649610
test eax, eax
jne 0x5321b9
push ebp
push esi
push edi
nop word [eax + eax]
mov esi, 2
mov dword [esp + 0x18], 4
lea eax, [esp + 0x98]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
nop dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.00525a50
push 0
push 1
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x34], xmm0
call fcn.0052d830
movups xmm1, xmmword [esp + 0x44]
add esp, 0xc
lea ecx, [esi - 1]
movaps xmm0, xmm1
psrldq xmm0, 4
movd eax, xmm0
push eax
movd eax, xmm1
push eax
push 0
push ecx
call fcn.004fc520
imul esi, dword [esp + 0x30]
mov ebx, eax
lea eax, [esp + 0x58]
mov ebp, edx
push eax
mov dword [esp + 0x20], esi
call fcn.00525a50
mov eax, dword [eax + 8]
cdq
mov esi, eax
mov edi, edx
lea eax, [esp + 0x6c]
push eax
call fcn.00525a50
mov edx, dword [esp + 0x18]
add esp, 8
inc edx
mov dword [esp + 0x20], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ecx, esi
push 0
push edx
adc eax, edi
push eax
push ecx
call fcn.004fc520
shld edx, eax, 8
shl eax, 8
xor ebp, edx
xor ebx, eax
mov dword [esp + 0x2c], ebp
lea eax, [esp + 0x78]
mov dword [esp + 0x28], ebx
push eax
call fcn.00525a50
lea esi, [eax + 8]
lea eax, [esp + 0x8c]
push eax
call fcn.00525a50
add esp, 8
mov ecx, dword [eax]
add ecx, dword [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
add eax, 2
imul ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
shl ecx, 0x10
xor eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x28]
movups xmmword [eax], xmm0
add eax, 0x10
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x532220
movsd xmm0, qword [0x76ad48]
lea eax, [esp + 0x98]
sub esp, 8
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.00649250
add esp, 0x10
call fcn.00649610
test eax, eax
je 0x532200
lea eax, [esp + 0xd8]
mov byte [esp + 0xd8], 0
push 0x100
push eax
call fcn.00649fe0
add esp, 8
cmp byte [esp + 0xd8], 0
pop edi
pop esi
pop ebp
je 0x532399
lea eax, [esp + 0xcc]
push 0x400
push eax
call fcn.0064a1a0
add esp, 8
call fcn.00649610
test eax, eax
jne 0x5321b9
push str.libcurl_is_now_using_a_weak_random_seed__n
push dword [esp + 0x1c]
call fcn.0051ef30
add esp, 8
call fcn.00649610
mov ecx, dword [esp + 0x1cc]
neg eax
pop ebx
sbb eax, eax
xor ecx, esp
and eax, 0xffffffdd
add eax, 0x23
call fcn.004fb522
add esp, 0x1cc
ret
Function at 0x537090
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea esi, [ebp + 1]
push esi
push ebp
call dword [0x82387c]
mov edi, eax
add esp, 8
test edi, edi
je 0x537067
nop word [eax + eax]
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x53707f
cmp esi, ebx
je 0x53707f
cmp esi, 0x8000
ja 0x53707f
cmp esi, ebx
jb 0x537078
push esi
push edi
call dword [0x82387c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x537030
push ebp
call dword [0x823878]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [0x823878]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
jmp 0x537010

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

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
mov byte [esp + 0x16], al
lea eax, [esp + 0x14]
mov edi, dword [esi]
push 3
push eax
push dword [esi + 0x420]
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x53a08c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0051ee50
add esp, 0xc
push dword [esp + 0x18]
push ebx
push str.SENT
push dword [esi]
call fcn.00539940
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x53a1d0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
cmp dword [esp + 0x1c], 0x1f
mov eax, dword [esp + 0x18]
push ebx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ebx, dword [eax + 0x138]
jne 0x53a329
push ebp
push edi
lea ebp, [ebx + 0x1cb0]
lea edi, [ebx + 0x1eb0]
mov dword [edi], ebp
cmp ebp, edi
jae 0x53a209
mov byte [ebp], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x53a214
mov byte [eax], 0xfa
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x53a21f
mov byte [eax], 0x1f
inc dword [edi]
movzx eax, word [ebx + 0x1ca8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push eax
call esi
mov word [esp + 0x14], ax
movzx eax, word [ebx + 0x1caa]
push eax
call esi
mov ecx, dword [edi]
mov word [esp + 0x1c], ax
cmp ecx, edi
jae 0x53a252
mov al, byte [esp + 0x14]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x53a260
mov al, byte [esp + 0x15]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x53a26e
mov al, byte [esp + 0x1c]
mov byte [ecx], al
inc dword [edi]
mov ecx, dword [edi]
cmp ecx, edi
jae 0x53a27c
mov al, byte [esp + 0x1d]
mov byte [ecx], al
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x53a287
mov byte [eax], 0xff
inc dword [edi]
mov eax, dword [edi]
cmp eax, edi
jae 0x53a292
mov byte [eax], 0xf0
inc dword [edi]
mov eax, dword [edi]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x1eb4], eax
sub eax, ebp
sub eax, 2
mov dword [edi], ebp
push eax
lea eax, [ebx + 0x1cb2]
push eax
push 0x3e
push esi
call fcn.00539a50
mov edi, dword [esp + 0x38]
add esp, 0x10
push 0
push 3
push ebp
push dword [edi + 0x420]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jns 0x53a2e8
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0051ee50
add esp, 0xc
push 4
lea eax, [ebx + 0x1cb3]
push eax
push edi
call fcn.0053a0b0
add esp, 0xc
lea eax, [ebx + 0x1cb7]
push 0
push 2
push eax
push dword [edi + 0x420]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x53a326
call ebp
push eax
push str.Sending_data_failed___d_
push esi
call fcn.0051ee50
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x558ba5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x5bd89d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005bd4a2

Function at 0x5bd8a8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005bd623

Function at 0x5c4685
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c4479

Function at 0x5c65dd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c5db7

Function at 0x5c65e8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c5ff2

Function at 0x5d1c54
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + 0xc]
call fcn.005d7029
lea edx, [eax - 1]
cmp edx, 4
ja 0x5d1d88
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 1
jle 0x5d1d24
push edi
lea ecx, [ebp + 0xc]
call fcn.005d4086
push eax
push ebx
call fcn.005d1e30
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.005d704f
push eax
push ebx
call fcn.005d1e30
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.005d2456
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.005d11a8
test al, al
je 0x5d1d18
and dword [ebp - 8], 0
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.005d4073
push eax
push ebx
call fcn.005d1e30
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.005d703c
push eax
push ebx
call fcn.005d1e30
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
call fcn.005d11a8
test al, al
jne 0x5d1cd6
push edi
push 0
push ebx
call fcn.005d1e30
add esp, 0xc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x5d1d30
mov esi, dword [esi + 0x10]
jmp 0x5d1d69
xor esi, esi
jmp 0x5d1d69
lea ecx, [ebp - 4]
call fcn.005d7029
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.005a9a03
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.005d1c54
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.005d412c
mov esi, dword [eax]
mov dword [ebp - 4], esi
test esi, esi
jne 0x5d1d34
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.005a9a03
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5d1d8e
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x74a96e
call fcn.004fb850
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.005d0d70
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.005d19a5
lea eax, [ebp - 0x50]
push eax
call fcn.005d1af8
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
push esi
inc ebx
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6c6d7873
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
call fcn.005a9a03
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.005d1e9e
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.005d1c54
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.005d1837
call fcn.004fb7fa
ret 4

Function at 0x5d1e30
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x74a999
call fcn.004fb81c
mov edi, dword [ebp + 8]
push dword [edi + 4]
call fcn.005d36c0
and dword [ebp + 8], 0
mov ebx, eax
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00405d30
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0
je 0x5d1e72
push dword [ebp + 0xc]
mov ecx, edi
call fcn.005d1667
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push ebx
push 1
push eax
call fcn.005a9a03
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [esi - 0xc]
cmp ecx, dword [section..data]
je 0x5d1e98
call fcn.00401c90
call fcn.004fb7e5
ret

Function at 0x5d1e9e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.005d15c8
mov edi, eax
test edi, edi
je 0x5d1edb
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.005d14a0
push dword [esi]
mov edi, eax
call fcn.0059624a
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.005a9a03
add esp, 0x14
test edi, edi
jne 0x5d1eb1
pop esi
pop edi
pop ebp
ret
Function at 0x5d3f53
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x5d3f76
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x5d4013
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.005d340b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x5d3f99
push ebx
call fcn.005a8570
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x5d3fef
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x8242b0]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x5d3fc4
call fcn.005a8570
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x5d3fef
push esi
push 1
push eax
call fcn.005a8854
push ebx
mov esi, eax
call fcn.005a8570
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x5d3ff8
push dword [ebp - 4]
call dword [0x8242b4]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x5d4012
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.005d3ecb
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5da7ed
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x5da7fa
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.005da8f3

Function at 0x5db48d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.005eadec
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x5db4ba
xor eax, eax
jmp 0x5db5b6
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x57cf96
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
call fcn.005dcf34
push esi
push eax
call fcn.0057cfb0
add esp, 0x14
test eax, eax
je 0x5db4f5
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.005eafab
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.005dcf16
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.005dee5c
add esp, 0x28
test eax, eax
jne 0x5db52c
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
cmp dword [ebp - 8], esi
jne 0x5db56d
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.005eaf7c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x5db568
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
je 0x5db59d
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.005eaebd
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.005eae75
add esp, 0x14
jmp 0x5db4b3
push esi
push esi
push esi
push dword [ebp - 4]
call fcn.005ead3b
push dword [ebp - 4]
call fcn.005db8b1
mov eax, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5deaf9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x5deb2f
push edi
mov edi, 0x10c
cmp dword [ebp + 0xc], edi
jae 0x5deb22
push eax
call fcn.005eae61
push 2
call fcn.005eadd8
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call fcn.005796b0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x5e0820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.005eadec
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x5e084d
xor eax, eax
jmp 0x5e09f1
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x57cf96
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x2ac], esi
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2b0], esi
call fcn.005dcf34
push esi
push eax
call fcn.0057cfb0
add esp, 0x14
test eax, eax
je 0x5e089a
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.005eafab
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.005dcf16
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.005dee5c
add esp, 0x28
test eax, eax
jne 0x5e08d1
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
jne 0x5e090d
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.005eaf7c
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x5e090d
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], 0x5df061
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x9c], fcn.005df0b0
mov eax, dword [ebp - 4]
mov dword [eax + 0xa0], ecx
cmp dword [ebp - 8], esi
jne 0x5e098d
mov eax, dword [ebp - 4]
push 0x38
add eax, 0x78
push str.1.2.5
push eax
call fcn.005da096
add esp, 0xc
cmp eax, 0xfffffffa
je 0x5e0976
cmp eax, 0xfffffffc
je 0x5e096f
cmp eax, 0xfffffffe
je 0x5e0968
test eax, eax
je 0x5e0988
push str.Unknown_zlib_error
jmp 0x5e097b
push str.zlib_stream_error
jmp 0x5e097b
push str.zlib_memory_error
jmp 0x5e097b
push str.zlib_version_error
push dword [ebp - 4]
call fcn.005dcf50
pop ecx
mov dword [ebp - 8], edi
pop ecx
cmp dword [ebp - 8], esi
je 0x5e09bd
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.005eaebd
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.005eae75
add esp, 0x14
jmp 0x5e0846
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push esi
push esi
mov eax, dword [eax + 0xb0]
mov dword [ecx + 0x84], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
push dword [ebp - 4]
mov eax, dword [eax + 0xb4]
mov dword [ecx + 0x88], eax
call fcn.005e6939
mov eax, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x675de0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x675e07
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x675df6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x67fb70
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x20
call fcn.004fca40
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov eax, esi
sub eax, ebx
je 0x67fbb8
sub eax, 2
je 0x67fbb8
sub eax, 0x15
je 0x67fbb8
push 0x293
push str.crypto_bio_b_addr.c
push 0x83
push 0x8f
push 0x20
call fcn.0064d810
add esp, 0x14
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret
call fcn.006855e0
cmp eax, 1
jne 0x67fbb0
mov eax, dword [esp + 0x3c]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
movups xmmword [esp + 0x20], xmm0
test esi, esi
jne 0x67fbf8
or eax, 0x400
mov dword [esp + 0x10], eax
cmp dword [esp + 0x3c], 1
jne 0x67fc06
or eax, 1
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x10]
push ebp
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x67fc5c
cmp esi, 8
je 0x67fca3
mov eax, dword [esp + 0x10]
test eax, 0x400
je 0x67fc6b
and eax, 0xfffffbff
mov edi, esi
or eax, 4
push ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x67fc24
mov ebx, 1
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2d6
push str.crypto_bio_b_addr.c
push 2
push 0x8f
push 0x20
call fcn.0064d810
test edi, edi
cmovne esi, edi
push esi
call fcn.00680250
push eax
push 1
call fcn.0064cee0
add esp, 0x20
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
push 0x2c7
push str.crypto_bio_b_addr.c
push 0x41
push 0x8f
push 0x20
call fcn.0064d810
add esp, 0x14
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret
Function at 0x69f0a0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 4
call fcn.004fca40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push 1
push esi
xor edi, edi
call fcn.00649c20
mov ebx, eax
push ebx
push esi
call fcn.00649af0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x69f129
push 0xf0000040
push 1
push edi
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x69f103
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.00649b60
push esi
call fcn.00649d00
mov edi, eax
add esp, 0x10
test edi, edi
je 0x69f129
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
push esi
call fcn.00649c20
mov ebx, eax
push ebx
push esi
call fcn.00649af0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x69f198
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x69f17e
push ebp
push ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0x14]
test eax, eax
cmovne edi, ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi*8]
push eax
push edi
push esi
call fcn.00649b60
push esi
call fcn.00649d00
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x69f121
push esi
call fcn.00649d00
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret