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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push edi
push 0x3f
mov dword [ebp - 4], eax
add edx, 8
mov dword [ebp - 8], 8
pop ecx
ror eax, 4
xor eax, dword [edx - 8]
mov edi, eax
shr edi, 0x18
and edi, ecx
mov edi, dword [edi*4 + 0x100489f8]
mov ebx, eax
shr ebx, 0x10
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048bf8]
mov ebx, eax
shr ebx, 8
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048df8]
and eax, ecx
xor edi, dword [eax*4 + 0x10048ff8]
mov eax, dword [edx - 4]
xor eax, dword [ebp - 4]
xor esi, edi
mov edi, eax
shr edi, 0x18
and edi, ecx
mov edi, dword [edi*4 + 0x10048af8]
mov ebx, eax
shr ebx, 0x10
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048cf8]
mov ebx, eax
shr ebx, 8
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048ef8]
and eax, ecx
xor edi, dword [eax*4 + 0x100490f8]
xor esi, edi
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 0x10
mov edi, eax
shr edi, 0x18
and edi, ecx
mov edi, dword [edi*4 + 0x100489f8]
mov ebx, eax
shr ebx, 0x10
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048bf8]
mov ebx, eax
shr ebx, 8
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048df8]
and eax, ecx
xor edi, dword [eax*4 + 0x10048ff8]
mov eax, dword [edx - 0xc]
xor dword [ebp - 4], edi
xor eax, esi
mov edi, eax
shr edi, 0x18
mov ebx, eax
and edi, ecx
mov edi, dword [edi*4 + 0x10048af8]
shr ebx, 0x10
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048cf8]
mov ebx, eax
shr ebx, 8
and ebx, ecx
xor edi, dword [ebx*4 + 0x10048ef8]
and eax, ecx
xor edi, dword [eax*4 + 0x100490f8]
mov eax, dword [ebp - 4]
xor eax, edi
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x1003d251
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx], eax
pop ebx
leave
ret
Function at 0x1003f742
Capabilities:
Hash data using sha256

Disassembly:
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea edx, [eax + ecx]
cmp edx, ecx
push ebx
push edi
lea edi, [esi + 0x50]
mov dword [esi + 4], edx
jae 0x1003f759
inc dword [esi + 8]
mov ebx, 0x80
mov byte [eax + edi], bl
inc dword [esi]
mov eax, dword [esi]
cmp eax, 0x70
jbe 0x1003f793
mov ecx, ebx
sub ecx, eax
push ecx
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push edi
mov eax, ebx
mov edx, edi
mov dword [esi], ebx
call fcn.1003d524
pop ecx
push esi
call fcn.1003d608
and dword [esi], 0
pop ecx
mov eax, dword [esi]
push 0x70
pop ecx
sub ecx, eax
push ecx
xor ebx, ebx
add eax, edi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
add esp, 0xc
mov ecx, eax
shl eax, 3
push edi
shr ecx, 0x1d
lea ecx, [ecx + edx*8]
mov dword [esi + 4], eax
push 0x70
pop eax
mov edx, edi
mov dword [esi + 8], ecx
call fcn.1003d524
mov eax, dword [esi + 8]
pop ecx
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 4]
push esi
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], ebx
call fcn.1003d608
pop ecx
lea edi, [esi + 0x10]
push edi
push 0x40
pop eax
mov edx, edi
call fcn.1003d524
pop ecx
push 0x40
push edi
push dword [esp + 0x14]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, esi
pop edi
pop ebx
jmp fcn.1003d58d

