joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
je 0x10002017
cmp dword [ebp + 8], 0
je 0x10002017
cmp dword [ebp + 0xc], 0
jbe 0x10002017
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret 8

Function at 0x1000261e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10017058]
jne 0x10002628
repz ret
jmp fcn.100031a8

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

Disassembly:
push ebx
push ebp
push esi
cmp dword [esp + 0x14], 1
jne 0x10006f55
mov eax, dword [str.KERNEL32.dll]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov edx, dword [ebx + 0x3c]
mov ecx, dword [edx + ebx + 0x28]
add ebx, ecx
mov edx, dword [0x100179c0]
sub ebx, edx
mov edx, dword [0x100179d0]
add ebx, edx
mov edx, dword [str.VirtualProtect]
mov dword [esp], 0
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x100179bc]
lea edx, [esp]
push edx
push 0x40
push ecx
push ebx
call eax
mov eax, ebx
add esp, 0xfffffff4
mov edx, dword [0x100179d0]
mov ecx, dword [0x100179bc]
call fcn.10006f7b
mov eax, 1
pop ecx
pop ebp
pop ebx
ret 0xc
Function at 0x1000b91a
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.10004ed3
and dword [ebp - 4], 0
cmp dword [0x10018c74], 0
mov ebx, eax
jne 0x1000b9cb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000ba7c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000ba7c
push eax
call fcn.10004e61
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10018c74], eax
call esi
push eax
call fcn.10004e61
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10018c78], eax
call esi
push eax
call fcn.10004e61
mov dword [esp], 0x10013a6c
push edi
mov dword [0x10018c7c], eax
call esi
push eax
call fcn.10004e61
pop ecx
mov dword [0x10018c84], eax
test eax, eax
je 0x1000b9cb
push str.T_JE
push edi
call esi
push eax
call fcn.10004e61
pop ecx
mov dword [0x10018c80], eax
mov eax, dword [0x10018c80]
cmp eax, ebx
je 0x1000ba23
cmp dword [0x10018c84], ebx
je 0x1000ba23
push eax
call fcn.10004edc
push dword [0x10018c84]
mov esi, eax
call fcn.10004edc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000ba23
test edi, edi
je 0x1000ba23
call esi
test eax, eax
je 0x1000ba1a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000ba1a
test byte [ebp - 0xc], 1
jne 0x1000ba23
or dword [ebp + 0x10], 0x200000
jmp 0x1000ba5c
mov eax, dword [0x10018c78]
cmp eax, ebx
je 0x1000ba5c
push eax
call fcn.10004edc
pop ecx
test eax, eax
je 0x1000ba5c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000ba5c
mov eax, dword [0x10018c7c]
cmp eax, ebx
je 0x1000ba5c
push eax
call fcn.10004edc
pop ecx
test eax, eax
je 0x1000ba5c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10018c74]
call fcn.10004edc
pop ecx
test eax, eax
je 0x1000ba7c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ba7e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405550
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x40d2eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push edi
push 0x413634
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
mov dword [esp + 0xc], 0x128
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4055bd
lea ecx, [esp + 8]
mov dword [esp + 0x13c], eax
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
add esp, 0x138
ret
push ebp
lea eax, [esp + 0x10]
push esi
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40561e
mov ebp, dword [esp + 0x14c]
mov esi, ebp
lea eax, [esp + 0x38]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4055ff
test cl, cl
je 0x4055fb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4055ff
add eax, 2
add esi, 2
test cl, cl
jne 0x4055db
xor eax, eax
jmp 0x405604
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405619
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4055d5
jmp 0x40561e
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x13c]
pop esi
pop ebp
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret

Function at 0x405660
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, eax
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x405747
cmp dword [esp + 0x18], 2
jne 0x405706
cmp dword [esp + 0xc], 6
jne 0x405706
cmp dword [esp + 0x10], 1
jb 0x405706
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetThreadUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405747
cmp si, 0x804
jne 0x4056df
push 0x804
call eax
pop edi
pop esi
add esp, 0x9c
ret
cmp si, 0x404
jne 0x4056f6
push 0x404
call eax
pop edi
pop esi
add esp, 0x9c
ret
push 0x409
call eax
pop edi
pop esi
add esp, 0x9c
ret
cmp si, 0x804
jne 0x405721
push 0x804
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
pop edi
pop esi
add esp, 0x9c
ret
cmp si, 0x404
jne 0x40573c
push 0x404
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
pop edi
pop esi
add esp, 0x9c
ret
push 0x409
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x405f80
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x405f9f
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], 0
mov ecx, dword [esi + 8]
push 0
push ecx
push 0x405a00
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
xor edx, edx
mov dword [esi + 4], eax
test eax, eax
setne dl
mov eax, edx
pop esi
ret 4
Function at 0x407dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40d4a8
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x18], ebp
je 0x407df2
call fcn.00407f10
cmp dword [edi + 4], ebp
jne 0x407e61
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [0x413758]
and ecx, 0xffff
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebp
jne 0x407e2a
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x407e74
mov eax, dword [0x413758]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, ebp
jle 0x407e61
mov ecx, dword [0x413758]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x407e61
push ebx
push eax
mov ecx, edi
call fcn.00407f30
test eax, eax
je 0x407e61
mov ebp, 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x408510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
test ebp, ebp
jne 0x408530
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x120]
mov dword [esp + 0xc], 0
test edi, edi
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], 0
je 0x4085ae
lea eax, [esp + 0x10]
push eax
call dword [0x413688]
lea ecx, [esp + 0xc]
push ecx
push 0x20119
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.NISEC_UKUpdate.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4085d9
mov edx, dword [esp + 0x10]
push edx
call dword [0x41368c]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.NISEC_UKUpdate.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4085d9
pop edi
pop esi
pop ebp
add esp, 0x110
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push str.svcVersion
push eax
call esi
test eax, eax
jne 0x408655
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x408613
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x41368c]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4086d7
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
add esp, 0x110
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push str.Version
push edx
call esi
test eax, eax
je 0x40868e
test edi, edi
je 0x408682
mov eax, dword [esp + 0x10]
push eax
call dword [0x41368c]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4086a8
mov edx, dword [esp + 0x10]
push edx
call dword [0x41368c]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4086d7
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x110
ret
Function at 0x4089a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x108
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov ebp, dword [esp + 0x11c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, str.ctplkcs.dll
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4089f0
test cl, cl
je 0x4089ec
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4089f0
add eax, 2
add esi, 2
test cl, cl
jne 0x4089cc
xor eax, eax
jmp 0x4089f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408a44
call fcn.00401000
test eax, eax
je 0x408a32
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [0x413688]
lea ecx, [esp + 0x10]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esp + 0xc]
push edx
call dword [0x41368c]
jmp 0x408a69
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x408a69
mov esi, dword [esp + 0x118]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x413060
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x120]
mov ecx, ebp
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
je 0x408aeb
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esp + 0x10]
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebp
neg eax
add esp, 0x108
ret
Function at 0x408b10
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov esi, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0xc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x413060
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
add esp, 0x104
ret
Function at 0x40c4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40d9bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4102ec
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x40c550
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x40c517
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x40c541
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x40c556
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x40c556
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x40fbf8
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x40fbdc
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040ca74
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
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, 0x408ecc
nop
nop
mov ecx, 0x5f421455
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x66dd7a82
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x42fb7b
Capabilities:
Parse pe header

Disassembly:
push edx
mov eax, dword [esp + 4]
add esp, 8
push esi
lea esi, [eax]
sub esi, 0xf
xchg esi, eax
pop esi
mov ebx, edx
push 4
pop ebx
mov dword [eax], ebx
push esi
add esp, 4
pop eax
push edi
mov ebx, dword [esp + 4]
add esp, 8
pushal
call 0x42fb7b
jmp 0x42fb5d
call fcn.0042fab9
push 0x86abc981
push 0x5ac18765
xor eax, eax
js 0x42fbe1
insb byte es:[edi], dx
imul esi, dword [eax + eax + 0x61], 0xa6e9
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x42fb96
mov ebx, 0xbff00000
call fcn.0042fbda
cmp eax, 0
je 0x42fb83
cmp word [ebx], 0x5a4d
jne 0x42fb83
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x42fb83
test byte [eax + 0x17], 0x20
je 0x42fb83
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x42fb83
cmp dword [edx + 4], 0x32334c45
jne 0x42fb83
mov eax, ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x50031134
sub edx, 0x5003110e
add eax, edx
push eax
push dword fs:[0]
mov dword fs:[0], esp
mov ecx, dword [ebx]
mov ecx, 1
jmp 0x42fc13
pop dword fs:[0]
pop eax
mov dword [esp + 0x1c], ecx
popal
ret
Function at 0x419400
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x419428
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x419437
mov eax, 1
ret 4

Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
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.UPX0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219