joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448891
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44892e
push ebx
push esi
call fcn.0044885a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00446eeb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4488db
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44892d
push edi
push eax
call fcn.00440629
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4488fb
call fcn.004405ef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44892c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00446eeb
add esp, 0x20
test eax, eax
jne 0x44891a
push edi
call fcn.004405ef
jmp 0x448922
push ebx
call fcn.004405ef
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x448931
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x448942
pop esi
ret
push ebx
push edi
push esi
call fcn.0044885a
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00440629
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44896a
push ebx
push esi
push edi
call fcn.0042f920
add esp, 0xc
push 0
call fcn.004405ef
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4490c4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00448bdf

Function at 0x44b514
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004419ca
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44b583
cmp esi, dword [ebp - 4]
je 0x44b57e
cmp dword [ebp + 0xc], 0
je 0x44b57e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44b55b
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044b066
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44b585
xor eax, eax
inc eax
jmp 0x44b585
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x44b5ea
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x468080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004419ca
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004419ca
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x44b661
cmp word [ecx], dx
je 0x44b661
mov eax, dword [0x45b42c]
push edi
dec eax
push eax
push 0x45b318
call fcn.0044b589
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x44b6d4
cmp word [eax], dx
je 0x44b6d4
mov eax, dword [edi]
test eax, eax
je 0x44b685
cmp word [eax], dx
je 0x44b685
lea eax, [ebp - 0x10]
push eax
call fcn.0044af6c
jmp 0x44b68e
lea eax, [ebp - 0x10]
push eax
call fcn.0044b007
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x44b6fe
mov eax, dword [0x45b314]
push dword [ebp - 0x14]
dec eax
push eax
push 0x45b008
call fcn.0044b589
add esp, 0xc
test al, al
je 0x44b6fe
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x44b6c9
cmp word [eax], di
je 0x44b6c9
lea eax, [ebp - 0x10]
push eax
call fcn.0044af6c
pop ecx
jmp 0x44b700
lea eax, [ebp - 0x10]
push eax
call fcn.0044b007
jmp 0x44b6c6
mov eax, dword [edi]
test eax, eax
je 0x44b6eb
cmp word [eax], dx
je 0x44b6eb
lea eax, [ebp - 0x10]
push eax
call fcn.0044af21
pop ecx
jmp 0x44b6fe
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x44b7c9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0044b40e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44b7c9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x44b7c9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x44b7c9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44b756
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00444391
test ebx, ebx
je 0x44b7c4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00444391
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44b7c9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44b7c9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0044f954
add esp, 0x10
xor eax, eax
inc eax
jmp 0x44b7cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e48e
leave
ret
Function at 0x4500c5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00450041
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x450234
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x450234
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4501e9
jg 0x450121
test eax, eax
je 0x4501df
push 1
push 0x1000
call fcn.00440592
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x450144
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4501d6
push 0x8000
push ebx
call fcn.0043e033
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45016d
jg 0x450168
cmp ecx, 0x1000
jb 0x45016d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004434f5
add esp, 0x10
cmp eax, 0xffffffff
je 0x4501b2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x450168
jl 0x450199
test ecx, ecx
jne 0x45015a
push dword [ebp - 0xc]
push ebx
call fcn.0043e033
push esi
call fcn.004405ef
add esp, 0xc
xor ebx, ebx
jmp 0x450242
cmp byte [edi + 0x24], 0
je 0x4501c9
cmp dword [edi + 0x20], 5
jne 0x4501c9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4501d4
mov ebx, dword [edi + 0x18]
jmp 0x4501d6
xor ebx, ebx
push esi
call fcn.004405ef
pop ecx
jmp 0x450242
test ecx, ecx
jg 0x4501ab
jl 0x4501e9
test eax, eax
jae 0x4501ab
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004457af
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x450209
cmp byte [edi + 0x1c], 0
je 0x4501ab
jmp 0x45023a
push ebx
call fcn.004494e5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4501ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x450242
cmp byte [edi + 0x1c], 0
je 0x45023f
mov ebx, dword [edi + 0x18]
jmp 0x450242
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004457af
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x451610
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45163d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45163d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x75985efa
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call dword [0x75071198]
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x30]
cmp byte [edx + 2], 0
mov ecx, 0xdeadbeef
jne 0x75985f9b
Function at 0x759d72d0
Capabilities:
Encode data using xor

Disassembly:
fisttp qword [edi + 0x79]
inc esi
adc edx, dword [ebx - 0x69]
popal
dec esp
mov dl, 0xd4
dec ecx
cmp bh, byte [esi]
adc eax, 0x62d55d74
and ecx, eax
pop eax
sub al, 0x69
xor byte [ecx + esi*4 - 0x27], ah
test eax, 0xde4a1af3
push ebp
pop ebp
rol edi, 0x75
sal esp, cl
call 0x42842a44
in eax, dx
cmc
sub edi, ebx
xor cl, byte [esi + 1]
and esp, esi
xor cl, dh
add dword [ebx], esp
out 0x30, al
int1
lea esp, [esi + 0x4de83dd8]
sbb dh, ah
lea ecx, [ecx + 0x28ed2bb9]
inc ebp
jb 0x759d728f
mov ebp, 0x147d574b
dec edi
aad 0x22
stc
cdq
aaa
push ecx
xchg ecx, eax
add bh, ah
sub dword [0xa551834f], esp
jbe 0x759d725e
jno 0x759d72f2
push 0x5d
sub bh, byte [ebx + 0x35]
sbb byte [edi - 0x51], dl
invalid
adc esp, dword [ebx + 0x2ca848fb]
std
shr byte [ebx - 0x5a9f96ea], 1
out dx, al
jo 0x759d7309
out 0x40, al
and al, 0x81
lodsb al, byte [esi]
mov al, byte [0xd77a8b51]
test al, 0x4a
mov dword [0x80a34f7f], eax
ja 0x759d7309
push ss
inc eax
inc ecx
fst qword [ecx + 0x54]
mov cl, byte [0xf1b0990b]
and ebp, dword [esi]
inc edi
int3
xchg byte [esi], dh
jns 0x759d7291
mov cs, word [edi + 0x7f]
sahf
and ecx, dword [edi + 0x3a]
sub al, 0xd3
adc al, 4
push ebx
ja 0x759d72b0
and ebx, dword [ebx]
mov ecx, 0x3b05f7e9
clc
invalid