Function at 0x1003f818
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push edi
push 0xf0000000
push 1
xor edi, edi
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1003f83d
push 0xffffffffffffff99
pop edi
jmp 0x1003f87f
lea eax, [ebp - 0x20]
push eax
push 0x20
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x1003f853
push 0xffffffffffffff98
jmp 0x1003f83a
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0x20]
push 0x20
push eax
lea eax, [esi + 4]
call fcn.1003a8ac
push 0x100
lea eax, [ebp - 0x120]
push eax
push esi
call fcn.1003f884
add esp, 0x14
mov eax, edi
pop edi
leave
ret
Function at 0x1003f8ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
lea edx, [eax + 0x20]
mov esi, edx
push 8
pop ebx
mov ecx, ebx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x40]
mov esi, 0x4d34d34d
add ecx, esi
add dword [edx], ecx
mov edx, dword [edx]
cmp edx, dword [ebp - 0x2c]
mov ecx, 0x2cb2cb2d
sbb edx, edx
neg edx
sub edx, ecx
add dword [eax + 0x24], edx
mov edx, dword [eax + 0x24]
cmp edx, dword [ebp - 0x28]
mov edx, 0x34d34d34
sbb edi, edi
neg edi
add edi, edx
add dword [eax + 0x28], edi
mov edi, dword [eax + 0x28]
cmp edi, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
sbb edi, edi
neg edi
add edi, esi
add dword [eax + 0x2c], edi
mov edi, dword [eax + 0x2c]
cmp edi, dword [ebp - 0x20]
sbb edi, edi
neg edi
sub edi, ecx
add dword [eax + 0x30], edi
mov edi, dword [eax + 0x30]
cmp edi, dword [ebp - 0x1c]
sbb edi, edi
neg edi
add edi, edx
add dword [eax + 0x34], edi
mov edx, dword [eax + 0x34]
cmp edx, dword [ebp - 0x18]
sbb edx, edx
neg edx
add edx, esi
add dword [eax + 0x38], edx
mov edx, dword [eax + 0x38]
cmp edx, dword [ebp - 0x14]
mov esi, eax
sbb edx, edx
neg edx
sub edx, ecx
add dword [eax + 0x3c], edx
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [ebp - 0x10]
mov dword [ebp - 8], esi
sbb ecx, ecx
neg ecx
mov dword [eax + 0x40], ecx
lea ecx, [ebp - 0x2c]
sub ecx, eax
mov edx, dword [esi + 0x20]
add edx, dword [esi]
movzx edi, dx
mov esi, edx
shr esi, 0x10
mov dword [ebp - 4], esi
imul esi, edi
mov ebx, edi
imul ebx, edi
shr ebx, 0x11
add ebx, esi
mov esi, dword [ebp - 4]
imul esi, esi
shr ebx, 0xf
add ebx, esi
mov esi, edx
imul esi, edx
xor ebx, esi
mov esi, dword [ebp - 8]
mov dword [ecx + esi], ebx
add esi, 4
dec dword [ebp - 0xc]
mov dword [ebp - 8], esi
jne 0x1003f95d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x10]
mov esi, ecx
rol esi, 0x10
add esi, edx
rol edi, 0x10
add edi, esi
mov esi, edx
rol esi, 8
add esi, dword [ebp - 0x28]
mov dword [eax], edi
add esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x28]
rol edi, 0x10
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x24]
add edi, esi
rol edx, 0x10
add edx, edi
mov edi, dword [ebp - 0x20]
mov dword [eax + 8], edx
mov edx, esi
rol edx, 8
add edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x28]
rol edi, 0x10
rol esi, 0x10
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x1c]
add edi, edx
add esi, edi
mov dword [eax + 0x10], esi
mov esi, edx
rol esi, 8
add esi, dword [ebp - 0x18]
pop edi
add esi, dword [ebp - 0x20]
mov dword [eax + 0x14], esi
mov esi, dword [ebp - 0x18]
rol esi, 0x10
add esi, ecx
rol edx, 0x10
add edx, esi
rol ecx, 8
add ecx, dword [ebp - 0x18]
pop esi
add ecx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
pop ebx
leave
ret
Function at 0x1003faad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
push edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
shl eax, 0x10
mov ebx, edi
shr ebx, 0x10
or eax, ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
mov ebx, ecx
shl ebx, 0x10
or eax, ebx
mov dword [esi + 0xc], eax
mov eax, edx
shl eax, 0x10
mov ebx, ecx
shr ebx, 0x10
or eax, ebx
mov dword [esi + 0x14], eax
mov ebx, edx
shr ebx, 0x10
mov eax, edi
shl eax, 0x10
or eax, ebx
mov dword [esi + 0x1c], eax
mov eax, edi
rol eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 4]
rol eax, 0x10
mov dword [esi + 0x28], eax
mov eax, ecx
rol eax, 0x10
mov ebx, edx
mov dword [esi + 0x30], eax
mov eax, edx
xor ebx, ecx
rol eax, 0x10
mov dword [esi + 0x38], eax
mov eax, 0xffff
and ebx, eax
xor ebx, ecx
mov dword [esi + 0x24], ebx
mov dword [esi + 8], edx
mov ebx, edi
xor ebx, edx
and ebx, eax
xor ebx, edx
mov edx, dword [ebp - 4]
xor edx, edi
and edx, eax
xor edx, edi
mov dword [esi + 0x34], edx
mov edx, dword [ebp - 4]
xor edx, ecx
and edx, eax
xor edx, dword [ebp - 4]
and dword [esi + 0x40], 0
push 4
mov dword [esi + 0x10], edi
mov dword [esi], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], edx
pop edi
mov eax, esi
call fcn.1003f8ad
dec edi
jne 0x1003fb63
pop edi
xor ecx, ecx
lea eax, [esi + 0x20]
pop ebx
lea edx, [ecx - 4]
and edx, 7
mov edx, dword [esi + edx*4]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 8
jb 0x1003fb74
push 8
lea eax, [esi + 0x20]
pop ecx
mov edx, dword [eax - 0x20]
mov dword [eax + 0x24], edx
mov edx, dword [eax]
mov dword [eax + 0x44], edx
add eax, 4
dec ecx
jne 0x1003fb8e
mov eax, dword [esi + 0x40]
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x1003fbb6
mov edx, esi
call fcn.1003fa25
leave
ret
Function at 0x1003fbb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0x10
push ebx
push esi
push edi
mov ebx, eax
mov esi, ecx
jb 0x1003fc42
mov ecx, dword [ebp + 0xc]
shr ecx, 4
lea eax, [esi + 0x44]
mov dword [ebp - 4], ecx
call fcn.1003f8ad
movzx edx, word [esi + 0x5a]
mov ecx, dword [esi + 0x50]
shl ecx, 0x10
xor edx, ecx
xor edx, dword [eax]
mov ecx, dword [ebp + 8]
xor edx, dword [ebx]
sub dword [ebp + 0xc], 0x10
mov dword [ecx], edx
movzx edx, word [esi + 0x62]
mov edi, dword [esi + 0x58]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx + 4]
add ecx, 0x10
xor edx, dword [esi + 0x4c]
add ebx, 0x10
mov dword [ecx - 0xc], edx
movzx edx, word [esi + 0x4a]
mov edi, dword [esi + 0x60]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx - 8]
mov dword [ebp + 8], ecx
xor edx, dword [esi + 0x54]
mov dword [ecx - 8], edx
movzx edx, word [esi + 0x52]
mov edi, dword [esi + 0x48]
shl edi, 0x10
xor edx, edi
xor edx, dword [ebx - 4]
xor edx, dword [esi + 0x5c]
dec dword [ebp - 4]
mov dword [ecx - 4], edx
jne 0x1003fbd7
cmp dword [ebp + 0xc], 0
je 0x1003fcc1
lea eax, [esi + 0x44]
call fcn.1003f8ad
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x50]
mov edi, ecx
mov eax, edx
shl eax, 0x10
shr edi, 0x10
xor eax, edi
xor eax, dword [esi + 0x44]
mov edi, dword [esi + 0x60]
mov dword [ebp - 0x14], eax
shl ecx, 0x10
mov eax, edi
shr eax, 0x10
xor eax, ecx
xor eax, dword [esi + 0x4c]
shl edi, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x48]
mov ecx, eax
shr ecx, 0x10
xor ecx, edi
xor ecx, dword [esi + 0x54]
shl eax, 0x10
shr edx, 0x10
xor eax, edx
xor eax, dword [esi + 0x5c]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
jbe 0x1003fcc1
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov esi, ebx
sub esi, eax
sub edi, eax
lea eax, [ebp + ecx - 0x14]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, dword [ebp + 0xc]
mov byte [edi + eax], dl
jb 0x1003fcaf
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10043226
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005aae0]
jne 0x10043230
repz ret
jmp fcn.1004346e
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x5cb57282
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x45596b5b
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f70
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x14
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x1505
mov dword [esp + 4], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x10]
jae 0x401ff3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov al, byte [eax + ecx]
mov byte [esp + 3], al
movzx eax, byte [esp + 3]
cmp eax, 0
jne 0x401fbc
jmp 0x401fb8
jmp 0x401fba
jmp 0x401ff5
jmp 0x401fbe
mov eax, dword [esp + 8]
shl eax, 5
add eax, dword [esp + 8]
movzx ecx, byte [esp + 3]
xor edx, edx
sub edx, ecx
mov ecx, eax
xor ecx, 0xffffffff
and ecx, edx
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
mov dword [esp + 8], eax
jmp 0x401fe6
mov eax, dword [esp + 4]
add eax, 1
mov dword [esp + 4], eax
jmp 0x401f93
jmp 0x401ff5
mov eax, dword [esp + 8]
add esp, 0x14
ret
Function at 0x42f330
Capabilities:
Write file on windows

