joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c764
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c868
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa7dc10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0xa7dc28]
jne 0x40c7b0
mov eax, esi
mov edx, 0xa7dc2a
mov ecx, 0x55
call fcn.0040a59c
push 0xa7dc10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40c852
push 0xa7dc10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409a60
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40c81f
cmp byte [0xa7dc0c], 0
je 0x40c7e4
mov edx, esi
mov eax, ebx
call fcn.0040c648
jmp 0x40c81f
mov edx, esi
mov eax, ebx
call fcn.0040c44c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40c81f
cmp dword [esi], 0
je 0x40c808
mov eax, esi
mov edx, 0x40c880
call fcn.0040a6f4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040c44c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a6f4
push 0xa7dc10
call sub.kernel32.dll_EnterCriticalSection
mov word [0xa7dc28], bx
mov eax, dword [esi]
call fcn.0040a4fc
mov ecx, eax
mov eax, 0xa7dc2a
mov edx, 0xaa
call fcn.0040c2cc
push 0xa7dc10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c86f
lea eax, [ebp - 4]
call fcn.00409a60
ret
Function at 0x40ca98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409b44
xor eax, eax
push ebp
push 0x40ccbd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40cad8
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40caf2
mov eax, dword [ebp - 4]
call fcn.0040a4fc
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c2cc
cmp word [ebp - 0x21a], 0
je 0x40cca7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cccc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cbc1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cccc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cbc1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd08
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cbc1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd08
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cbc1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd3c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40cbc1
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40cd70
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40cca7
xor eax, eax
push ebp
push 0x40cca0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040c8a8
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40cc30
mov eax, dword [ebp - 0x10]
call fcn.00406e10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a560
jmp 0x40cc7b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40cdb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40cc7b
mov eax, dword [ebp - 0x10]
call fcn.00406e10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40cdb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040a560
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cca7
cmp dword [ebp - 8], 0
je 0x40cc96
mov eax, dword [ebp - 8]
call fcn.00406e2c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ccc4
lea eax, [ebp - 4]
call fcn.00409a60
ret
Function at 0x40cfc4
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409b44
xor eax, eax
push ebp
push 0x40d084
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a59c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a74c
mov eax, dword [ebx]
call fcn.0040ce74
test al, al
jne 0x40d061
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a59c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a74c
mov eax, dword [ebx]
call fcn.0040ce74
test al, al
jne 0x40d061
mov eax, ebx
call fcn.00409a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d08b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409ac0
lea eax, [ebp - 4]
call fcn.00409a60
ret

Function at 0x40ecb8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x41f0d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41f129
test eax, edx
je 0x41f12c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41f0e7
movzx eax, word [eax]
sub eax, ecx
jmp 0x41f10e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41f10f
add ecx, 4
js 0x41f0ff
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41f10c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41f10e
xor eax, eax
ret
test eax, eax
je 0x41f138
test edx, edx
jne 0x41f0d8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420094
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4200c1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x423e10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x423e49
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409be8
jmp 0x423e52
mov eax, ebx
mov edx, esi
call fcn.00409e40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423e5c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x423e7e
movzx eax, word [esp]
jmp 0x423e80
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4251b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4252dd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424fc0
mov esi, eax
mov eax, dword [0xa7aa5c]
cmp byte [eax], 0
je 0x425285
mov eax, dword [0xa7a8b0]
call fcn.0040756c
call fcn.00406f84
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x425188]
call fcn.0040bb80
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4252f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4252c1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0xa7a878]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0xa7e634]
call fcn.0040bf70
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4252e4
lea eax, [ebp - 4]
mov edx, dword [0x425188]
call fcn.0040bca4
ret
Function at 0x426428
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x426528
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409e88
lea eax, [ebp - 4]
call fcn.00409fa4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a4fc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x426512
mov eax, ebx
call fcn.00406e10
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42650b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a4fc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4264f5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42653c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4264f5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426512
mov eax, dword [ebp - 0x10]
call fcn.00406e2c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42652f
lea eax, [ebp - 4]
call fcn.00409a60
ret

