joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4068f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41ec5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40467c
call fcn.00409464
push 4
mov dword [esp + 0x18], 0
call fcn.0040ac83
mov edi, eax
add esp, 4
test edi, edi
je 0x406964
push ebx
call fcn.0040925f
mov dword [edi], eax
call fcn.0040901e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409425
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406958
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040944d
pop ebx
jmp 0x406966
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b77b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4223dc]
jne 0x40b785
repz ret
jmp fcn.0041281c
Function at 0x4181fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4223dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040e5af
and dword [ebp - 0x14], 0
cmp dword [0x81fcb0], 0
mov dword [ebp - 0x18], eax
jne 0x4182ae
push 0x404000
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418356
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403ff4
push ebx
call edi
test eax, eax
je 0x418356
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fe4
push ebx
mov dword [0x81fcb0], eax
call edi
push eax
call esi
push 0x403fd0
push ebx
mov dword [0x81fcb4], eax
call edi
push eax
call esi
push 0x403fb4
push ebx
mov dword [0x81fcb8], eax
call edi
push eax
call esi
mov dword [0x81fcc0], eax
test eax, eax
je 0x4182ae
push 0x403f9c
push ebx
call edi
push eax
call esi
mov dword [0x81fcbc], eax
mov eax, dword [0x81fcbc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418307
cmp dword [0x81fcc0], ecx
je 0x418307
push eax
call esi
push dword [0x81fcc0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418307
test ebx, ebx
je 0x418307
call edi
test eax, eax
je 0x4182fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4182fe
test byte [ebp - 8], 1
jne 0x418307
or dword [ebp + 0x10], 0x200000
jmp 0x41833a
mov eax, dword [0x81fcb4]
cmp eax, dword [ebp - 0x18]
je 0x41833a
push eax
call esi
test eax, eax
je 0x41833a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41833a
mov eax, dword [0x81fcb8]
cmp eax, dword [ebp - 0x18]
je 0x41833a
push eax
call esi
test eax, eax
je 0x41833a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81fcb0]
call esi
test eax, eax
je 0x418356
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418358
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b77b
leave
ret
Function at 0x41d480
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x22ac
call fcn.00418ac0
cmp dword [0xcca104], 0x37
jne 0x41d619
push 0
lea eax, [esp + 0x16ac]
push eax
push 0
push 0x404218
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
lea edx, [esp + 0x6ac]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push 0x4042ac
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
xor eax, eax
push eax
lea edx, [esp + 0xeac]
push edx
push 0x4042ec
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
mov word [esp + 0x20], cx
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov ecx, dword [esp + 4]
push 0
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push 0
lea edx, [esp + 0x2ac]
push edx
push 0x404324
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x1aac]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x188]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea edx, [esp + 0x20]
push edx
push 0
lea eax, [esp + 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0x404344
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0x40420c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0x404364
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x34], 0
call fcn.0040aaa0
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push 0x404370
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov eax, dword [0xccc868]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0xcc88fc]
mov byte [eax + esi], dl
add esp, 0x22ac
ret
Function at 0x433004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x598150c7
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x643f0162
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x25290a53
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
mov ecx, 0x2b514651
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401230
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
not esi
ror eax, 0xc0
bswap eax
inc esi
bswap edi
rol esi, 0x75
bswap edi
add ebx, 0x9c
rcl edi, 0x4f
ror edx, 0xd0
dec edi
imul edi
or edx, 0xcc
add edi, 0xa
bswap edi
neg esi
inc eax
mov edx, 0x1e
neg eax
imul esi
inc edx
or eax, 0xa3
not eax
bswap esi
mov edi, 0xb3
dec eax
ror eax, 0xfe
not eax
imul esi
and eax, 0xf4
not esi
inc ebx
bswap eax
add edi, 0x93
dec ebx
sub edi, 0x36
and eax, 0x91
and ebx, 0xb2
sbb ebx, 0x83
mov edi, 0x6d
not ebx
inc ebx
inc esi
imul edx
ror esi, 0xfa
not edx
not eax
sub edx, 0xb
add esi, 0xaf
not edx
xor ecx, ecx
xor edi, edi
and ebx, 0x19
ror edx, 0x8b
sbb eax, 0x1a
mov ebx, 0x51
imul ebx
bswap esi
imul ebx
or esi, 0xdb
rcr ebx, 0x10
bswap eax
inc eax
or edx, 0x25
inc ebx
or esi, 0x95
imul eax
sbb ebx, 0x4a
dec eax
bswap edx
imul edx
ror edi, 0x5c
rcr esi, 9
bswap eax
imul edi
sub ebx, 0xab
dec ebx
not esi
inc esi
add esi, 0xd0
rol edx, 0x7b
bswap ebx
sub ebx, 0xeb
dec edx
sbb edi, 0x2c
sbb edx, 0x82
mov eax, 0x1c
sub ebx, 0x24
inc esi
imul edi
not edi
rcr ebx, 0x83
sbb esi, 0xb0
sbb ebx, 0x1d
bswap edx
not eax
rcr edi, 0xdc
sbb esi, 0xb1
or edi, 0x2d
rol edx, 0xc6
neg ebx
sbb ebx, 0x6c
mov ecx, dword [ebp + 0xc]
mov eax, 0x26
neg edi
imul esi
rcl ebx, 0x1a
sbb esi, 0xb9
sub ebx, 0x61
or ebx, 0xda
sub ebx, 0xff
dec edx
rcl ebx, 0x8b
mov edx, 0xdc
ror edx, 0xc8
neg ebx
ror edi, 0x50
imul eax
not esi
rcl esi, 0xd4
bswap edx
not edi
inc ebx
bswap edi
inc esi
or edx, 0xfb
inc ebx
dec esi
imul eax
dec edx
and eax, 9
dec esi
rol edi, 0x94
rcl eax, 0xc4
imul ebx
inc eax
add edx, 0xb9
rcl eax, 0xc9
add edi, 0xbe
or esi, 0x5d
inc esi
imul edx
rcl esi, 0x27
mov eax, 0x4c
imul edi
rol eax, 0x13
rcl esi, 0xbc
inc edi
bswap esi
mov edi, 0x71
rcr eax, 0xb5
add edi, 0x7f
inc esi
mov edi, dword [ebp + 8]
mov eax, ebx
mov esi, ebx
mov esi, ebx
not byte [edi]
mov esi, esi
xor ebx, eax
mov esi, eax
xor ebx, esi
xor eax, eax
mov eax, eax
mov esi, eax
mov ebx, esi
mov ebx, eax
add byte [edi], 0x48
xor eax, ebx
xor eax, esi
xor esi, ebx
mov ebx, ebx
xor ebx, eax
mov esi, esi
mov eax, ebx
mov eax, esi
mov esi, esi
sub byte [edi], 0x97
xor ebx, esi
mov ebx, esi
mov esi, eax
xor ebx, esi
xor ebx, ebx
xor esi, esi
xor esi, esi
xor ebx, eax
mov esi, ebx
imul byte [edi]
inc edi
loop 0x4013f5
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4089c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d6f0]
jne 0x4089ce
repz ret
jmp fcn.0040cec5
Function at 0x409333
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406c66
and dword [ebp - 4], 0
cmp dword [0x48e3ec], 0
mov ebx, eax
jne 0x4093e4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409495
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409495
push eax
call fcn.00406bf4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48e3ec], eax
call esi
push eax
call fcn.00406bf4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48e3f0], eax
call esi
push eax
call fcn.00406bf4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48e3f4], eax
call esi
push eax
call fcn.00406bf4
pop ecx
mov dword [0x48e3fc], eax
test eax, eax
je 0x4093e4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406bf4
pop ecx
mov dword [0x48e3f8], eax
mov eax, dword [0x48e3f8]
cmp eax, ebx
je 0x40943c
cmp dword [0x48e3fc], ebx
je 0x40943c
push eax
call fcn.00406c6f
push dword [0x48e3fc]
mov esi, eax
call fcn.00406c6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40943c
test edi, edi
je 0x40943c
call esi
test eax, eax
je 0x409433
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409433
test byte [ebp - 0xc], 1
jne 0x40943c
or dword [ebp + 0x10], 0x200000
jmp 0x409475
mov eax, dword [0x48e3f0]
cmp eax, ebx
je 0x409475
push eax
call fcn.00406c6f
pop ecx
test eax, eax
je 0x409475
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409475
mov eax, dword [0x48e3f4]
cmp eax, ebx
je 0x409475
push eax
call fcn.00406c6f
pop ecx
test eax, eax
je 0x409475
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48e3ec]
call fcn.00406c6f
pop ecx
test eax, eax
je 0x409495
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409497
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004839
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004859
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055a9
pop esi
pop ebp
ret 8