Disassembly:
push esi
sub esp, 0xc
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp], 0
mov dword [esp + 4], 0
lea ecx, [esp + 4]
mov edx, esp
push ecx
push edx
push eax
call fcn.0042ef30
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [esp]
cmp esi, 0xffffffff
je 0x42f3ad
test eax, eax
je 0x42f3ad
mov ecx, dword [esp + 4]
test ecx, ecx
jle 0x42f3ad
mov dword [esp + 8], 0
lea edx, [esp + 8]
push 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp]
test eax, eax
je 0x42f3ba
push eax
call fcn.00457bd5
add esp, 4
add esp, 0xc
pop esi
ret
Function at 0x445390
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebx
push edi
push esi
sub esp, 0x860
mov eax, dword [esp + 0x870]
lea eax, [esp + 0x40]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x820
call fcn.00452cd0
lea eax, [esp + 0x40]
cmp eax, 0
je 0x445531
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0x104
mov eax, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call eax
sub esp, 8
sub eax, 1
mov al, 1
sbb al, 0xff
and al, 1
movzx eax, al
cmp eax, 0
setg al
test al, 1
jne 0x4453fc
jmp 0x445405
mov word [esp + 0x28], 0x43
jmp 0x44540e
mov eax, dword [esp + 0x40]
mov word [esp + 0x28], ax
mov word [esp + 0x2a], 0x3a
mov word [esp + 0x2c], 0x5c
mov word [esp + 0x2e], 0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x28]
xor ecx, ecx
lea ecx, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
sub esp, 0x20
cmp eax, 0
je 0x445531
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.004452e0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.004452e0
mov word [esp + 0x34], ax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.004452e0
mov word [esp + 0x36], ax
mov dword [esp + 0x24], 1
jmp 0x4454ba
cmp dword [esp + 0x24], 9
setl al
test al, 1
jne 0x4454ca
jmp 0x4454c8
jmp 0x4454f5
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.004452e0
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x37], al
mov eax, dword [esp + 0x24]
sub eax, 0x5184cd11
add eax, 1
add eax, 0x5184cd11
mov dword [esp + 0x24], eax
jmp 0x4454b8
mov eax, dword [esp + 0x38]
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x36]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x870]
lea ebx, str.l2_08x_08x_04x_xu
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x860
pop esi
pop edi
pop ebx
ret
Function at 0x445540
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
jmp 0x445551
push eax
mov dword [ebp - 0x18], esp
push eax
mov edx, esp
push eax
mov esi, esp
push eax
mov ebx, esp
push eax
mov edi, esp
push eax
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x1c], edx
mov dword [edx], ecx
mov dword [esi], eax
mov eax, dword [esi]
sub esp, 4
mov dword [esp], eax
call fcn.00458180
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebx]
mov ecx, dword [esi]
xor edx, edx
sub esp, 0x1c
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp eax, 0
setne al
test al, 1
jne 0x4455df
jmp 0x4455c8
mov esi, dword [ebp - 0x18]
mov dword [esi], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x445689
mov eax, dword [edi]
mov ecx, eax
and ecx, 1
shl ecx, 1
xor eax, 1
add eax, ecx
sub esp, 4
mov dword [esp], eax
call fcn.00457c74
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [edx]
mov ecx, dword [edi]
mov byte [eax + ecx], 0
mov eax, dword [edx]
mov ecx, dword [ebx]
mov edx, dword [esi]
xor esi, esi
sub esp, 0x1c
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp eax, 0
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
jne 0x44566f
jmp 0x44564e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00457bd5
add esp, 4
mov dword [esi], 0
mov dword [ebx], 1
jmp 0x445689
jmp 0x445671
mov eax, dword [edi]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esi], eax
mov dword [ebx], 1
jmp 0x445689
mov eax, dword [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44f310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x3c
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x3c]
xor edx, edx
sub edx, ecx
mov ecx, eax
xor ecx, 0xffffffff
and ecx, edx
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x78]
add eax, 0xf9896b8b
add eax, 1
add eax, ecx
add eax, 0x8dd80ec9
add eax, 0x6769474
sub eax, 0x8dd80ec9
mov dword [esp + 0x10], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x20]
mov edx, eax
and edx, ecx
mov esi, eax
and esi, ecx
xor eax, ecx
or esi, eax
xor esi, 0xffffffff
sub esi, 0xffffffff
sub edx, esi
mov dword [esp + 0x30], edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x24]
mov edx, eax
and edx, ecx
shl edx, 1
xor eax, ecx
add eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 0x18]
jb 0x44f3dc
mov dword [esp + 8], 2
jmp 0x44f45c
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + edx*4]
mov edx, eax
and edx, ecx
or eax, ecx
add edx, eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0044f4c0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x24]
jne 0x44f42b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x14], eax
mov dword [esp + 8], 2
jmp 0x44f437
jmp 0x44f42d
mov dword [esp + 8], 0
jmp 0x44f437
cmp dword [esp + 8], 0
jne 0x44f45a
jmp 0x44f440
mov eax, dword [esp + 0xc]
add eax, 0xcfe2e6ee
add eax, 1
sub eax, 0xcfe2e6ee
mov dword [esp + 0xc], eax
jmp 0x44f3c2
jmp 0x44f45c
jmp 0x44f45e
jmp 0x44f460
cmp dword [esp + 0x14], 0
jne 0x44f47b
jmp 0x44f469
mov dword [esp + 0x18], 0
mov dword [esp + 8], 1
jmp 0x44f4ad
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add eax, dword [ecx + edx*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 8], 1
mov eax, dword [esp + 0x18]
add esp, 0x3c
pop esi
ret

Function at 0x4501df
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45021e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45021e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45021e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x45021e
cmp dword [ecx + 0x74], 0xe
jbe 0x45021e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x45c050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45c07d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45c07d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x461c28
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00461c33

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219