joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428800
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
add eax, eax
add eax, eax
add eax, eax
mov edx, ecx
shr edx, 0x1d
or eax, edx
mov ebx, eax
shr ebx, 0x18
mov byte [ebp - 8], bl
mov ebx, eax
shr ebx, 0x10
mov byte [ebp - 5], al
lea edx, [ecx*8]
mov byte [ebp - 7], bl
mov ebx, eax
mov eax, edx
shr eax, 0x18
mov byte [ebp - 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 3], al
mov eax, edx
shr eax, 8
shr ebx, 8
and ecx, 0x3f
mov byte [ebp - 2], al
mov byte [ebp - 6], bl
mov byte [ebp - 1], dl
mov eax, 0x38
cmp ecx, 0x38
jb 0x42886d
mov eax, 0x78
sub eax, ecx
push eax
push 0x55dc28
push esi
call fcn.00428750
push 8
lea ecx, [ebp - 8]
push ecx
push esi
call fcn.00428750
movzx edx, byte [esi + 3]
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
movzx ecx, byte [esi + 2]
mov byte [eax + 1], cl
mov edx, dword [esi]
shr edx, 8
mov byte [eax + 2], dl
movzx ecx, byte [esi]
mov byte [eax + 3], cl
movzx edx, byte [esi + 7]
mov byte [eax + 4], dl
movzx ecx, byte [esi + 6]
mov byte [eax + 5], cl
mov edx, dword [esi + 4]
shr edx, 8
mov byte [eax + 6], dl
movzx ecx, byte [esi + 4]
mov byte [eax + 7], cl
movzx edx, byte [esi + 0xb]
mov byte [eax + 8], dl
movzx ecx, byte [esi + 0xa]
mov byte [eax + 9], cl
mov edx, dword [esi + 8]
shr edx, 8
mov byte [eax + 0xa], dl
movzx ecx, byte [esi + 8]
mov byte [eax + 0xb], cl
movzx edx, byte [esi + 0xf]
mov byte [eax + 0xc], dl
movzx ecx, byte [esi + 0xe]
mov byte [eax + 0xd], cl
mov edx, dword [esi + 0xc]
shr edx, 8
mov byte [eax + 0xe], dl
movzx ecx, byte [esi + 0xc]
mov byte [eax + 0xf], cl
movzx edx, byte [esi + 0x13]
mov byte [eax + 0x10], dl
movzx ecx, byte [esi + 0x12]
mov byte [eax + 0x11], cl
mov edx, dword [esi + 0x10]
shr edx, 8
mov byte [eax + 0x12], dl
movzx ecx, byte [esi + 0x10]
mov byte [eax + 0x13], cl
movzx edx, byte [esi + 0x17]
mov byte [eax + 0x14], dl
movzx ecx, byte [esi + 0x16]
mov byte [eax + 0x15], cl
mov edx, dword [esi + 0x14]
shr edx, 8
mov byte [eax + 0x16], dl
movzx ecx, byte [esi + 0x14]
mov byte [eax + 0x17], cl
movzx edx, byte [esi + 0x1b]
mov byte [eax + 0x18], dl
movzx ecx, byte [esi + 0x1a]
mov byte [eax + 0x19], cl
mov edx, dword [esi + 0x18]
shr edx, 8
mov byte [eax + 0x1a], dl
movzx ecx, byte [esi + 0x18]
mov byte [eax + 0x1b], cl
movzx edx, byte [esi + 0x1f]
mov byte [eax + 0x1c], dl
movzx ecx, byte [esi + 0x1e]
mov byte [eax + 0x1d], cl
mov edx, dword [esi + 0x1c]
add esp, 0x18
shr edx, 8
mov byte [eax + 0x1e], dl
movzx ecx, byte [esi + 0x1c]
pop esi
mov byte [eax + 0x1f], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428980
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov ecx, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
shr eax, 6
and ecx, 0x3f
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x68], 0x6a09e667
mov dword [ebp - 0x64], 0xbb67ae85
mov dword [ebp - 0x60], 0x3c6ef372
mov dword [ebp - 0x5c], 0xa54ff53a
mov dword [ebp - 0x58], 0x510e527f
mov dword [ebp - 0x54], 0x9b05688c
mov dword [ebp - 0x50], 0x1f83d9ab
mov dword [ebp - 0x4c], 0x5be0cd19
mov dword [ebp + 0xc], ecx
cmp eax, edi
jbe 0x4289fc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov edi, eax
push 0x40
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00428750
add esp, 0xc
add esi, 0x40
dec ebx
jne 0x4289e2
mov ecx, dword [ebp + 0xc]
pop esi
pop ebx
test ecx, ecx
je 0x428a14
push ecx
shl edi, 6
add edi, dword [ebp + 8]
lea ecx, [ebp - 0x68]
push edi
push ecx
call fcn.00428750
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.00428800
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x428ca0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
jb 0x428cd8
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 4], eax
test eax, eax
jne 0x428d28
push 0x14
push str.Cannot_open_internet
lea ecx, [esi + 0x18]
call fcn.00404e20
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4291b0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.00421a00
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0xc]
push esi
lea eax, [ebp + 0x10]
push eax
push ecx
push 0x16
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x42928c
push 0x3ff
lea eax, [ebp - 0x42b]
push 0
push eax
mov byte [ebp - 0x42c], 0
call fcn.004e00a0
mov eax, dword [edi + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
lea edx, [ebp - 0x42c]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x42c]
push edx
mov ecx, ebx
mov esi, eax
call fcn.00421a70
test esi, esi
je 0x429265
cmp dword [ebp - 0x10], 0
jne 0x429210
push str.Recv_from_netgate
mov ecx, ebx
call fcn.00421a50
cmp dword [ebp - 0x10], 0
jne 0x42928c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.httpQueryInfo_failed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push 0xd
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.CSyncHttpConn
mov byte [ecx], 0
call fcn.00404e20
push 1
push 0x57d720
call fcn.0041cec0
mov ecx, dword [ebp - 0xc]
add esp, 0x28
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433e50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
dec ecx
push edi
mov edi, dword [esi + 4]
shr ecx, 0x1f
xor edx, edi
dec ecx
and edx, ecx
xor edi, edx
mov dword [esi + 4], edi
xor dword [eax + 4], edx
lea edx, [ebx - 1]
cmp edx, 9
ja case.default.0x433e82
jmp dword [edx*4 + 0x433fac]
mov edi, 0xa
cmp ebx, edi
jle case.0x433e82.10
push ebp
mov edx, dword [esi]
mov ebx, dword [edx + edi*4]
lea ebp, [edx + edi*4]
mov edx, dword [eax]
mov edx, dword [edx + edi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + edi*4], edx
lea ebx, [ebx + edi*4]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x433e93
pop ebp
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x24]
mov edx, dword [edx + 0x24]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x24], edi
mov edi, dword [eax]
xor dword [edi + 0x24], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x20]
mov edx, dword [edx + 0x20]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x20], edi
mov edi, dword [eax]
xor dword [edi + 0x20], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1c]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x1c], edi
mov edi, dword [eax]
xor dword [edi + 0x1c], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
mov edx, dword [edx + 0x18]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x18], edi
mov edi, dword [eax]
xor dword [edi + 0x18], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
mov edx, dword [edx + 0x14]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x14], edi
mov edi, dword [eax]
xor dword [edi + 0x14], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
mov edx, dword [edx + 0x10]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x10], edi
mov edi, dword [eax]
xor dword [edi + 0x10], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
mov edx, dword [edx + 0xc]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0xc], edi
mov edi, dword [eax]
xor dword [edi + 0xc], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
mov edx, dword [edx + 8]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 8], edi
mov edi, dword [eax]
xor dword [edi + 8], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 4]
mov edx, dword [edx + 4]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 4], edi
mov edi, dword [eax]
xor dword [edi + 4], edx
mov esi, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi]
mov edx, dword [edx]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [esi], edi
mov eax, dword [eax]
xor dword [eax], edx
pop edi
pop esi
pop ebx
ret
Function at 0x43da40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x43da84
mov al, byte [edx]
test al, al
je 0x43da84
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
test al, al
jne 0x43da57
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x440500
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.004e2da0
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
mov edi, edx
push ebp
mov esi, 1
push eax
mov ebx, ecx
shl esi, cl
mov dword [esp + 0x18], edi
call fcn.00434680
add esp, 8
test eax, eax
jne 0x44053b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp ebx, 3
jg 0x44059d
xor ebx, ebx
test ebp, ebp
jle 0x440700
lea ebx, [ebx]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x44057f
mov eax, ecx
xor eax, dword [esp + 0x44]
inc ecx
lea ebp, [eax - 1]
shr ebp, 0x1f
not eax
shr eax, 0x1f
and ebp, eax
mov eax, dword [edi + ecx*4 - 4]
neg ebp
and ebp, 1
neg ebp
and ebp, eax
or edx, ebp
cmp ecx, esi
jl 0x440558
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [eax + ebx*4], edx
lea eax, [esi*4]
inc ebx
add edi, eax
cmp ebx, dword [esp + 0x40]
jl 0x440550
jmp 0x440700
mov edx, dword [esp + 0x44]
lea ecx, [ebx - 2]
mov eax, edx
sar eax, cl
mov edi, 1
shl edi, cl
lea ebx, [eax - 1]
shr ebx, 0x1f
lea ecx, [edi - 1]
and edx, ecx
mov dword [esp + 0x44], edx
mov edx, eax
not edx
shr edx, 0x1f
and ebx, edx
mov ecx, eax
xor ecx, 1
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and edx, ecx
mov ecx, eax
xor ecx, 2
lea ebp, [ecx - 1]
not ecx
shr ecx, 0x1f
shr ebp, 0x1f
and ebp, ecx
xor eax, 3
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ebx
neg edx
neg ebp
neg ecx
and ebx, 1
and edx, 1
and ebp, 1
and ecx, 1
xor eax, eax
neg edx
neg ebp
neg ecx
neg ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x40], eax
jle 0x440700
lea edx, [esi*4]
mov dword [esp + 0x34], edx
mov edi, edi
xor esi, esi
mov dword [esp + 0x20], esi
cmp edi, esi
jle 0x4406dc
mov eax, dword [esp + 0x10]
lea edx, [eax + edi*4]
mov dword [esp + 0x1c], edx
lea edx, [eax + edi*8]
mov dword [esp + 0x18], edx
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
and edx, ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, ebp
or ecx, edx
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
and edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
or edx, ecx
mov eax, esi
xor eax, dword [esp + 0x44]
inc esi
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4 - 4]
neg ecx
and ecx, 1
and eax, ebx
neg ecx
or eax, edx
and ecx, eax
or dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
mov eax, 4
add dword [esp + 0x14], eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
cmp esi, edi
jl 0x440670
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [esp + 0x20]
mov dword [edx + eax*4], esi
mov edx, dword [esp + 0x34]
add dword [esp + 0x10], edx
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x40]
jl 0x440640
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push eax
mov dword [eax + 4], ecx
call fcn.00434230
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x442990
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x442a53
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4429b1
cmp al, 0x6b
jne 0x442a53
lea edx, [ecx + 1]
cmp al, 0x6b
jne 0x442a17
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x4429d1
mov al, byte [edx]
inc edx
cmp al, 0xba
je 0x4429d1
cmp al, 0xbb
jne 0x4429f7
inc ecx
cmp ecx, esi
jl 0x4429c1
sub esi, ecx
test ecx, ecx
jne 0x442a1a
push 0x50
push str.....openssl_1.1.0ecrypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00431a90
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x48
push str.....openssl_1.1.0ecrypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00431a90
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x442a40
push 0x58
push str.....openssl_1.1.0ecrypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00431a90
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.004df910
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x3d
push str.....openssl_1.1.0ecrypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00431a90
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x443f60
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x208
call fcn.004e2da0
mov eax, dword [0x563374]
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 0x443fd5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x443fd5
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x204]
push 0x200
push edx
call fcn.004e5e7a
add esp, 0x10
test eax, eax
jns 0x443fb8
mov eax, 0x200
push 0
lea ecx, [ebp - 0x208]
push ecx
push eax
lea edx, [ebp - 0x204]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x44411e
mov ebx, dword [ebp + 8]
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443fe0
sub eax, edx
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004e6d00
mov esi, esp
test esi, esi
jne 0x444004
mov esi, str.no_stack_
jmp 0x44408f
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x444031
test edi, edi
je 0x444031
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
movsx dx, byte [eax + ecx]
mov word [esi + eax*2], dx
inc eax
cmp eax, edi
jb 0x444020
xor eax, eax
test edi, edi
je 0x44408f
cmp word [esi + eax*2], 0x25
jne case.0x444054.43
lea ecx, [esi + eax*2 + 2]
movzx edx, word [ecx]
add edx, 0xffffffd6
cmp edx, 0x49
ja case.0x444054.43
movzx edx, byte [edx + 0x444150]
jmp dword [edx*4 + 0x444138]
inc eax
add ecx, 2
jmp 0x444042
mov ecx, 0x53
mov word [esi + eax*2 + 2], cx
jmp case.0x444054.43
mov edx, 0x73
jmp 0x444085
mov ecx, 0x43
mov word [esi + eax*2 + 2], cx
jmp case.0x444054.43
mov edx, 0x63
mov word [esi + eax*2 + 2], dx
inc eax
cmp eax, edi
jb 0x444037
lea eax, [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x204]
push 0xff
push ecx
call fcn.004e6e95
xor edx, edx
add esp, 0x10
mov word [ebp - 6], dx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x444108
call fcn.00443e10
test eax, eax
jle 0x444108
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x44411e
push 0
lea ecx, [ebp - 0x208]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x204]
push esi
mov dword [ebp - 0x208], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x44411e
push 0x10
push str.OpenSSL:_FATAL
lea edx, [ebp - 0x204]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e6abd
mov esp, ebp
pop ebp
ret

