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

Disassembly:
push edi
jge 0x40b5d3
xor edi, edi
mov eax, dword [edx + 0x14]
or eax, eax
jge 0x40b5b1
sar byte [ebp + 0x14], 0x47
inc edi
mov edx, dword [esp + 0x10]
stosd dword es:[edi], eax
jl 0x40b60f
fisub dword [ecx - 0x28]
add byte [ecx - 0x76ebdbc9], cl
xor dl, bl
adc byte [ebx + 0xb1c9c44], cl
mov ah, 0x7d
adc al, 0x47
mov edx, dword [esp + 0x18]
mov eax, dword [esp + ebx*4 + 0x1c]
or esi, dword [ebp + edi*2 + 0x548b4714]
and al, 0x18
idiv dword [eax]
neg edx
sbb eax, 0
mov dword [edi + 0x24], esp
sbb al, 0x89
push esp
rcr dword [eax], 0xb
ror byte [esi], 0x18
mov ecx, dword [esp - 0x20]
and al, 0xe0
loop 0x40b59a
loopne 0x40b5ed
xor edx, edx
div ecx
mov ebx, eax
mov edx, esi
and al, 0x10
div ecx
mov edx, ebx
jmp 0x40b62a
and al, 0x18
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
invalid
and al, 0x18
mul esi
add edx, ecx
sal dword [edx + 0xe], 1
cmp edx, dword [edi]
and al, 0x14
ja 0x40b5a3
jb 0x40b626
cmp eax, dword [esp + 0x10]
test byte [ecx], al
dec esi
xor edx, edx
mov eax, esi
dec edi
xchg ecx, eax
pop es
Function at 0x404aa3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov dword [ebp - 4], 0x7f83677c
sub dword [ebp - 4], 0x1715
xor esi, esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mul dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov word [ebp - 0x10], 0
jmp 0x404bc4
mov eax, ebx
add eax, esi
push eax
call fcn.0040423c
pop ecx
mov edx, eax
mov byte [ebp - 5], dl
mov eax, dword [ebp - 4]
mov edx, eax
add edx, eax
mov dword [ebp - 4], edx
cmp byte [ebp - 5], 0
jne 0x404b09
mov byte [ebp - 6], 0
jmp 0x404b33
call 0x409b00
mov dword [ebp - 0x20], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 5]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 6], dl
mov al, byte [esi + ebx]
cmp al, 0x70
jb 0x404b4e
cmp al, 0x7f
ja 0x404b4e
mov eax, ebx
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 6]
sub edx, ecx
mov byte [eax], dl
movzx eax, byte [esi + ebx]
cmp eax, 0xe2
jne 0x404b69
mov eax, ebx
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 6]
sub edx, ecx
mov byte [eax], dl
mov eax, 0x3e96
mul dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
push 8
push 0x90
lea eax, [ebp - 0xe]
push eax
call 0x409adc
movzx eax, byte [ebp - 5]
push eax
mov eax, ebx
add eax, esi
push eax
lea eax, [ebp - 0xe]
movzx edx, byte [ebp - 6]
add eax, edx
push eax
call 0x409ad0
push 6
lea eax, [ebp - 0xe]
push eax
mov eax, ebx
add eax, esi
push eax
call 0x409ad0
add esp, 0x24
mov eax, dword [ebp - 4]
mov edx, eax
xor edx, eax
mov dword [ebp - 4], edx
add esi, 6
inc word [ebp - 0x10]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x404ae3
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10011014
Capabilities:
Terminate process

Disassembly:
jmp 0x10013460
jmp fcn.10013490
cmp ecx, dword [0x10017024]
jne 0x1001346a
repz ret
jmp 0x1001107d
Function at 0x4010ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f004]
jne 0x4010f4
repz ret
jmp fcn.004014d9

