joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..text
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section..rdata
Function at 0x401110
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x421080]
xor eax, esp
mov dword [esp + 0x450], eax
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x10], eax
je 0x40115b
push 0x1c
lea ecx, [esp + 0x18]
push ecx
push fcn.00401110
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [esp + 0x18]
jmp 0x40115d
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x424
lea edx, [esp + 0x38]
mov esi, eax
push 0
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], 0x428
call fcn.0040c750
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4011cb
mov esi, dword [ebp + 0xc]
nop
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x4011b4
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
call fcn.004011f0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
push edx
push eax
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4011a0
mov esi, dword [esp + 0xc]
cmp esi, 0xffffffff
je 0x4011d7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040bbf1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4011f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push 1
push 1
push edi
call dword [sym.imp.imagehlp.dll_ImageDirectoryEntryToData]
mov esi, eax
test esi, esi
je 0x4012ea
mov eax, dword [esi + 0xc]
test eax, eax
push ebx
je 0x401238
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add eax, edi
push ebp
push eax
call ebx
test eax, eax
je 0x401238
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x401224
cmp dword [esi + 0xc], 0
je 0x4012e9
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + edi]
add ecx, edi
test eax, eax
je 0x4012e9
mov ebp, dword [0x423d20]
mov edi, dword [esp + 0x34]
xor edx, edx
cmp eax, edi
sete dl
mov esi, ecx
test edx, edx
jne 0x401293
cmp eax, ebp
jbe 0x40127b
cmp byte [eax], 0x68
jne 0x40127b
cmp dword [eax + 1], edi
lea esi, [eax + 1]
sete dl
test edx, edx
jne 0x401293
mov eax, dword [ecx + 4]
add ecx, 4
test eax, eax
jne 0x401258
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x1c
lea ecx, [esp + 0x14]
push ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0x24]
push edx
push 4
push eax
push ecx
call ebx
push 0
push 4
lea edx, [esp + 0x40]
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc
Function at 0x401d40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x423d2c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x4c8
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x7d0
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esi + 0xd0], 0
jne 0x401d92
mov edx, dword [0x423d2c]
push 0
push 6
push 0x4c8
push edx
call edi
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
ret

Function at 0x409360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x409373
push 0x80004005
call fcn.004077e0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x409380
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4093c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x421080]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x40942e
test ecx, ecx
je 0x409420
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x40943c
test ecx, ecx
je 0x4094e1
push ecx
jmp 0x4094db
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
jne 0x4094ae
jmp 0x409470
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.004093c0
mov edi, eax
test edi, edi
jne 0x4094fd
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
je 0x409470
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4094c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4094e1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040bbf1
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40950c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4094e3
Function at 0x409a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4195c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x421080]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [section..data]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x409ac9
call fcn.00407520
mov esi, eax
jmp 0x409ba8
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x409ae5
call fcn.00407520
jmp 0x409b9f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x409afe
call fcn.00407520
jmp 0x409b9f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x409b34
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x409b22
lea eax, [ebp]
call fcn.0040b550
lea esi, [ebp - 0x1c]
call fcn.00406a80
mov eax, 0x8007000e
jmp 0x409bc2
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0040b490
mov dword [ebp - 4], 1
jmp 0x409b55
mov esi, dword [ebp]
test esi, esi
jne 0x409b63
mov esi, 0x8007000e
jmp 0x409ba1
call dword [section..data]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x409b84
call fcn.00407520
jmp 0x409b9f
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.0040a790
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x409bc0
lea eax, [ebp]
call fcn.0040b550
jmp 0x409bc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0040bbf1
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b71a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4230a0], 0
push esi
jne 0x40b68d
call fcn.0040b5b8
test eax, eax
je 0x40b6d0
mov eax, dword [0x4230a0]
cmp eax, 1
jne 0x40b6ae
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40b6d0
pop esi
ret
push eax
call dword [0x4230a8]
test eax, eax
jne 0x40b718
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40b6d4
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4230a0]
call dword [0x4230a8]
mov edi, eax
test edi, edi
je 0x40b6fb
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40b717
lea edi, [esi + 0xff0]
push esi
push dword [0x4230a0]
call dword [0x4230a4]
add esi, 0x10
cmp esi, edi
jb 0x40b701
mov eax, esi
pop edi
pop esi
ret
jmp 0x40b67a

Function at 0x40b86b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x421080]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0040b800
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040c750
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x40b8ba
cmp dword [ebp - 0x1c], 5
jb 0x40b8d2
jmp 0x40b8ce
cmp dword [ebp - 0x10], 1
jne 0x40b8d2
cmp dword [ebp - 0x1c], 4
ja 0x40b8ce
jne 0x40b8d2
cmp dword [ebp - 0x18], 0
jbe 0x40b8d2
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x41a464
call fcn.00408830
test eax, eax
jge 0x40b8f3
mov byte [0x423e18], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040bbf1
add ebp, 0x78
leave
ret

Function at 0x40bbf1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421080]
jne 0x40bbfb
repz ret
jmp fcn.0040cabc
Function at 0x411c1b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040cc23
xor ebx, ebx
cmp dword [0x423c2c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x411cf0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x411c5b
xor eax, eax
jmp 0x411db4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b398
push edi
call esi
cmp eax, ebx
je 0x411c54
push eax
call fcn.0040cbc0
mov dword [esp], 0x41b388
push edi
mov dword [0x423c2c], eax
call esi
push eax
call fcn.0040cbc0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423c30], eax
call esi
push eax
call fcn.0040cbc0
mov dword [0x423c34], eax
lea eax, [ebp - 8]
push eax
call fcn.0040d312
test eax, eax
pop ecx
pop ecx
je 0x411cbe
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040e9cf
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x411cf0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040cbc0
cmp eax, ebx
pop ecx
mov dword [0x423c3c], eax
je 0x411cf0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040cbc0
pop ecx
mov dword [0x423c38], eax
mov eax, dword [0x423c38]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x411d69
cmp dword [0x423c3c], esi
je 0x411d69
push eax
call fcn.0040cc2c
pop ecx
call eax
cmp eax, ebx
je 0x411d36
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x423c3c]
call fcn.0040cc2c
pop ecx
call eax
test eax, eax
je 0x411d36
test byte [ebp - 0x18], 1
jne 0x411d69
lea eax, [ebp - 0xc]
push eax
call fcn.0040d349
test eax, eax
pop ecx
je 0x411d51
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040e9cf
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x411d60
or dword [ebp + 0x10], 0x200000
jmp 0x411d9a
or dword [ebp + 0x10], 0x40000
jmp 0x411d9a
mov eax, dword [0x423c30]
cmp eax, esi
je 0x411d9a
push eax
call fcn.0040cc2c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x411d9a
mov eax, dword [0x423c34]
cmp eax, esi
je 0x411d9a
push dword [ebp - 4]
push eax
call fcn.0040cc2c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x423c2c]
call fcn.0040cc2c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x55d75eac
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7d7d1fe4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x489020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033b8
xor eax, eax
push ebp
push 0x4033b1
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 0x4033f4
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 0x4033b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x489020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x489020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48c048], 0
je 0x404145
cmp word [0x48c21c], 0xd7b2
jne 0x40410d
cmp dword [0x48c224], 0
jbe 0x40410d
mov eax, 0x48c218
call dword [0x48c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48906c
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 0x40416c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x489030], 0
jne 0x404161
push 0
push 0x489064
push 0x48906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f00
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 0x405f66
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.004044f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ee0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f50
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f6d
lea eax, [ebp - 0x10]
call fcn.00404288
ret

Function at 0x40b21c
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 0x40b255
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404378
jmp 0x40b25e
mov eax, ebx
mov edx, esi
call fcn.004042dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b268
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 0x40b289
mov al, byte [esp]
jmp 0x40b28b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b920
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b788
mov eax, dword [0x48b024]
cmp byte [eax], 0
je 0x40b99c
mov eax, dword [0x48ae3c]
call fcn.00402d4c
call fcn.00402bb4
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.004088d0
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 0x40b9e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48ade8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48c664]
call fcn.0040536c
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