Function at 0x42748c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409f30
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec98
mov edi, eax
cmp edi, 0x104
jbe 0x427437
mov eax, edi
add eax, eax
call fcn.00406e10
mov esi, eax
jmp 0x427439
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec98
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x427472
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42745c
mov eax, esp
cmp esi, eax
je 0x42747f
mov eax, esi
call fcn.00406e2c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4274b8
cmp bl, 0
je 0x4274b4
cmp bl, 0x41
jl 0x4274af
cmp bl, 0x5a
jg 0x4274af
or bl, 0x20
xor al, bl
inc esi
jmp 0x427493
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4273f8

Function at 0x427db0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a59c
add esp, 0x800
pop ebx
ret
Function at 0x48168c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x481694
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b98c8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b990b
cmp byte [ebx + 0x11], 0
jne 0x4b990b
cmp byte [ebx + 0x2c], 0
jne 0x4b990b
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b9922
mov ecx, dword [0xa7aa18]
mov dl, 1
mov eax, dword [0x48ee44]
call fcn.0042543c
call fcn.004090dc
pop ebx
ret
mov ecx, dword [0xa7aa18]
mov dl, 1
mov eax, dword [0x48ee44]
call fcn.0042543c
call fcn.004090dc
pop ebx
ret

Function at 0x4ba154
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4ba1a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004b9748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba1bb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ba1c4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b9748
dec esi
jne 0x4ba1e6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x10ba0368
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10ba0372
pushal
call 0x10ba0378
pop ebp
sub ebp, 0x10
sub ebp, 0xba0368
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10ba039c
test byte [eax + ebp], ah
add byte [eax], al
add byte [eax - 0x7bf0fe08], al
pop es
add byte [eax], al
add byte [ecx + 0x33], ah
rol byte [eax - 0x3e], 0xc
add cl, ch
add al, 0
add byte [eax], al
mov bl, 0xe2
pop esp
movsd dword es:[edi], dword [esi]
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10ba03a5
mov eax, 0xba0368
add eax, ebp
add eax, 0x63
mov ecx, 0x5c5
mov edx, 0x328ac799
lds eax, [0x99ba0000]
invalid
xor byte [eax], dl
inc eax
dec ecx
jne 0x10ba03bc
jmp 0x10ba03cf
int3
adc dl, byte [edx + edx + 0x10]
movsd dword es:[edi], dword [esi]
cdq
cdq
cdq
sbb byte [eax + 0x61], bl
cdq
cdq
cdq
lcall 0x9999, 0x999f2154
and esi, dword [ecx + 0x6e999999]
jnp 0x10ba0386
push ecx
adc bl, byte [eax]
xchg ebp, eax
cdq
cdq
cdq
lcall 0x1065, 0xbdfd145c
popfd
mov ebp, 0x65bdfd14
adc byte [ebp - 0x3e820e43], bl
mov ebx, 0x3318f199
push cs
cdq
cwde
mov ch, 0xbd
int1
in eax, dx
or al, 0x1c
jno 0x10ba03b3
cdq
cdq
cdq
jo 0x10ba03cd
cdq
cdq
cdq
int3
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x48ca31c5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x575811fc
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x417790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
jmp 0x4177aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4177b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4177a0
mov eax, 1
add ebx, ebx
jne 0x4177c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4177b8
jne 0x4177d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4177b8
xor ecx, ecx
sub eax, 3
jb 0x4177e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41785a
mov ebp, eax
add ebx, ebx
jne 0x4177f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417824
inc ecx
add ebx, ebx
jne 0x417810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417805
jne 0x417821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417805
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417835
jmp 0x4177a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417844
add edi, ecx
jmp 0x4177a6
pop esi
mov edi, esi
mov ecx, 0xec
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417862
cmp byte [edi], 7
jne 0x417862
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 0x417867
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4178df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417894
mov ecx, edi
jns 0x4178c3
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 + 0x1784c]
or eax, eax
je 0x4178d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4178b1
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
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 0x417913
sub esp, 0xffffff80
jmp 0x40a7df
Function at 0x40304c
Capabilities:
Query or enumerate registry value

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

Function at 0x403e20
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46204c], 0
je 0x403e81
cmp word [0x462220], 0xd7b2
jne 0x403e49
cmp dword [0x462228], 0
jbe 0x403e49
mov eax, 0x46221c
call dword [0x462238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46006c
push 0xfffffffffffffff5
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 0x403ea8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
pop edx
ret
cmp byte [0x460030], 0
jne 0x403e9d
push 0
push 0x460064
push 0x46006c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret