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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
cmp edx, ebx
je 0x51c93c
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
push esi
lea esi, [eax - 1]
not eax
shr eax, 0x1f
shr esi, 0x1f
and esi, eax
mov eax, dword [ebx + 4]
xor eax, ecx
dec esi
and eax, esi
mov dword [ebp - 8], esi
xor ecx, eax
mov dword [edx + 4], ecx
xor dword [ebx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [ebx + 0xc]
xor eax, ecx
movd xmm0, esi
and eax, esi
pshufd xmm3, xmm0, 0
xor ecx, eax
mov dword [edx + 0xc], ecx
xor dword [ebx + 0xc], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [ebx + 0x10]
xor eax, ecx
and eax, esi
mov esi, dword [ebp + 0x14]
and eax, 4
xor ecx, eax
mov dword [edx + 0x10], ecx
xor dword [ebx + 0x10], eax
xor eax, eax
test esi, esi
jle 0x51c93b
push edi
cmp esi, 8
jb 0x51c912
mov edi, dword [edx]
lea edx, [esi - 1]
mov ecx, dword [ebx]
lea edx, [ecx + edx*4]
mov dword [ebp + 0x10], edx
lea edx, [esi - 1]
lea edx, [edi + edx*4]
cmp ecx, edx
mov edx, dword [ebp + 0xc]
ja 0x51c866
cmp dword [ebp + 0x10], edi
jae 0x51c912
cmp ecx, ebx
ja 0x51c873
cmp dword [ebp + 0x10], ebx
jae 0x51c912
cmp ecx, edx
ja 0x51c880
cmp dword [ebp + 0x10], edx
jae 0x51c912
lea ecx, [esi - 1]
lea ecx, [edi + ecx*4]
cmp edi, ebx
ja 0x51c892
cmp ecx, ebx
jae 0x51c912
cmp edi, edx
ja 0x51c89a
cmp ecx, edx
jae 0x51c912
mov ecx, esi
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x51c8a9
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dword [ebp + 0x10], esi
sub dword [ebp + 0x10], ecx
mov ecx, dword [ebx]
movups xmm1, xmmword [edi + eax*4]
movups xmm0, xmmword [ecx + eax*4]
movaps xmm2, xmm1
pxor xmm2, xmm0
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + eax*4], xmm0
movups xmm0, xmmword [ecx + eax*4]
pxor xmm2, xmm0
movups xmmword [ecx + eax*4], xmm2
movups xmm1, xmmword [edi + eax*4 + 0x10]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movaps xmm2, xmm1
pxor xmm2, xmm0
pand xmm2, xmm3
movaps xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [edi + eax*4 + 0x10], xmm0
movups xmm0, xmmword [ecx + eax*4 + 0x10]
pxor xmm2, xmm0
movups xmmword [ecx + eax*4 + 0x10], xmm2
add eax, 8
cmp eax, dword [ebp + 0x10]
jl 0x51c8b1
cmp eax, esi
jge 0x51c93a
mov ecx, dword [edx]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [ebx]
mov edi, dword [ecx + eax*4]
xor edi, edx
and edi, dword [ebp - 8]
xor edx, edi
mov dword [esi], edx
mov ecx, dword [ebx]
mov edx, dword [ebp + 0xc]
xor dword [ecx + eax*4], edi
inc eax
cmp eax, dword [ebp + 0x14]
jl 0x51c916
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51d320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor edx, edx
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], 0
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
dec esi
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x51d39a
mov ecx, dword [ecx]
mov dword [ebp - 0xc], ecx
push edi
push dword [ecx]
xor eax, esi
lea ebx, [eax - 1]
not eax
shr ebx, 0x1f
shr eax, 0x1f
and ebx, eax
neg ebx
mov edi, ebx
or edi, dword [ebp - 4]
call fcn.0051cc80
mov ecx, dword [ebp - 0xc]
mov edx, edi
not edx
mov dword [ebp - 4], edi
and edx, 0x20
and eax, ebx
add edx, dword [ebp + 8]
add ecx, 4
add edx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 8]
add esp, 4
inc eax
mov dword [ebp + 8], edx
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x10]
jl 0x51d350
pop edi
not esi
lea eax, [esi - 1]
not esi
shr eax, 0x1f
shr esi, 0x1f
and eax, esi
dec eax
pop esi
and eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x526160
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6b900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, str.RANDFILE
push 0
push 0
push ebx
mov dword [ebp - 8], 1
call edi
mov esi, eax
test esi, esi
jne 0x5261c9
push eax
push eax
mov ebx, str.HOME
mov dword [ebp - 8], eax
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x5261c9
push eax
push eax
mov ebx, str.USERPROFILE
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x5261c9
push eax
push eax
mov ebx, str.SYSTEMROOT
push ebx
call edi
mov esi, eax
test esi, esi
je 0x5262f1
lea eax, [esi + esi]
call fcn.0060abc0
mov eax, esp
push esi
push eax
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp eax, esi
jae 0x5262f1
mov ebx, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x5262f1
call fcn.0060abc0
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x5262f1
test esi, esi
je 0x5262f1
cmp byte [esi], 0
je 0x5262f1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x526243
sub ecx, edx
cmp dword [ebp - 8], 0
je 0x526288
lea eax, [ecx + 1]
cmp eax, dword [ebp + 0xc]
jae 0x5262f1
mov ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x526265
mov eax, ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 6]
cmp eax, dword [ebp + 0xc]
jae 0x5262f1
mov ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x526297
lea edi, [ebx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x5262a7
mov ax, word [0x695624]
lea edx, [ebx - 1]
mov word [edi], ax
nop dword [eax]
mov al, byte [edx + 1]
lea edx, [edx + 1]
test al, al
jne 0x5262c0
mov ecx, dword [str..rnd]
mov eax, ebx
mov dword [edx], ecx
mov cl, byte [0x62e740]
mov byte [edx + 4], cl
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
Function at 0x526310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x6b900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x538], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x53c], edi
test esi, esi
jne 0x52634d
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
push ebx
push 0x692620
push edi
call fcn.00552700
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x52637a
push 0x62
push str.....crypto_rand_randfile.c
push 0x79
push 0x6f
push 0x24
call fcn.00528240
push edi
jmp 0x5264bf
lea eax, [ebp - 0x534]
push eax
push ebx
call fcn.005f1c4b
add esp, 4
push eax
call fcn.005fb675
add esp, 8
test eax, eax
jns 0x5263d3
push 0x69
push str.....crypto_rand_randfile.c
push 0x71
push 0x6f
push 0x24
call fcn.00528240
push edi
push str.Filename
push 2
call fcn.00527b10
push ebx
call fcn.005e48cd
add esp, 0x24
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
test esi, esi
jns 0x5263ed
test dword [ebp - 0x52e], 0x8000
mov esi, 0x100
cmovne esi, dword [ebp - 0x520]
push 0
push ebx
call fcn.005fbeba
add esp, 8
test esi, esi
jle 0x52640c
cmp esi, 0x500
mov eax, 0x400
cmovle eax, esi
jmp 0x526411
mov eax, 0x500
push ebx
push eax
lea eax, [ebp - 0x504]
push 1
push eax
call fcn.005ed848
push ebx
mov edi, eax
call fcn.005e482c
add esp, 0x14
test eax, eax
je 0x526449
call fcn.005f01ed
cmp dword [eax], 4
jne 0x526449
push ebx
call fcn.005fbe0a
add esp, 4
test edi, edi
je 0x5263f8
jmp 0x52644d
test edi, edi
je 0x526481
movd xmm0, edi
lea eax, [ebp - 0x504]
cvtdq2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push edi
push eax
call fcn.00525620
add dword [ebp - 0x538], edi
add esp, 0x10
test esi, esi
jle 0x52640c
sub esi, edi
test esi, esi
jg 0x5263fc
lea eax, [ebp - 0x504]
push 0x500
push eax
call fcn.00537190
push ebx
call fcn.005e48cd
add esp, 0xc
call fcn.005257d0
test eax, eax
jne 0x5264e2
push 0xa6
push str.....crypto_rand_randfile.c
push 0x76
push 0x6f
push 0x24
call fcn.00528240
push dword [ebp - 0x53c]
push str.Filename
push 2
call fcn.00527b10
add esp, 0x20
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x538]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0049a127
mov esp, ebp
pop ebp
ret
Function at 0x52d4b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.005e1180
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x52df10
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.005e1180
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x52e260
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x70
push 0
push esi
call fcn.005e1180
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x530790
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [ebp + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 0x20]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.0051a170
add esp, 8
test esi, esi
jg 0x5307da
push esi
call fcn.00530ae0
add esp, 4
test eax, eax
je 0x5307da
push 0xa
push edi
call fcn.0051a800
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x5317b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor edx, edx
test esi, esi
je 0x531800
mov al, byte [esi]
test al, al
je 0x531800
push edi
mov edi, 0x100
nop dword [eax]
movsx eax, al
lea esi, [esi + 1]
or eax, edi
add edi, 0x100
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x5317d0
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x531a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x531aca
mov al, byte [edi]
test al, al
je 0x531aca
push ebx
mov ebx, 0x100
nop word [eax + eax]
movsx eax, al
push eax
call fcn.00552a30
or eax, ebx
lea edi, [edi + 1]
mov ecx, eax
add esp, 4
shr ecx, 2
add ebx, 0x100
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol esi, cl
xor esi, eax
mov al, byte [edi]
test al, al
jne 0x531a90
mov eax, esi
pop ebx
shr eax, 0x10
pop edi
xor eax, esi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
cmp dword [eax], 5
je 0x538d4d
push eax
push esi
call fcn.00539410
add esp, 8
test eax, eax
jle 0x538d93
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push esi
mov edi, eax
call fcn.0051a170
add esp, 8
test edi, edi
jg 0x538d90
push edi
call fcn.00530ae0
add esp, 4
test eax, eax
je 0x538d90
push 0xa
push esi
call fcn.0051a800
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x53fa20
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.005b2420
mov esi, eax
push esi
call fcn.0052d4b0
add esp, 8
test eax, eax
jne 0x53fa3e
pop esi
pop ebp
ret
lea eax, [esi + 0x5c]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp fcn.005d36e0