Function at 0x4441d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor cl, cl
test edi, edi
je 0x4441f5
sub esi, eax
push ebx
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
dec edi
jne 0x4441e7
pop ebx
pop edi
movzx eax, cl
pop esi
ret
Function at 0x44c300
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
push ebx
call fcn.00461ae0
push 0x62
push esi
mov edi, eax
mov ebp, 1
call fcn.004e5780
add esp, 0x10
test eax, eax
jne 0x44c32c
lea ebp, [eax + 0x11]
test edi, edi
jne 0x44c3b5
push 0x4a
push str.....openssl_1.1.0ecrypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.00431a90
push 0x50b624
push esi
push 0x50b620
push ebx
push str.fopen_
push 5
call fcn.00431da0
add esp, 0x2c
call fcn.004e648a
cmp dword [eax], 2
je 0x44c396
call fcn.004e648a
cmp dword [eax], 6
je 0x44c396
push 0x53
push str.....openssl_1.1.0ecrypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.00431a90
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x51
push str.....openssl_1.1.0ecrypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.00431a90
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x50b5c4
call fcn.00430210
mov esi, eax
add esp, 4
test esi, esi
jne 0x44c3d8
push edi
call fcn.004e0487
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.00430390
push edi
push ebp
push 0x6a
push esi
call fcn.004307b0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x44d280
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x44d363
push esi
mov esi, dword [esp + 0x14]
inc esi
lea ebx, [ebx]
movzx edx, byte [esi - 1]
cmp edi, 3
jl 0x44d2fd
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], dl
jmp 0x44d34e
shl edx, 0x10
cmp edi, 2
jne 0x44d30d
movzx eax, byte [esi]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
cmp edi, 1
jne 0x44d33a
lea edx, [edi + 0x3c]
jmp 0x44d347
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
sub edi, 3
add ecx, 4
add ebp, 4
add esi, 3
test edi, edi
jg 0x44d2a0
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x45e970
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
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], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x45fc90
Capabilities:
Generate random numbers via winapi
Get memory capacity

