joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c4a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0xf013f
push 0
push 0x10029648
push 0x80000001
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000c58e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x1000c511
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x1000c545
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c550
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10021f33
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10021bf3
Function at 0x10018900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1001890f
pop dword [ebp - 0x1c]
mov eax, 0x3116594b
add eax, 0xdeeb2fc4
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x3c13865f
sub dword [ebp - 0x2c], 0xedc14114
mov dword [ebp - 0x28], 0xd0007c8a
add dword [ebp - 0x28], 0x6232cfbb
mov dword [ebp - 0x24], 0x77eab5fe
sub dword [ebp - 0x24], 0x2b9e71d0
mov dword [ebp - 0x20], 0xec552aa0
add dword [ebp - 0x20], 0x13aad560
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x47e4acad
add eax, 0xc81ee447
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xc3ea9d38
add dword [ebp - 0x2c], 0xb087cc1e
mov dword [ebp - 0x28], 0x3ac3b990
add dword [ebp - 0x28], 0x6a8a7e5
mov dword [ebp - 0x24], 0x69d4b840
sub dword [ebp - 0x24], 0x6654bd4
mov dword [ebp - 0x20], 0x2daa17cb
add dword [ebp - 0x20], 0xd255e835
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x60dca9dc
sub eax, 0x50d918e4
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x43467
push 0
call eax
mov ecx, 0x5f4638fc
add ecx, 0xa0ba16ce
mov ebx, eax
mov esi, 0xe2e851ed
sub esi, 0xd2e33fed
add esi, dword [ebp - 0x1c]
mov edx, 0x48672a4
xor dword [ebp - 8], 0x36c8d63c
mov edi, dword [esi]
sub dword [ebp - 0xc], ebx
xor edi, edx
sub dword [ebp - 0x14], ebx
mov dword [ebx], edi
add dword [ebp - 0x14], eax
add ebx, 0x8e806484
add ebx, 0x717f9b80
add esi, 0x944d2eb0
sub esi, 0x944d2eac
loop 0x10018a2b
add eax, 0xaae7514c
sub eax, 0xaae61f51
xor ebx, ebx
add ebx, eax
add eax, 0x96f22f88
sub eax, 0x96f22f83
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x10030836
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047018]
jne 0x10030840
repz ret
jmp fcn.10030e15

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x429279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x429288
pop dword [ebp - 0x28]
mov eax, 0x429288
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x53304
push 0
mov eax, 0x846eda91
add eax, 0x7bd5d82b
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x552f
xor edi, edi
add edi, eax
mov esi, 0xfabab713
sub esi, 0xfa723913
add esi, dword [ebp - 0x28]
mov ebx, 0xd0d534fe
sub ebx, 0x9c8177b5
xor dword [ebp - 0xc], ecx
mov edx, dword [esi]
mov dword [ebp - 0x18], 0xd6ed13fa
sub edx, ebx
mov dword [ebp - 0x20], 0xdcb1ee8b
mov dword [edi], edx
mov dword [ebp - 0xc], 0xf7e68ca0
add edi, 4
add esi, 4
loop 0x4292de
add eax, 0xef093b83
add eax, 0x10f80c0c
mov ebx, eax
add eax, 0x75737100
add eax, 0x8a8c8f05
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x4028e8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404794
test esi, esi
jne 0x40291e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404884
jmp 0x40293c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040279c
mov edi, eax
test esi, esi
je 0x40293c
cmp dword [ebx], 0
je 0x40293c
dec esi
jmp 0x402925
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403060
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x42e008], 0x8088405
inc edx
mov dword [ebx + 0x42e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40324c
Capabilities:
Clear file content

Disassembly:
movzx edx, word [eax + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40326a
push dword [eax]
call sub.kernel32.dll_SetEndOfFile
dec eax
je 0x403274
jmp fcn.004026ec
mov eax, 0x67
jmp fcn.004026dc
ret

Function at 0x403b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x42e024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c08
xor eax, eax
push ebp
push 0x403c01
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x42e024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x42e024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404618
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43504c], 0
je 0x404679
cmp word [0x435220], 0xd7b2
jne 0x404641
cmp dword [0x435228], 0
jbe 0x404641
mov eax, 0x43521c
call dword [0x435238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x42e0bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4046a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42e030], 0
jne 0x404695
push 0
push 0x42e0b4
push 0x42e0bc
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ea4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e1b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e1b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fe4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405ea4
xor eax, eax
push ebp
push 0x405e9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405be0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e82
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406004
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e82
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ea4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405fbe
cmp byte [ebp - 0xd], 0
jne 0x405eeb
cmp byte [ebp - 0x12], 0
je 0x405fbe
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405f04
dec ebx
cmp byte [ebx], 0x2e
je 0x405f13
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405f03
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405fbe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f50
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405fbe
cmp byte [ebp - 0xd], 0
je 0x405fbe
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405fbe
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4061d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40623e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404a04
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403278
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406228
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406245
lea eax, [ebp - 0x10]
call fcn.00404794
ret
Function at 0x416200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405b50
xor eax, eax
push ebp
push 0x4162dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00408f80
mov eax, dword [ebp - 0x14]
call fcn.00404a54
add eax, 8
call fcn.004025c8
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.00404a54
mov edx, eax
add edx, 8
mov esi, ebx
mov eax, esi
xor ecx, ecx
call fcn.00403040
mov edx, esi
lea eax, [ebp - 4]
mov ecx, 4
call fcn.0040275c
mov eax, dword [ebp - 0x14]
call fcn.00404a54
mov dword [ebp - 0xc], eax
lea edx, [ebx + 4]
lea eax, [ebp - 0xc]
mov ecx, 4
call fcn.0040275c
mov eax, dword [ebp - 0x14]
call fcn.00404a54
push eax
lea eax, [ebp - 0x14]
call fcn.00404cac
lea edx, [ebx + 8]
pop ecx
call fcn.0040275c
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x416154
push 0
push 0
call sub.kernel32.dll_CreateThread
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4162e4
lea eax, [ebp - 0x14]
call fcn.00404794
lea eax, [ebp - 8]
mov edx, dword [0x406988]
call fcn.00405aec
ret
Function at 0x41c254
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, eax
xor eax, eax
mov dword [esp], eax
mov eax, dword [0x435dcc]
mov eax, dword [eax + esi*4]
call fcn.00405838
mov edi, eax
dec edi
test edi, edi
jl 0x41c2d6
inc edi
xor ebx, ebx
mov eax, dword [0x435dcc]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + ebx*8]
sub eax, dword [0x4307d4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fmul qword [0x435e10]
call fcn.004029cc
mov ebp, eax
mov eax, dword [0x435dcc]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + ebx*8 + 8]
sub eax, dword [0x4307d4]
mov dword [esp + 4], eax
fild dword [esp + 4]
fmul qword [0x435e10]
call fcn.004029cc
mov ecx, eax
mov eax, ecx
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
add dword [esp], eax
inc ebx
dec edi
jne 0x41c279
mov eax, dword [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41d188
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c44
mov eax, dword [ebp - 8]
call fcn.00404c44
xor eax, eax
push ebp
push 0x41d2a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0041d13c
lea eax, [ebp - 8]
call fcn.0041d13c
mov eax, ebx
call fcn.00404794
cmp dword [ebp - 4], 0
je 0x41d1ea
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x41d2b8
call fcn.00404aa0
lea eax, [ebp - 0xc]
push eax
push 1
push 0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x41d2c4
call fcn.00404aa0
mov eax, dword [ebp - 0x18]
call fcn.00404c54
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x41d27c
mov dword [ebp - 0x10], 0x4000
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404de0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.00404cac
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404c54
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d25d
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x41d27c
mov edx, dword [ebp - 0x10]
dec edx
lea eax, [ebp - 0x14]
call fcn.00404de0
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004047e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d2ab
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004047b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047b8
ret
Function at 0x41d2d8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c44
mov eax, dword [ebp - 8]
call fcn.00404c44
mov eax, dword [ebp - 0xc]
call fcn.00404c44
xor eax, eax
push ebp
push 0x41d3c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0041d13c
lea eax, [ebp - 8]
call fcn.0041d13c
cmp dword [ebp - 4], 0
je 0x41d339
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x41d3dc
call fcn.00404aa0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x41d3e8
call fcn.00404aa0
mov eax, dword [ebp - 0x14]
call fcn.00404c54
push eax
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x41d3a4
mov eax, dword [ebp - 0xc]
call fcn.00404a54
push eax
lea eax, [ebp - 0xc]
call fcn.00404cac
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404c54
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x41d39b
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x41d3a4
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d3ce
lea eax, [ebp - 0x14]
call fcn.00404794
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047b8
ret

Function at 0x41d3fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c44
mov eax, dword [ebp - 8]
call fcn.00404c44
mov eax, dword [ebp - 0xc]
call fcn.00404c44
xor eax, eax
push ebp
push 0x41d49a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c54
push eax
push 0x80000001
call sub.advapi32.dll_RegCreateKeyA
test eax, eax
jne 0x41d47f
mov eax, dword [ebp - 0xc]
call fcn.00404a54
push eax
lea eax, [ebp - 0xc]
call fcn.00404cac
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404c54
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d4a1
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047b8
ret
Function at 0x420504
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42057c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.0040497c
lea eax, [ebp - 0xc]
mov edx, 0x420594
call fcn.00404a5c
mov eax, dword [ebp - 0xc]
call fcn.00404c54
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00407d80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420583
lea eax, [ebp - 0xc]
call fcn.00404794
ret

Function at 0x420d60
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, 0xc6ef3720
mov dword [ebp - 4], 0x20
mov ebx, dword [eax]
shl ebx, 4
mov esi, dword [ebp + 8]
add ebx, dword [esi - 8]
mov esi, dword [eax]
add esi, ecx
xor ebx, esi
mov esi, dword [eax]
shr esi, 5
mov edi, dword [ebp + 8]
add esi, dword [edi - 4]
xor ebx, esi
sub dword [edx], ebx
mov ebx, dword [edx]
shl ebx, 4
mov esi, dword [ebp + 8]
add ebx, dword [esi - 0x10]
mov esi, dword [edx]
add esi, ecx
xor ebx, esi
mov esi, dword [edx]
shr esi, 5
mov edi, dword [ebp + 8]
add esi, dword [edi - 0xc]
xor ebx, esi
sub dword [eax], ebx
sub ecx, 0x9e3779b9
dec dword [ebp - 4]
jne 0x420d73
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x421184
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c44
xor eax, eax
push ebp
push 0x4211f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x42120c
call fcn.00404d98
test eax, eax
jne 0x4211c2
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x42120c
call fcn.00404aa0
push 5
push 0x421214
push 0x421218
mov eax, dword [ebp - 4]
call fcn.00404c54
push eax
push 0x42121c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421200
lea eax, [ebp - 4]
call fcn.00404794
ret

Function at 0x428c88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x428cc1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404884
jmp 0x428cca
mov eax, ebx
mov edx, esi
call fcn.004047e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428cd4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x428cf5
mov al, byte [esp]
jmp 0x428cf7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42937c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4291f4
mov eax, dword [0x4344c8]
cmp byte [eax], 0
je 0x4293f8
mov eax, dword [0x4343e8]
call fcn.00402d90
call fcn.004026bc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0042667c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x429440
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42942e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4343c8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x435668]
call fcn.00405ba4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x42a0dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x42a140
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404a04
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00426394
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a147
lea eax, [ebp - 0xc]
call fcn.00404794
ret
Function at 0x403c10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
add esp, 0x104
ret

Function at 0x405ccf
Capabilities:
Packed with generic packer

Disassembly:
not ch
jge 0x405ce6
xor cl, 0xad
jmp loc.00411d74
xchg ch, al
not cl
add ah, dl
mov ah, bl
dec eax
xchg ecx, ecx
mov ah, 0x3e
sub edx, 2
mov cl, 0x33
xchg ch, ch
xchg ecx, eax
cld
xchg al, ch
jmp 0x405c42
stc
push 0x5e92
clc
pop edx
not ecx
jmp 0x405ce6
xchg ecx, eax
xchg ecx, eax
adc word [edx + 0x40c200], 0x5c91
jmp 0x405d37
mov al, 0xdd
test eax, 0xa2738d95
dec ecx
sub ecx, 0x32
not ecx
dec eax
not eax
add eax, 0xcb4212d
xchg ecx, eax
add ecx, eax
cld
jmp 0x405c94