Function at 0x759e1513
Capabilities:
Encode data using xor

Disassembly:
aam 0x38
lahf
outsb dx, byte [esi]
push 0xffffffffffffffa2
jae 0x759e1590
push edi
lea esp, [ebx - 0x51]
invalid
add dh, byte [eax + ebx*2 - 0x4a]
pushal
wait
or byte [edi], bl
nop
punpcklbw mm0, dword [esi]
invalid

Function at 0x759ff890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
xor eax, eax
lea edx, [ebp + 8]
push esi
mov edi, edi
movzx esi, byte [edx]
add eax, esi
imul eax, eax, 0x401
mov esi, eax
shr esi, 6
inc edx
xor eax, esi
dec ecx
jne 0x759ff8a0
mov edx, dword [ebp + 0xc]
mov ecx, 0x10
mov edi, edi
movzx esi, byte [edx]
add eax, esi
imul eax, eax, 0x401
mov esi, eax
shr esi, 6
inc edx
xor eax, esi
dec ecx
jne 0x759ff8c0
mov edx, dword [ebp + 0x10]
mov ecx, 4
mov edi, edi
movzx esi, byte [edx]
add eax, esi
imul eax, eax, 0x401
mov esi, eax
shr esi, 6
inc edx
xor eax, esi
dec ecx
jne 0x759ff8e0
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
pop esi
pop ebp
ret 0xc
Function at 0x41ed10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6e7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x58]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004021f8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004021f8
mov edx, dword [ebp - 0x10]
mov dword [edx], 0x557de0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x10]
mov word [eax + 0x60], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
mov esi, esp
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp esi, esp
call fcn.004af210
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x58
cmp ebp, esp
call fcn.004af210
mov esp, ebp
pop ebp
ret

Function at 0x4afd80
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4afda1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4afda8
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4afdbf
mov edx, dword [ebp - 4]
push edx
call fcn.004ba0d0
add esp, 4
or eax, 0xffffffff
jmp 0x4afdc1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4cdf50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4cdf7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004ba0d0
add esp, 4
or eax, 0xffffffff
jmp 0x4cdfac
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x4cdfaa
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x4cdfaa
call fcn.004ba170
mov dword [eax], 0xd
call fcn.004ba180
mov dword [eax], 5
or eax, 0xffffffff
jmp 0x4cdfac
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x404940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a090
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x463014]
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, 0x464074
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.004193b0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x463a8c
push eax
call fcn.004193b0
mov esi, dword [0x464084]
xor ebx, ebx
mov edi, dword [0x464088]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x4672d0], bl
mov eax, ebx
mov ecx, 0x464074
cmovae ecx, dword [0x464074]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x4673e0], al
inc ebx
cmp ebx, 0x100
jl 0x4049c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x4672d0]
movzx eax, byte [esi + 0x4673e0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x404a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4672d0]
mov byte [esi + 0x4672d0], al
inc esi
mov byte [edi + 0x4672d0], dl
cmp esi, 0x100
jl 0x4049f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00404590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x404a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404abf
push edx
push ecx
call fcn.0041e953
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 0x404aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404abf
push edx
push ecx
call fcn.0041e953
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.00437f5a
int3
Function at 0x404ad0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
mov esi, edx
xor edx, edx
mov dword [ebp - 4], ebx
mov ecx, 3
mov dword [ebp - 8], esi
push edi
mov eax, dword [esi + 0x10]
div ecx
push 0x3d
mov ecx, eax
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 0xf
cmp eax, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
sbb eax, eax
mov byte [ebx], 0
neg eax
add eax, ecx
mov ecx, ebx
shl eax, 2
push eax
call fcn.00419270
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x404b29
mov edi, dword [esi]
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x404b33
mov esi, dword [ebx]
mov ecx, dword [ebp - 8]
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x10]
mul ecx
shr edx, 1
je 0x404bb4
mov ebx, edx
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movsx eax, byte [edi + 2]
shl ecx, 8
add edi, 3
or ecx, eax
mov eax, esi
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
lea eax, [esi + 3]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 6
and ecx, 0x3f
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], dl
add esi, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
sub ebx, 1
jne 0x404b46
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
mov eax, ecx
xor edx, edx
mov ecx, 3
div ecx
sub edx, 1
je 0x404c15
sub edx, 1
jne 0x404c3a
movsx ecx, byte [edi]
movsx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, esi
shl ecx, 8
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
pop edi
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
mov eax, ebx
and edx, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, byte [edi]
shl eax, 0x10
mov ecx, eax
shr eax, 0xc
shr ecx, 0x12
and ecx, 0x3f
and eax, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x463014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x414], esi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004353e0
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 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405e71
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 [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405e97
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.004193b0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405edf
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405ed5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f3d
push edx
push ecx
call fcn.0041e953
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 0x405f21
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405f17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f3d
push edx
push ecx
call fcn.0041e953
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e2e1
mov esp, ebp
pop ebp
ret
call fcn.00437f5a
int3