Function at 0x545f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + 0x60]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [edx + 0x70]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test esi, esi
je 0x545ff8
test edi, edi
je 0x545fd8
nop dword [eax]
cmp esi, 0x40
jae 0x545fd8
mov al, byte [esi + edx + 0x30]
inc esi
xor al, byte [ebx]
inc ebx
mov byte [ecx], al
inc ecx
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x545fc0
mov dword [edx + 0x70], esi
test edi, edi
je 0x5460a7
cmp esi, 0x40
jne 0x545ff8
mov dword [edx + 0x70], 0
add dword [edx + 0x20], 1
jne 0x545ff8
inc dword [edx + 0x24]
mov eax, edi
lea esi, [edx + 0x20]
and eax, 0x3f
mov dword [ebp - 0x10], esi
sub edi, eax
mov dword [ebp - 8], eax
mov eax, dword [esi]
cmp edi, 0x40
jb 0x54605d
nop
mov esi, edi
shr esi, 6
add eax, esi
mov dword [ebp - 0xc], eax
cmp eax, esi
jae 0x546027
sub esi, eax
mov dword [ebp - 0xc], 0
lea eax, [edx + 0x20]
shl esi, 6
push eax
push edx
push esi
push ebx
push ecx
call fcn.00587660
mov ecx, dword [ebp + 8]
sub edi, esi
mov eax, dword [ebp - 0xc]
add ecx, esi
mov edx, dword [ebp - 4]
add ebx, esi
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp + 8], ecx
mov dword [esi], eax
test eax, eax
jne 0x546058
inc dword [edx + 0x24]
cmp edi, 0x40
jae 0x546010
cmp dword [ebp - 8], 0
je 0x5460a7
push 0x40
lea edi, [edx + 0x30]
push 0
push edi
call fcn.005e1180
push esi
mov esi, dword [ebp - 4]
push esi
push 0x40
push edi
push edi
call fcn.00587660
mov eax, dword [ebp - 8]
add esp, 0x20
xor edi, edi
test eax, eax
je 0x5460a4
mov edx, dword [ebp + 8]
sub ebx, edx
nop
lea ecx, [edi + edx]
mov al, byte [ebx + ecx]
xor al, byte [esi + edi + 0x30]
inc edi
mov byte [ecx], al
mov eax, dword [ebp - 8]
cmp edi, eax
jb 0x546090
mov dword [esi + 0x70], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x547900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor dl, dl
test esi, esi
je 0x547927
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x547916
pop edi
movzx eax, dl
pop esi
pop ebp
ret
Function at 0x547a80
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6b900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x547b09
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x547b09
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.0040176a
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005e7f4d
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [ebp - 0x20c]
push 0
push ecx
test eax, eax
mov ecx, 0x200
cmovs eax, ecx
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x547c51
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x547b11
sub ecx, edx
lea esi, [ecx + 1]
lea eax, [esi + esi]
call fcn.0060abc0
mov edi, esp
test edi, edi
jne 0x547b35
mov edi, str.no_stack_
jmp 0x547bbf
push esi
push edi
push esi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x547b61
xor ecx, ecx
test esi, esi
je 0x547b61
nop dword [eax]
mov eax, dword [ebp + 8]
movsx ax, byte [ecx + eax]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x547b50
xor edx, edx
test esi, esi
je 0x547bbf
lea ebx, [edx + 0x53]
nop word [eax + eax]
cmp word [edi + edx*2], 0x25
jne case.0x547b92.43
lea ecx, [edx + 1]
lea ecx, [edi + ecx*2]
nop dword [eax]
movzx eax, word [ecx]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x547b92.43
movzx eax, byte [eax + 0x547c80]
jmp dword [eax*4 + 0x547c68]
inc edx
add ecx, 2
jmp 0x547b80
mov word [ecx], bx
jmp case.0x547b92.43
mov eax, 0x73
jmp 0x547bb7
mov eax, 0x43
jmp 0x547bb7
mov eax, 0x63
mov word [ecx], ax
inc edx
cmp edx, esi
jb 0x547b70
lea eax, [ebp + 0xc]
push eax
push 0
push edi
lea eax, [ebp - 0x208]
push 0xff
push eax
call fcn.0040176a
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005e7f95
add esp, 0x1c
xor eax, eax
mov word [ebp - 0xa], ax
call fcn.00547960
test eax, eax
jle 0x547c3b
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x547c51
push 0
lea eax, [ebp - 0x208]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x547c51
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x218]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
Function at 0x54f2b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov eax, esi
sub eax, ebx
je 0x54f2f3
sub eax, 2
je 0x54f2f3
sub eax, 0x15
je 0x54f2f3
push 0x297
push str.....crypto_bio_b_addr.c
push 0x83
push 0x8f
push 0x20
call fcn.00528240
add esp, 0x14
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005528d0
cmp eax, 1
jne 0x54f2eb
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
push edi
xor edi, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
movups xmmword [ebp - 0x10], xmm0
test esi, esi
jne 0x54f329
or eax, 0x400
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x10], 1
jne 0x54f335
or eax, 1
mov dword [ebp - 0x20], eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
je 0x54f385
nop
cmp esi, 8
je 0x54f3ca
mov eax, dword [ebp - 0x20]
test eax, 0x400
je 0x54f393
push dword [ebp + 0x20]
and eax, 0xfffffbff
mov edi, esi
or eax, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x54f350
mov ebx, 1
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2da
push str.....crypto_bio_b_addr.c
push 2
push 0x8f
push 0x20
call fcn.00528240
test edi, edi
cmovne esi, edi
push esi
call fcn.0054f7d0
push eax
push 1
call fcn.00527b10
add esp, 0x20
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2cb
push str.....crypto_bio_b_addr.c
push 0x41
push 0x8f
push 0x20
call fcn.00528240
add esp, 0x14
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54f5c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x6b900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
call fcn.005528d0
cmp eax, 1
jne 0x54f6b3
push 0x401
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.005e1180
mov eax, dword [ebp + 0xc]
add esp, 0xc
neg eax
mov byte [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0xb], 0
sbb eax, eax
movq qword [ebp - 0x13], xmm0
and eax, 0xa
mov word [ebp - 7], 0
push eax
push 0x20
lea eax, [ebp - 0x24]
mov byte [ebp - 5], 0
push eax
push 0x401
lea eax, [ebp - 0x428]
push eax
push ebx
movups xmmword [ebp - 0x23], xmm0
call fcn.0054f260
add esp, 4
push eax
push ebx
call fcn.0053e920
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x42c], eax
test eax, eax
je 0x54f6c6
push 0xdb
push str.....crypto_bio_b_addr.c
push 2
push 0x86
push 0x20
call fcn.00528240
add esp, 0x14
push 0
push 0x400
push 0x6c7fa0
push 0x400
push dword [ebp - 0x42c]
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x6c7fa0
push 1
call fcn.00527b10
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x24], 0
jne 0x54f6f6
push ebx
call fcn.0054f210
add esp, 4
movzx eax, ax
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push 0x692640
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0051b1e0
add esp, 0x10
test edi, edi
je 0x54f715
push 0xed
lea eax, [ebp - 0x428]
push str.....crypto_bio_b_addr.c
push eax
call fcn.0052fe90
add esp, 0xc
mov dword [edi], eax
test esi, esi
je 0x54f731
push 0xef
lea eax, [ebp - 0x24]
push str.....crypto_bio_b_addr.c
push eax
call fcn.0052fe90
add esp, 0xc
mov dword [esi], eax
test edi, edi
je 0x54f73a
cmp dword [edi], 0
je 0x54f743
test esi, esi
je 0x54f7ad
cmp dword [esi], 0
jne 0x54f7ad
test edi, edi
je 0x54f761
push 0xfe
push str.....crypto_bio_b_addr.c
push dword [edi]
call fcn.005199a0
add esp, 0xc
mov dword [edi], 0
test esi, esi
je 0x54f77f
push 0x102
push str.....crypto_bio_b_addr.c
push dword [esi]
call fcn.005199a0
add esp, 0xc
mov dword [esi], 0
push 0x105
push str.....crypto_bio_b_addr.c
push 0x41
push 0x86
push 0x20
call fcn.00528240
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a127
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049a127
mov esp, ebp
pop ebp
ret
Function at 0x5512b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00551400

Function at 0x5512c0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x551c20
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret