joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ccf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 8]
mov eax, dword [0x591128]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp ebx, eax
je 0x40cd40
mov edi, ecx
mov byte [ebp - 0x19], bl
cmp byte [ecx + 0x2c], 0
je 0x40cd49
xor esi, esi
inc esi
lea eax, [ebp - 0x19]
push dword [edi + 0x20]
push esi
push esi
push eax
call fcn.00525b6b
add esp, 0x10
cmp eax, esi
mov esi, 0xffffffff
je 0x40cd42
jmp 0x40cdd1
xor ebx, ebx
mov esi, ebx
jmp 0x40cdd1
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x19]
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x40cdce
mov ebx, eax
cmp eax, 3
je 0x40cdb1
cmp ebx, 1
ja 0x40cdce
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.00525b6b
add esp, 0x10
cmp eax, esi
jne 0x40cdce
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x40cd54
jmp 0x40cdc6
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.00525b6b
add esp, 0x10
cmp eax, ebx
jne 0x40cdce
mov ebx, dword [ebp + 8]
jmp 0x40cd42
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f421
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x40ce20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x40ce44
push dword [ecx + 0x20]
push esi
push 2
push eax
call fcn.00525b6b
add esp, 0x14
jmp 0x40ce74
test esi, esi
jle 0x40ce6d
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ebx, eax
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp ax, 0xffff
je 0x40ce6f
inc edi
cmp esi, edi
mov eax, ebx
jne 0x40ce4d
mov edi, esi
jmp 0x40ce6f
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x40ce80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
movzx esi, word [ebp + 8]
mov eax, dword [0x591128]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
cmp si, 0xffff
je 0x40cecf
mov edi, ecx
mov word [ebp - 0x1a], si
cmp byte [ecx + 0x2c], 0
je 0x40cee7
lea eax, [ebp - 0x1a]
push dword [edi + 0x20]
push 1
push 2
push eax
call fcn.00525b6b
add esp, 0x10
cmp eax, 1
je 0x40ced1
xor esi, esi
dec esi
jmp 0x40ced1
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f421
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
lea esi, [ebp - 0x1a]
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x18]
push edx
push esi
push dword [edi + 0x28]
call dword [eax + 8]
cmp dword [ebp - 0x24], esi
je 0x40ceca
mov ebx, eax
cmp eax, 3
je 0x40cf4f
cmp ebx, 1
ja 0x40ceca
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.00525b6b
add esp, 0x10
cmp eax, esi
jne 0x40ceca
mov esi, dword [ebp - 0x24]
cmp ebx, 1
je 0x40cef2
jmp 0x40cf68
xor ebx, ebx
inc ebx
push dword [edi + 0x20]
push ebx
push ebx
push esi
call fcn.00525b6b
add esp, 0x10
cmp eax, ebx
jne 0x40ceca
movzx esi, word [ebp + 8]
jmp 0x40ced1

Function at 0x411370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x41139f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x411381
pop esi
pop edi
pop ebp
ret 8

Function at 0x411490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x4114c1
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x4114a1
pop esi
pop edi
pop ebp
ret 8
Function at 0x412380
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 8], esp
lea ecx, [esi + 0x70]
mov dword [ecx - 4], esp
xor edx, edx
dec edx
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x420ca0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
lea eax, [esi + 0x18]
mov word [eax + 4], 0
mov dword [eax], 0x7025
lea edi, [esi + 0x50]
mov dword [edi + 0x10], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
push eax
sub esp, 0x18
mov ebx, esp
lea eax, [ebx + 8]
push eax
call fcn.0040d040
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], 0x14
lea eax, [esi + 0x18]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x18], eax
call fcn.004238ae
add esp, 0x1c
mov esp, dword [esi + 8]
mov dword [esi + 8], eax
add eax, esi
add eax, 0x50
mov ebx, dword [ebp + 0x10]
push ebx
mov dword [esi + 0x14], eax
push eax
push edi
call fcn.0040fd6a
add esp, 0xc
mov dword [esi + 0x10], eax
xor eax, eax
dec eax
mov dword [esi + 0x41], eax
mov dword [esi + 0x3d], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
lea edi, [esi + 0xc]
mov ecx, ebx
push edi
call fcn.0040a18a
lea eax, [esi + 0x70]
mov dword [eax + 8], 0
mov ecx, edi
push 0x592504
call fcn.0040dc30
mov ebx, eax
mov ecx, dword [esi + 0xc]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x412472
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x78], 0xffffffff
lea edx, [esi + 0x20]
mov ecx, ebx
push edx
mov edi, dword [esi + 0x14]
push edi
lea ebx, [esi + 0x50]
push ebx
call eax
mov ecx, dword [esi + 0x10]
mov eax, ecx
sub eax, ebx
cmp ecx, edi
mov ecx, dword [esi + 8]
lea ecx, [esi + ecx + 0x20]
lea eax, [esi + eax + 0x20]
cmove eax, ecx
movsx edx, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push ecx
push eax
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.00401d40
add esp, 0x1c
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x4159d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x420e20
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0xc], fcn.004028c0
mov dword [esi + 0x14], edx
mov dword [eax + 8], 1
lea eax, [esi + 4]
mov dword [eax], edx
push eax
call fcn.0040a18a
mov dword [esi + 0x98], 2
lea ecx, [esi + 4]
push 0x592504
call fcn.0040dc30
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x14]
lea ecx, [esi + 0x84]
lea edx, [esi + 3]
mov byte [edx], 0
lea edi, [esi + 0x14]
lea ebx, [esi + 8]
movzx eax, al
push ecx
push edi
push ebx
push dword [esi + 0x10]
push edx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 4]
push ecx
push eax
push dword [esi + 0x1c]
lea eax, [ebp + 0xc]
push eax
call fcn.0041d590
add esp, 0x2c
test al, al
je 0x415b26
mov ecx, dword [ebp + 0x20]
test byte [ecx], 1
jne 0x415ac7
mov word [ecx], 0
jmp 0x415ad4
mov eax, dword [ecx + 8]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [esi + 3], 0
je 0x415af0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x2d
call dword [eax + 0x1c]
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.00421aac
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x30
call dword [eax + 0x1c]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x14]
lea ecx, [edi - 1]
cmp edx, ecx
jae 0x415b12
cmp byte [edx], al
jne 0x415b12
inc edx
cmp ecx, edx
jne 0x415b07
mov edx, ecx
mov dword [esi + 0x98], 2
mov ecx, dword [ebp + 0x20]
push edi
push edx
call fcn.00420700
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.00402f50
mov edi, dword [ebp + 8]
test al, al
je 0x415b3f
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 4]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x415b58
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x415b7a
mov dword [esi + 0x98], 0
push eax
call dword [esi + 0xc]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x41d1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004206c2
mov ebx, eax
test esi, esi
je 0x41d1e9
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x41d1d6
movzx eax, word [eax]
jmp 0x41d1dd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x41d1e9
test bl, bl
jne 0x41d1ef
jmp 0x41d24c
xor esi, esi
test bl, bl
jne 0x41d23d
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d1fe
movzx eax, word [eax]
jmp 0x41d203
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x41d22e
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x41d227
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x41d1bc
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x41d1bc
mov ecx, edi
call fcn.004206c2
mov ebx, eax
test esi, esi
jne 0x41d255
jmp 0x41d246
mov ecx, edi
call fcn.004206c2
mov ebx, eax
test bl, bl
jne 0x41d274
jmp 0x41d27a
mov ecx, edi
call fcn.004206c2
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x41d262
movzx eax, word [eax]
jmp 0x41d269
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x41d27a
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x425880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x591128]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea ebx, [ebp - 0x20]
push 3
push ecx
push eax
push ebx
call fcn.00441000
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425a6b
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
mov dword [ebp - 0x14], 0
push 0x800
push 0
push str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [0x58b35c]
test eax, eax
mov dword [ebp - 0x30], eax
je 0x4258fa
push 0x53f0b6
push eax
call dword [0x58b290]
test eax, eax
je 0x42590a
mov ecx, eax
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
jmp 0x425905
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x28], eax
jmp 0x425911
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4259fb
mov dword [ebp - 0x2c], edi
cmp eax, 0x15555556
jae 0x425a87
mov edi, eax
shl edi, 2
lea esi, [edi + edi*2]
push esi
call fcn.0050f358
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
add eax, esi
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x34], edi
jmp 0x4259b9
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.0050f358
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
or edi, 1
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push dword [ebp - 0x38]
push eax
mov edi, eax
call fcn.00512980
mov eax, edi
mov edi, dword [ebp - 0x34]
add esp, 0xc
mov word [eax + ebx*2], 0
add dword [ebp - 0x24], 0xc
add esi, 4
cmp edi, esi
je 0x4259ef
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + esi]
mov dword [ebp - 0x38], eax
push eax
call fcn.005277c4
add esp, 4
cmp eax, 0x7ffffff0
jae 0x425a7f
mov ebx, eax
cmp eax, 5
jae 0x425970
mov eax, ebx
add al, bl
mov ecx, dword [ebp - 0x24]
mov byte [ecx], al
lea eax, [ecx + 2]
test ebx, ebx
jne 0x425990
jmp 0x4259a8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x2c]
lea ebx, [ebp - 0x20]
mov ecx, edi
push ebx
call fcn.00425220
mov dword [edi], 0
mov dword [edi + 4], 0
push dword [ebp - 0x28]
call dword [0x58b364]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x425a27
push eax
call dword [0x58b204]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x425a6b
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x425a46
mov eax, esi
jmp 0x425a5f
mov eax, edi
cmp esi, edi
je 0x425a5c
lea edi, [eax - 0xc]
test byte [eax - 0xc], 1
je 0x425a40
push dword [eax - 4]
call fcn.0050f3dd
add esp, 4
jmp 0x425a40
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push eax
call fcn.0050f3dd
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f421
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp - 0x24]
call fcn.00421338
lea ecx, [ebp - 0x20]
call fcn.0042341c
int3
Function at 0x437030
Capabilities:
Encrypt data using rc4 prga

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

Function at 0x43ea50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x591128]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00512f00
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x5401a0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW_1]
test eax, eax
js 0x43eab8
cmp word [ebp - 0x214], 0
je 0x43eab8
push edi
call fcn.005277c4
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00428ab0
jmp 0x43eb11
mov dword [ebp - 0x220], 0xffffffff
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x218], 0xffffffff
lea edi, [ebp - 0x220]
mov ecx, edi
call fcn.00428a50
push edi
call fcn.0043e9a0
add esp, 4
mov ecx, esi
test al, al
je 0x43eafa
push edi
call fcn.00428a80
jmp 0x43eb06
push 3
push 0x540210
call fcn.00428ab0
lea ecx, [ebp - 0x220]
call fcn.00428b40
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0050f421
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x441ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x591128]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x441f08
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x441f08
cmp dword [ebp - 0x14], 4
jne 0x441f08
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0050f421
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x441f20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0050f930
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x591128]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.00512f00
add esp, 0xc
mov dword [ebp - 0x1014], 1
mov dword [ebp - 0x1018], 0x800
lea eax, [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x441ff4
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x441fa9
mov edi, 0x3f4
cmp eax, 1
jne 0x441ff4
mov ecx, esi
push ebx
jmp 0x441fed
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00512f00
add esp, 0xc
push 0x400
push edi
push ebx
call dword [0x58b1e0]
mov dword [ebp - 0x1018], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x441ff4
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.00422b88
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f421
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x442010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.005277c4
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x443eb0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x591128]
xor ecx, ebp
mov dword [ebp - 8], ecx
test eax, eax
je 0x443efc
push eax
push dword [ebp + 8]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x443efc
lea esi, [ebp - 0xc]
push str.success
push 0x20
push str..._.._base_rand_util_win.cc
push esi
call fcn.00424910
add esp, 0x10
mov ecx, esi
call fcn.00424980
mov ecx, esi
call fcn.00424990
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0050f421
add esp, 8
pop esi
pop ebp
ret
Function at 0x4446b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x593968]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x444834
jp 0x444834
mov edi, dword [0x58b230]
call edi
push eax
call dword [0x58b2dc]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [0x58b414]
mov eax, dword [0x593978]
mov ecx, dword [0x593c6c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x444859
mov eax, dword [0x593988]
mov ecx, dword [0x593c6c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x444892
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea esi, [esp + 0x28]
push esi
call dword [0x58b394]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [0x58b230]
push dword [esp + 0xc]
push eax
call dword [0x58b414]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [0x58b398]
sub edi, dword [0x593980]
sbb ebx, dword [0x593984]
movd xmm0, ebx
movd xmm1, edi
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x53b450]
subpd xmm1, xmmword [0x53b460]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
xorpd xmm1, xmm1
movsd xmm2, qword [0x540c78]
ucomisd xmm2, xmm0
ja 0x444834
mov eax, dword [esp + 8]
sub eax, dword [0x593970]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x593974]
movd xmm1, ecx
movd xmm2, eax
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x53b450]
subpd xmm2, xmmword [0x53b460]
movapd xmm1, xmm2
unpckhpd xmm1, xmm2
addsd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x593968], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0050f421
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x593978
call fcn.0050f467
add esp, 4
cmp dword [0x593978], 0xffffffff
jne 0x444722
rdtsc
mov dword [0x593970], eax
mov dword [0x593974], edx
push 0x593978
call fcn.0050f4dd
add esp, 4
jmp 0x444722
push 0x593988
call fcn.0050f467
add esp, 4
cmp dword [0x593988], 0xffffffff
jne 0x444743
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
call dword [0x58b394]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [0x593984], ecx
mov dword [0x593980], eax
push 0x593988
call fcn.0050f4dd
add esp, 4
jmp 0x444743
Function at 0x4458a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x445944
mov esi, ecx
mov dword [esp + 0xc], 0xffffff12
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x11], 0x65647261
mov word [esp + 0x15], 0x64
mov dword [esp + 0xd], 0x63736964
lea eax, [esp + 0xc]
mov edi, esp
push eax
push edi
call fcn.00445810
push 0x40
call fcn.0050f358
add esp, 4
mov ebx, eax
mov ecx, eax
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x14]
push eax
call fcn.00444b80
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x44592e
mov ecx, edi
call fcn.00444bd0
push edi
call fcn.0050f3dd
add esp, 4
test byte [esp + 0xc], 1
je 0x445941
push dword [esp + 0x14]
call fcn.0050f3dd
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.0050f421
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret