joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402eec
Capabilities:
Query or enumerate registry value

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

Function at 0x403888
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40e044], 0
je 0x4038e9
cmp word [0x40e218], 0xd7b2
jne 0x4038b1
cmp dword [0x40e220], 0
jbe 0x4038b1
mov eax, 0x40e214
call dword [0x40e230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40d060
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 0x403910
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40d024], 0
jne 0x403905
push 0
push 0x40d058
push 0x40d060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404744
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 0x4047aa
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.00403c60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ae0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404794
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4047b1
lea eax, [ebp - 0x10]
call fcn.00403a0c
ret

Function at 0x406a6c
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 0x406aa5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403afc
jmp 0x406aae
mov eax, ebx
mov edx, esi
call fcn.00403a60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x407d0c
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 0x407d70
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.00403c60
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405b34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407d77
lea eax, [ebp - 0xc]
call fcn.00403a0c
ret

Function at 0x40ad6c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00403c60
add esp, 0x104
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dd8
xor eax, eax
push ebp
push 0x40ade4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403de8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40adeb
lea eax, [ebp - 4]
call fcn.00403a0c
ret
Function at 0x40b0ac
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
lea edx, [esp + 4]
mov eax, dword [0x40e85c]
mov ecx, 0x40
call fcn.004029b8
mov dword [0x40e7a8], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x40e7a8
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x40b0da
xor ebx, ebx
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x40e7a8]
add eax, esi
add eax, ebp
mov edx, 3
call fcn.0040af8c
mov esi, eax
mov dword [ebx*4 + 0x40e7a8], esi
lea edx, [ebp + esi]
mov eax, dword [esp + edi*4 + 4]
add eax, esi
add eax, ebp
call fcn.0040af8c
mov ebp, eax
mov dword [esp + edi*4 + 4], ebp
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc edi
and edi, 0x8000000f
jns 0x40b14a
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x40b0fa
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40b1d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov eax, dword [0x40e854]
sub dword [ebx + 8], eax
mov eax, dword [0x40e850]
sub dword [ebx], eax
mov esi, 0x14
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], edx
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edx
mov edx, dword [ebx]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.0040af8c
mov ebp, eax
mov eax, dword [ebx + 4]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.0040af8c
mov edi, eax
mov eax, dword [ebx + 8]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x40e7ac]
mov edx, edi
call fcn.0040af94
xor eax, ebp
mov dword [ebx + 8], eax
mov eax, dword [ebx]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x40e7a8]
mov edx, ebp
call fcn.0040af94
xor edi, eax
mov dword [ebx], edi
dec esi
test esi, esi
jne 0x40b1ee
mov eax, dword [0x40e7ac]
sub dword [ebx + 0xc], eax
mov eax, dword [0x40e7a8]
sub dword [ebx + 4], eax
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40c65c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403dd8
mov eax, dword [ebp - 8]
call fcn.00403dd8
xor eax, eax
push ebp
push 0x40c6ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x800
call fcn.00402864
mov ebx, eax
push ebx
push 0
push 0x40c6f8
mov eax, dword [ebp - 4]
call fcn.00403de8
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00403be8
mov eax, dword [ebp - 0xc]
mov ecx, esi
mov edx, dword [ebp - 8]
call fcn.00405cd0
mov eax, ebx
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6f1
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403a30
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x6d4c6c81
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x60a43a57
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x79bf14d9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
lea ebx, [eax + edi + 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x79bf1588
cmp dword [ebx + 4], 0x28
jb 0x79bf1588
lea esi, [eax + edi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x79bf1588
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x79bf1588
lea edx, [edx + ecx*4]
mov ecx, dword [ebx + 4]
add ecx, eax
cmp ecx, edx
jb 0x79bf1588
mov eax, dword [esi + 0x20]
and dword [ebp + 8], 0
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
add eax, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x79bf1588
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
ja 0x79bf157d
mov eax, dword [eax]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
add edx, dword [ebx + 4]
lea eax, [eax + ecx + 1]
cmp eax, edx
ja 0x79bf157d
push dword [ebp + 0xc]
lea eax, [ecx + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x79bf158f
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x79bf153f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x14], ecx
jbe 0x79bf1588
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx]
cmp esi, eax
jb 0x79bf1588
lea edx, [esi + ecx*4 + 4]
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, edx
jb 0x79bf1588
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x79bf158a

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

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x40
mov edi, 0x101000
push edi
push dword [esp + 0x14]
push 0
call esi
test eax, eax
jne 0x79bf1685
push 4
push edi
push dword [esp + 0x14]
push eax
call esi
pop edi
pop esi
ret
Function at 0x79bf1da4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
test edi, edi
jne 0x79bf1ded
mov ecx, dword [eax + 4]
push edi
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x79bf1de9
cmp dword [ebp - 8], ebx
je 0x79bf1e1e
xor eax, eax
jmp 0x79bf1e21
mov esi, dword [esi + 8]
mov edx, ebx
xor ecx, ecx
add edx, dword [eax]
adc ecx, dword [eax + 4]
xor ebx, ebx
cmp ebx, ecx
jg 0x79bf1e0f
jl 0x79bf1e05
cmp esi, edx
jae 0x79bf1e0f
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x79bf1de9
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, edi
call fcn.79bf169a
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x79bf1ef7
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp dword [eax + 0x38], ebx
jne 0x79bf1f14
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x79bf20a5
mov ecx, dword [ebp + 0xc]
push edi
lea edi, [eax + 0x30]
push 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov eax, edi
call fcn.79bf1da4
add esp, 0xc
test eax, eax
je 0x79bf1f4a
push dword [ebp - 0x14]
call fcn.79bf165f
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x79bf1f51
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x79bf20a4
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
add eax, 0xc
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
adc edi, ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
call fcn.79bf1da4
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
add esp, 0xc
push ebx
push eax
push ebx
push 0x40
push ebx
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x79bf1fa7
push ebx
push dword [ebp - 8]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call edi
mov esi, eax
cmp esi, ebx
je 0x79bf1fd2
push ebx
push ebx
push ebx
push 0x26
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x79bf1fdd
push ebx
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x79bf1fdd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.79bf1688
pop ecx
jmp 0x79bf2046
cmp dword [ebp - 0x10], ebx
jne 0x79bf1ff1
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.79bf169a
jmp 0x79bf2000
push dword [ebp - 0x18]
push edi
push dword [ebp - 4]
call fcn.79bf2490
add esp, 0xc
push dword [ebp - 4]
call fcn.79bf1688
mov eax, dword [edi + 0x3c]
pop ecx
cmp edi, dword [eax + edi + 0x34]
je 0x79bf2050
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
push ebx
push ebx
push ebx
push 0x26
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov edi, eax
cmp edi, ebx
jne 0x79bf2050
push ebx
push ebx
push ebx
push ebx
push 0x26
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov edi, eax
cmp edi, ebx
jne 0x79bf2050
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x79bf2097
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x10], bl
je 0x79bf206e
push dword [ebp - 0x18]
push edi
call fcn.79bf1956
pop ecx
pop ecx
test al, al
jne 0x79bf206e
push edi
jmp 0x79bf2091
mov eax, dword [edi + 0x3c]
lea esi, [eax + edi + 0x18]
mov eax, edi
sub eax, dword [esi + 0x1c]
push eax
call fcn.79bf16ae
push dword [esi + 0x68]
push esi
call fcn.79bf1784
add esp, 0xc
push edi
test al, al
jne 0x79bf209b
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
jmp 0x79bf20a3
call fcn.79bf1ea9
pop ecx
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x79bf2490
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x79bf24c1
cmp bl, 0xd7
je 0x79bf24c1
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x79bf24e9
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x79bf24b3
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.79bf250e
cmp bl, 0xd8
jne 0x79bf24e9
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x79bf24e9
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x79bf24e0
pop esi
pop ebx
ret