Function at 0x408e5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f004]
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.004039df
and dword [ebp - 0x14], 0
cmp dword [0x431d7c], 0
mov dword [ebp - 0x18], eax
jne 0x408f0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408fb7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408fb7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x431d7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x431d80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x431d84], eax
call edi
push eax
call esi
mov dword [0x431d8c], eax
test eax, eax
je 0x408f0f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x431d88], eax
mov eax, dword [0x431d88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408f68
cmp dword [0x431d8c], ecx
je 0x408f68
push eax
call esi
push dword [0x431d8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408f68
test ebx, ebx
je 0x408f68
call edi
test eax, eax
je 0x408f5f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408f5f
test byte [ebp - 8], 1
jne 0x408f68
or dword [ebp + 0x10], 0x200000
jmp 0x408f9b
mov eax, dword [0x431d80]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408f9b
mov eax, dword [0x431d84]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x431d7c]
call esi
test eax, eax
je 0x408fb7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408fb9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010ea
leave
ret
Function at 0x423e90
Capabilities:
Get disk information
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x42f004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x434ffc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
lea esp, [esp]
mov dword [0x434c64], edi
cmp eax, 0x3dc
jne 0x423ed6
push 0
call esi
mov eax, dword [0x434ffc]
dec ebx
jne 0x423ec0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
cmp eax, 0x933
jne 0x423f2e
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x434ffc]
cmp esi, 0x845fef
jne 0x423f45
mov eax, dword [0x430bd0]
add eax, 0xa231
mov dword [0x434ffc], eax
cmp eax, 0x141
jne 0x423f60
mov dword [0x4322a8], 0xec58acac
mov dword [0x4322ac], 0xffffffff
inc esi
cmp esi, 0x12d1832
jl 0x423ee7
call fcn.00423ac0
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010ea
add esp, 0x41c
ret 0x10
Function at 0x415f4e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareInstallShieldISWI7.0SetupExeLog
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415fa5
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push 0x4aa244
push 0
push 0
push str.SetupLogFileName
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415f9c
mov byte [0x4ab274], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x41765b
Capabilities:
Hide graphical window

Disassembly:
push dword [0x4ab2b0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41768b
push 0
push dword [0x4ab2b0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4ab2b8]
push 0
mov ecx, dword [eax + 0x168]
call fcn.004333f2
ret

Function at 0x41768c
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [0x4ab2b0]
call esi
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push eax
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.0042a687
cmp dword [eax], 1
je 0x4176f6
cmp dword [eax + 4], ebx
je 0x41774b
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41774b
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x46
push eax
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SubtractRect]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
sub esi, ebx
mov ecx, dword [ebp - 0x14]
mov eax, esi
mov edi, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 4]
sub ecx, edi
push 5
push 0
push 0
sub ebx, eax
mov eax, ecx
cdq
idiv dword [ebp - 4]
sub ebx, dword [ebp - 8]
add ebx, esi
push ebx
sub edi, eax
sub edi, dword [ebp - 0xc]
add edi, ecx
push edi
push 0
push dword [0x4ab2b0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42167b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x48490e
call fcn.0046746c
sub esp, 0x18c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x12]
mov ebx, 0x48b660
mov esi, 0x48b658
push edi
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x4c], esi
call fcn.00401907
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
call fcn.00421882
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401a14
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x421704
lea ecx, [ebp - 0x10]
call fcn.00411574
mov ecx, dword [ebp + 0xc]
cmp eax, edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
sete byte [ebp + 0xf]
call fcn.00401093
cmp byte [ebp + 0xf], 0
je 0x42183a
and byte [ebp - 0x198], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x197]
and dword [ebp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0x4a2cc0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x421784
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.00401907
mov dword [ebp - 0x18], 1
jmp 0x421856
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401884
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 4
call fcn.00401d3d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401093
mov eax, 0x4a2cbc
mov dword [ebp - 0x44], ebx
mov ecx, eax
mov dword [ebp - 0x24], esi
test ecx, ecx
mov edi, 0x4aa140
jne 0x4217cd
mov eax, edi
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004011a9
mov eax, 0x4a2cb8
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [ebp - 0x94], ebx
test ecx, ecx
mov dword [ebp - 0x74], esi
jne 0x4217f6
mov eax, edi
lea ecx, [ebp - 0x11]
push 0
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004011a9
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 6
call fcn.00423d9e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00401093
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401093
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push 0
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 0x20], esi
call fcn.00401d87
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00401093
cmp dword [ebp - 0x10], 0
je 0x421871
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x422979
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x484b80
call fcn.0046746c
push ecx
mov eax, 0x182c
call fcn.00467c10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x4229fa
call esi
cmp byte [ebp + 0x14], bl
je 0x4229d7
cmp eax, 0x20
je 0x4229d0
cmp eax, 0x21
jne 0x4229d7
xor eax, eax
jmp 0x422b19
cmp eax, ebx
jle 0x4229e7
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x4229fa
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push 0x496048
push eax
call fcn.00468cf7
push 0x2800
call fcn.004675be
cmp eax, ebx
mov edi, eax
pop ecx
mov dword [ebp - 0x2c], edi
setne byte [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp + 0x14], ebx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2800
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00438fa1
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x422a74
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00467c40
pop ecx
lea esi, [ebp - 0x834]
pop ecx
lea edi, [ebp - 0x1038]
mov ecx, 0x201
lea eax, [ebp - 0x1038]
mov byte [ebp - 0x430], bl
push 0x496038
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00468cf7
cmp dword [ebp + 0xc], ebx
je 0x422aed
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x422aba
call esi
test eax, eax
jg 0x422a99
call esi
jmp 0x422aa5
call esi
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x422aba
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x496048
push eax
call fcn.00468cf7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
je 0x422aed
call esi
test eax, eax
jg 0x422acc
call esi
jmp 0x422ad8
call esi
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jge 0x422aed
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push 0x496048
push eax
call fcn.00468cf7
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x14], eax
cmp eax, ebx
ja 0x422a17
cmp byte [ebp - 0x30], bl
je 0x422b07
push edi
call fcn.00439080
pop ecx
cmp dword [ebp - 0x14], 0xffffffff
je 0x422b16
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43bbd2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x94], 0x94
and dword [eax], 0
lea eax, [ebp - 0x94]
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 1
jne 0x43bc4d
cmp dword [ebp - 0x8c], 0
je 0x43bc45
cmp dword [ebp - 0x8c], 0xa
je 0x43bc30
cmp dword [ebp - 0x8c], 0x5a
je 0x43bc39
xor al, al
mov dword [esi], 0x80
jmp 0x43bcbe
call fcn.0043c142
test al, al
je 0x43bc3d
mov al, 1
jmp 0x43bc25
mov dword [esi], 0x40
jmp 0x43bca7
mov dword [esi], 0x10
jmp 0x43bca7
cmp dword [ebp - 0x84], 2
jne 0x43bcbc
mov eax, dword [ebp - 0x90]
sub eax, 4
je 0x43bcb4
mov ecx, dword [ebp - 0x8c]
dec eax
je 0x43bc77
dec eax
je 0x43bc9d
xor al, al
mov dword [esi], 0x2000000
jmp 0x43bcbe
test ecx, ecx
jne 0x43bc83
mov dword [esi], 0x100000
jmp 0x43bca7
cmp ecx, 1
jne 0x43bc90
mov dword [esi], 0x400000
jmp 0x43bca7
cmp ecx, 2
jne 0x43bc9d
mov dword [esi], 0x800000
jmp 0x43bca7
test ecx, ecx
jne 0x43bcab
mov dword [esi], 0x1000000
mov al, 1
jmp 0x43bcbe
cmp ecx, 1
jne 0x43bc6d
mov al, cl
jmp 0x43bc6f
mov dword [esi], 0x10000
jmp 0x43bca7
xor al, al
pop esi
leave
ret

Function at 0x43c037
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x43c066
push str.GetSystemDefaultUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43c066
call eax
jmp 0x43c13d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, SysReAllocStringLen
push str..DefaultControl_PaneldesktopResourceLocale
push edi
mov dword [ebp - 0xc], 0xa
call esi
test eax, eax
jne 0x43c0b2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x4aa144
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43c113
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
push 0
push str..DEFAULTControl_PanelInternational
push edi
call esi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x43c0e7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.Locale
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x43c0fb
cmp esi, ebx
je 0x43c0fb
push dword [ebp - 8]
call esi
cmp edi, ebx
je 0x43c11b
cmp dword [ebp - 4], ebx
je 0x43c10d
cmp esi, ebx
je 0x43c10d
push dword [ebp - 4]
call esi
mov ax, 0x409
jmp 0x43c13d
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
push 0x10
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.004675cc
add esp, 0xc
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x43c13a
cmp esi, ebx
je 0x43c13a
push dword [ebp - 4]
call esi
mov ax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x481429
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
call fcn.004675be
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
mov ebx, eax
jle 0x481461
push edi
mov edi, dword [ebp + 8]
sub edi, ebx
mov eax, esi
lea ecx, [esi + ebx]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp + 0xc]
mov byte [ecx], al
jl 0x481446
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401030
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
cmp dword [0xc29f84], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 8], eax
jne 0x401064
push 0
lea ecx, [ebp - 0x430]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x80808c]
mov edx, dword [0x808088]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], edx
call fcn.00401020
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x808090]
mov edx, dword [0x808094]
add edi, 0x23f
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
mov ebx, 0x20
jmp 0x4010b0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0xc29f84]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401107
push 0
lea eax, [ebp - 0x830]
push eax
push str.limuwafozufoderahiz_wulesuferore
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc29f84]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401121
mov dword [0xc29f80], 0xedeb2e40
jmp 0x401143
cmp ecx, 0x3eb
jne 0x401143
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0xc29934], 0
mov ecx, dword [ebp - 0xc]
lea edx, [edi + esi]
mov dword [ebp - 0x14], edx
mov edx, esi
shr edx, cl
mov dword [0xc29f7c], 0xf4ea3dee
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shr edx, cl
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor eax, edx
add edi, 0x61c88647
sub esi, eax
sub ebx, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x4010b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4