Disassembly:
mov eax, 0x6c
call fcn.004e2da0
mov eax, dword [0x563374]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x45fd0d
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
push 0x40
push edx
call edi
test eax, eax
je 0x45fd04
mov eax, 8
call fcn.004e2da0
fld qword [0x5259a8]
fstp qword [esp]
lea eax, [esp + 0x3c]
push 0x40
push eax
call fcn.00437330
add esp, 0x10
mov ecx, dword [esp + 0xc]
push 0
push ecx
call ebx
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x45fd63
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x34]
push eax
push 0x40
push ecx
call edi
test eax, eax
je 0x45fd5a
mov eax, 8
call fcn.004e2da0
fld qword [0x5259a8]
fstp qword [esp]
lea edx, [esp + 0x3c]
push 0x40
push edx
call fcn.00437330
add esp, 0x10
mov eax, dword [esp + 0xc]
push 0
push eax
call ebx
call fcn.0045fc10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.004e2da0
fld1
fstp qword [esp]
lea edx, [esp + 0x1c]
push 0x20
push edx
call fcn.00437330
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
mov eax, 8
call fcn.004e2da0
fld1
fstp qword [esp]
lea eax, [esp + 0x18]
push 4
push eax
call fcn.00437330
mov ecx, dword [esp + 0x84]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004e6abd
add esp, 0x6c
ret