Function at 0x100055c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055c9
pop esi
pop ebp
ret 4

Function at 0x100055e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055e9
pop esi
pop ebp
ret 8

Function at 0x100186b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1018092c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101837c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018788
push esi
push 0x55
pop esi
push esi
push 0x101837d0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018772
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a9420
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x101837d0], 0x5f
mov cl, 0x2d
je 0x10018712
mov cl, byte [eax*2 + 0x101837d0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001871f
inc eax
cmp eax, esi
jl 0x100186fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call sym.icucnv69.dll_ucase_toFullFolding_69
mov esi, eax
pop ecx
test esi, esi
je 0x10018772
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call sym.icucnv69.dll_ucase_toFullFolding_69
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001876b
push 0x10017f70
push 0x17
mov byte [eax + esi], bl
mov dword [0x101837c8], esi
mov byte [0x101837cc], 1
call sym.icucnv69.dll_ucase_toFullFolding_69
pop ecx
jmp 0x10018771
push esi
call sym.icucnv69.dll_ucase_toFullFolding_69
pop ecx
mov ecx, dword [0x101837c8]
mov eax, 0x100fef10
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x101837c8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10084499
leave
ret
Function at 0x1004b9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1004b9ef
pop dword [ebp - 0x50]
mov eax, 0x1004b9ef
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x716e0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x4655
mov edx, eax
mov ebx, 0xb2572a44
sub ebx, 0xa23e1a44
add ebx, dword [ebp - 0x50]
mov edi, 0xdb99f95
add edi, 0xec08385c
mov esi, dword [ebx]
add dword [ebp - 0x38], 0x9eedbd71
xor esi, edi
mov dword [ebp - 0x20], 0x1a162345
mov dword [edx], esi
sub dword [ebp - 4], 0x8b94f41d
add edx, 0x55ad03c8
sub edx, 0x55ad03c4
add ebx, 4
loop 0x1004ba3e
add eax, 0x722ab0f8
sub eax, 0x7229a4d1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x62eb943
add ecx, 0x9d146bd
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x404b00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448bb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x4630d0
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00418540
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x462a88
push eax
call fcn.00418540
mov esi, dword [0x4630e0]
xor ebx, ebx
mov edi, dword [0x4630e4]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x4663d0], bl
mov eax, ebx
mov ecx, 0x4630d0
cmovae ecx, dword [0x4630d0]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x4664e0], al
inc ebx
cmp ebx, 0x100
jl 0x404b80
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x4663d0]
movzx eax, byte [esi + 0x4664e0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x404bd4
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4663d0]
mov byte [esi + 0x4663d0], al
inc esi
mov byte [edi + 0x4663d0], dl
cmp esi, 0x100
jl 0x404bb0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00404750
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404c29
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404c1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c7f
push edx
push ecx
call fcn.0041d718
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x404c6b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404c61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c7f
push edx
push ecx
call fcn.0041d718
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00436ce7
int3
Function at 0x404c90
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x462014]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x404ceb
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x45815b
mov byte [esi], al
call fcn.00418540
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0041d0a1
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0x404d05
cmp byte [eax + edx - 1], 0x3d
je 0x404d05
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x404d27
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0x404d1f
cmp byte [eax + edx - 2], 0x3d
jne 0x404d1f
mov dword [esp + 0x20], edi
jmp 0x404d27
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00418400
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x404df5
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x458f48]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x458f48]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x458f48]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x458f48]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0x404d90
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x404e52
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x458f48]
shl edx, 6
or edx, dword [ecx*4 + 0x458f48]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0x404e52
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x458f48]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0041d0a1
mov esp, ebp
pop ebp
ret
Function at 0x4054c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x414], edi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004341a0
add esp, 0xc
mov dword [ebp - 0x414], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x418]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405570
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405596
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.00418540
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4055de
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4055d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40563d
push edx
push ecx
call fcn.0041d718
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x405620
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405616
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40563d
push edx
push ecx
call fcn.0041d718
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d0a1
mov esp, ebp
pop ebp
ret
call fcn.00436ce7
int3