joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100032ba
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
push dword [ebp + 0xc]
mov ecx, dword [0x1004d060]
mov esi, eax
push dword [ebp + 8]
xor eax, eax
test esi, esi
push esi
cmovne ecx, eax
mov dword [0x1004d060], ecx
call fcn.10005400
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret

Function at 0x1000350e
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
cmp dword [ebp + 0xc], 0
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov bh, byte [edi]
mov al, byte [edi + 1]
jle 0x100035df
mov edi, dword [ebp - 0xc]
push esi
movzx eax, al
mov esi, 0x3ac
movzx ecx, bh
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
xor edx, edx
lea eax, [ecx + 1]
div esi
mov ecx, dword [0x1004dae8]
mov bh, dl
xor edx, edx
movzx eax, bh
mov dword [ebp - 0xc], eax
lea esi, [eax + ecx]
movzx eax, byte [esi]
add eax, dword [ebp - 8]
div dword [ebp - 0x10]
mov al, dl
mov byte [ebp - 1], al
movzx eax, al
mov dword [ebp - 8], eax
add eax, ecx
push eax
push esi
call fcn.100035e8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [0x1004dae8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
movzx eax, byte [eax + ecx]
movzx ecx, byte [edx + ecx]
xor edx, edx
add eax, ecx
mov ecx, 0x3ac
div ecx
mov bl, dl
call esi
push 0
push 0
call esi
mov eax, dword [0x1004dae8]
mov esi, edi
sub esi, dword [0x1004d060]
movzx ecx, bl
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
xor byte [esi + ecx], al
inc edi
mov esi, 0x3ac
mov ecx, dword [ebp - 0xc]
cmp edi, dword [ebp + 0xc]
jl 0x10003541
mov edi, dword [ebp + 0x10]
mov al, byte [ebp - 1]
pop esi
mov byte [edi], bh
mov byte [edi + 1], al
pop edi
pop ebx
leave
ret
Function at 0x1002a40d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10029dcb

Function at 0x1003c7c9
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003c69d
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438008]
jne 0x40100a
repz ret
jmp fcn.004016a1

Function at 0x406a84
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403de3
and dword [ebp - 4], 0
cmp dword [0x439de4], 0
mov ebx, eax
jne 0x406b35
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406be6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406be6
push eax
call fcn.00403d71
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x439de4], eax
call esi
push eax
call fcn.00403d71
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x439de8], eax
call esi
push eax
call fcn.00403d71
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x439dec], eax
call esi
push eax
call fcn.00403d71
pop ecx
mov dword [0x439df4], eax
test eax, eax
je 0x406b35
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403d71
pop ecx
mov dword [0x439df0], eax
mov eax, dword [0x439df0]
cmp eax, ebx
je 0x406b8d
cmp dword [0x439df4], ebx
je 0x406b8d
push eax
call fcn.00403dec
push dword [0x439df4]
mov esi, eax
call fcn.00403dec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406b8d
test edi, edi
je 0x406b8d
call esi
test eax, eax
je 0x406b84
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406b84
test byte [ebp - 0xc], 1
jne 0x406b8d
or dword [ebp + 0x10], 0x200000
jmp 0x406bc6
mov eax, dword [0x439de8]
cmp eax, ebx
je 0x406bc6
push eax
call fcn.00403dec
pop ecx
test eax, eax
je 0x406bc6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406bc6
mov eax, dword [0x439dec]
cmp eax, ebx
je 0x406bc6
push eax
call fcn.00403dec
pop ecx
test eax, eax
je 0x406bc6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439de4]
call fcn.00403dec
pop ecx
test eax, eax
je 0x406be6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406be8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434180
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x438008]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x81f8d4], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x81f718], eax
jne 0x4341c1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x4342a0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc04
mov eax, dword [0x438008]
xor eax, esp
mov dword [esp + 0xc00], eax
mov eax, dword [0x439000]
push ebx
mov ebx, dword [0x81f71c]
push esi
mov esi, dword [0x81f8d4]
push eax
call fcn.00434180
add esp, 4
cmp dword [0x81f8d4], 0x2f
jne 0x4342df
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.004341f0
add esp, 4
cmp dword [0x81f8d4], 0x568
pop esi
pop ebx
jne 0x434317
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00401000
add esp, 0xc04
ret
Function at 0x40cb2f
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40cb50
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40cb48
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40cb3d
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
shr edx, 5
mov dword [eax], edx
mov eax, dword [ebp + 0x14]
xor edx, edx
and ecx, 0x1f
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x112bc0
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 8]
je 0x112c57
test ebp, ebp
je 0x112c57
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x112be0
sub eax, edx
push ebx
sar eax, 1
shr eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 2]
push edi
call fcn.0011374f
mov esi, eax
add esp, 4
test esi, esi
je 0x112c52
push edi
push 0
push esi
call fcn.00116370
push esi
push ebp
mov eax, ebx
call fcn.001120d0
add esp, 0x14
xor eax, eax
test ebx, ebx
jbe 0x112c2b
xor byte [eax + esi], bl
inc eax
cmp eax, ebx
jb 0x112c23
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebx]
push eax
push ecx
push ebx
push esi
push 0
push 0
call dword [0x11f018]
push esi
mov bl, 1
call fcn.0011574e
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x4026c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4112b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x41b82c], 8
lea ecx, [ebp - 0x44]
push ecx
push 0x20019
mov eax, 0x41b818
cmovae eax, dword [0x41b818]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x402720
mov al, 1
jmp 0x402881
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x44]
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push 0
push 0
push 0
push str.Version
push edi
mov dword [ebp - 0x40], 0
call ebx
test eax, eax
je 0x402768
mov bl, 1
jmp 0x402871
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
push ecx
shr eax, 1
lea ecx, [ebp - 0x1c]
push eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00403270
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
push eax
push esi
push 0
push 0
push str.Version
push edi
call ebx
test eax, eax
je 0x4027a9
mov bl, 1
jmp 0x402835
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 7
cmp esi, eax
je 0x4027d2
sub eax, esi
lea ecx, [ebp - 0x34]
sar eax, 1
push eax
push esi
call fcn.00403540
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004028b0
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
sets bl
cmp edx, 8
jb 0x402821
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402817
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40289d
push edx
push ecx
call fcn.00404688
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 0
test esi, esi
je 0x40286b
mov eax, dword [ebp - 0x14]
sub eax, esi
sar eax, 1
lea ecx, [eax + eax]
mov eax, esi
cmp ecx, 0x1000
jb 0x402861
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028a2
push ecx
push esi
call fcn.00404688
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 5
test edi, edi
je 0x40287f
push edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404677
mov esp, ebp
pop ebp
ret
call fcn.00407fd9
call fcn.00407fd9
int3
Function at 0x405fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x240
lea eax, [esp + 0x13c]
push ebx
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x148]
push str.svchost.exe
push ecx
call sub.MSVCRT.dll_strstr
add esp, 8
test eax, eax
jne 0x4060a3
lea edx, [esp + 0x148]
push 0x409c7c
push edx
call sub.MSVCRT.dll_fopen
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4060a3
lea eax, [esp + 0xc]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
push ebx
call fcn.00405950
add esp, 0x14
test al, al
je 0x40608b
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00405a90
add esp, 0x10
mov edi, eax
push 0x40
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x4060a3
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
push ebx
call fcn.00405b20
mov eax, dword [esp + 0x24]
push edi
push esi
lea ecx, [esp + 0x88]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
call fcn.00405db0
add esp, 0x30
push ebx
call sub.MSVCRT.dll_fclose
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x240
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x240
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x10036ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.01003359
push eax
push esi
push dword [ebp + 8]
call fcn.0100330e
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.01003359
push eax
push esi
push dword [ebp + 8]
call fcn.0100330e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.01003359
push eax
push esi
push dword [ebp + 8]
call fcn.0100330e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.01003349
pxor mm0, mm4
int1
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.01003349
mov cl, cl
adc ebp, dword [edi - 0x73]
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x43b632
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
add edx, 0x197afb39
sub edx, edi
call fcn.0043b65a
inc edi
xor dword [ebx], esi
add edx, edx
sub edx, edi
inc ebx
add edx, edi
cmp ebx, ecx
jne fcn.0043b632
dec edx
mov edi, edi
sub edx, edi
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1f1c661c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..text
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5d71780
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4016d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x28], 0x10
lea eax, [ebp + 0x14]
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
cmovae eax, edi
xor esi, esi
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], esi
jbe 0x40171e
push ebx
mov ebx, dword [ebp + 0xc]
mov edi, eax
sub ebx, ecx
nop word [eax + eax]
mov eax, esi
xor edx, edx
div dword [ebp + 0x24]
add ecx, esi
inc esi
mov al, byte [edx + edi]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
cmp esi, dword [ebp + 0x10]
jb 0x401700
mov edi, dword [ebp + 0x14]
pop ebx
mov eax, dword [ebp + 0x28]
cmp eax, 0x10
jb 0x401753
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x401749
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401749
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.00402456
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a0c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40a0da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a0e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a0d0
mov eax, 1
add ebx, ebx
jne 0x40a0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a0e8
jne 0x40a104
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a0e8
xor ecx, ecx
sub eax, 3
jb 0x40a118
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a18a
mov ebp, eax
add ebx, ebx
jne 0x40a123
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a130
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a154
inc ecx
add ebx, ebx
jne 0x40a140
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a135
jne 0x40a151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a135
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a165
jmp 0x40a0d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a174
add edi, ecx
jmp 0x40a0d6
pop esi
mov edi, esi
mov ecx, 0xc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a192
cmp byte [edi], 0
jne 0x40a192
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 0x40a197
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a206
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a1c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa09c]
or eax, eax
je 0x40a200
mov dword [ebx], eax
add ebx, 4
jmp 0x40a1e1
call dword [esi + 0xa098]
mov ebp, dword [esi + 0xa0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x40a23a
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x407430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x407015
lea edi, [esi - 0x6015]
push edi
or ebp, 0xffffffff
jmp 0x407452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407448
mov eax, 1
add ebx, ebx
jne 0x40746b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407460
jne 0x40747c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407460
xor ecx, ecx
sub eax, 3
jb 0x407490
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407502
mov ebp, eax
add ebx, ebx
jne 0x40749b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4074a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4074cc
inc ecx
add ebx, ebx
jne 0x4074b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4074ad
jne 0x4074c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4074ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4074ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4074dd
jmp 0x40744e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4074ec
add edi, ecx
jmp 0x40744e
pop esi
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x40754b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407509
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7030]
or eax, eax
je 0x407545
mov dword [ebx], eax
add ebx, 4
jmp 0x407526
call dword [esi + 0x702c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40757c
cmp al, 0xef
ja 0x40756f
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x407551
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40755e
mov ebp, dword [esi + 0x7034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4075b0
sub esp, 0xffffff80
jmp section.UPX0