Function at 0x416f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x416f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f38
mov eax, 1
add ebx, ebx
jne 0x416f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416f50
jne 0x416f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f50
xor ecx, ecx
sub eax, 3
jb 0x416f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416ff2
mov ebp, eax
add ebx, ebx
jne 0x416f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416fbc
inc ecx
add ebx, ebx
jne 0x416fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416f9d
jne 0x416fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416fcd
jmp 0x416f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416fdc
add edi, ecx
jmp 0x416f3e
pop esi
mov edi, esi
mov ecx, 0x712
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416ffa
cmp byte [edi], 0xa
jne 0x416ffa
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 eax, ebx
loop 0x416fff
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41706e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41702c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1707c]
or eax, eax
je 0x417068
mov dword [ebx], eax
add ebx, 4
jmp 0x417049
call dword [esi + 0x17080]
popal
jmp 0x407cd2
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x49235e3d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f314
nop
mov ecx, 0x1bd2605f
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x232b426e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x17833b83
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x53fcc6
Capabilities:
Encode data using xor

Disassembly:
lea ebx, [ebx - 0x6e]
and dword [ebx], esp
add dl, byte [edx + 0x1a]
pop ss
pop ebp
push es
cmp dh, byte [edi - 0x38]
stosd dword es:[edi], eax
invalid
rcr byte [eax + 0x49e362a1], cl
sub byte [eax], 0x95
ja 0x53fc94
pop ss
aaa
rol dword [edi], cl
retf

Function at 0x6599ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662398
cmp edx, dword [eax]
je 0x6599cf
add eax, 8
inc ecx
cmp eax, 0x662428
jl 0x6599c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662398]
cwde
and esp, dword [esi]
Function at 0x10005480
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10009018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x100054f1
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100054f1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Thread32Next]
cmp dword [ebp - 0x14], ebx
je 0x100054d6
lea ecx, [ebp - 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x100054c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [0x10faa3b8], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000565a
mov esp, ebp
pop ebp
ret

Function at 0x1000565a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009018]
jne 0x10005664
repz ret
jmp fcn.10005b71

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x633340b7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x218e1be5
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x60a07457
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x1b5e7b34
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x410370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41038a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410380
mov eax, 1
add ebx, ebx
jne 0x4103a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410398
jne 0x4103b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410398
xor ecx, ecx
sub eax, 3
jb 0x4103c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41043a
mov ebp, eax
add ebx, ebx
jne 0x4103d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4103e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410404
inc ecx
add ebx, ebx
jne 0x4103f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4103e5
jne 0x410401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4103e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410415
jmp 0x410386
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410424
add edi, ecx
jmp 0x410386
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410442
cmp byte [edi], 5
jne 0x410442
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 0x410447
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4104b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x128f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12944]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410474
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12948]
or eax, eax
je 0x4104b0
mov dword [ebx], eax
add ebx, 4
jmp 0x410491
call dword [esi + 0x12958]
mov ebp, dword [esi + 0x1294c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4104ea
sub esp, 0xffffff80
jmp 0x4027e0