joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff98
mov ebp, ecx
mov edi, edx
mov esi, eax
mov ebx, dword [esi + 0xee]
mov eax, esi
mov dl, 1
call fcn.00408350
lea edx, [esp + 8]
mov eax, esi
call fcn.0040a318
lea eax, [ebx + 0x95]
push eax
lea eax, [ebx + 0x74]
push eax
lea eax, [ebx + 0x78]
push eax
lea eax, [ebx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov eax, esi
mov ecx, ebp
mov edx, edi
call fcn.0040a67c
cmp byte [ebx + 0x95], 0
je 0x40baaf
lea edx, [esp + 8]
mov eax, esi
call fcn.0040acc8
jmp 0x40bbf9
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
mov eax, esi
mov ecx, ebp
mov edx, edi
call fcn.0040a2dc
mov edi, dword [esp]
cmp edi, dword [ebx + 0x54]
jl 0x40bb55
mov eax, dword [esp + 4]
cmp eax, dword [ebx + 0x58]
jl 0x40bb55
mov eax, esi
call fcn.0040aeb4
test ah, 4
je 0x40bb0f
mov eax, dword [esp]
cmp eax, dword [ebx + 0x44]
jne 0x40bafa
mov edx, dword [esp + 4]
cmp edx, dword [ebx + 0x48]
je 0x40bbf9
push 1
push 1
mov edx, esi
mov ecx, dword [esp + 0xc]
xchg edx, eax
call fcn.0040c1fc
jmp 0x40bbf9
mov byte [ebx + 0x95], 1
push 0
push 0x3c
push 1
mov eax, dword [esi + 0x1c]
push eax
call sub.user32.dll_SetTimer
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x40bb3f
mov edx, esp
mov eax, esi
call fcn.0040bf38
jmp 0x40bbf9
push 1
push 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov edx, edi
call fcn.0040c1fc
jmp 0x40bbf9
test byte [ebx + 0x5d], 1
je 0x40bba8
cmp dword [esp], 0
jl 0x40bba8
mov eax, dword [esp]
cmp eax, dword [ebx + 0x54]
jge 0x40bba8
mov eax, dword [esp + 4]
cmp eax, dword [ebx + 0x58]
jl 0x40bba8
mov eax, dword [esp + 4]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov byte [ebx + 0x95], 4
mov eax, esi
call fcn.00406108
mov eax, esi
call fcn.0040ab40
push 0
push 0x3c
push 1
mov eax, dword [esi + 0x1c]
push eax
call sub.user32.dll_SetTimer
jmp 0x40bbf9
test byte [ebx + 0x5d], 2
je 0x40bbf9
cmp dword [esp + 4], 0
jl 0x40bbf9
mov eax, dword [esp + 4]
cmp eax, dword [ebx + 0x58]
jge 0x40bbf9
mov eax, dword [esp]
cmp eax, dword [ebx + 0x54]
jl 0x40bbf9
mov eax, dword [esp]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov byte [ebx + 0x95], 5
mov eax, esi
call fcn.00406108
mov eax, esi
call fcn.0040ab40
push 0
push 0x3c
push 1
mov eax, dword [esi + 0x1c]
push eax
call sub.user32.dll_SetTimer
add esp, 0x68
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0xfe7130
Capabilities:
Encode data using xor

Disassembly:
jmp 0xfe713a
pushal
call 0xfe7140
pop ebp
sub ebp, 0x10
sub ebp, 0xbe7130
jmp 0xfe7156
mov eax, 0xbe7130
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cf
mov edx, 0x3b26e427
xor byte [eax], dl
inc eax
dec ecx
jne 0xfe716d
jmp 0xfe7180
lodsb al, byte [esi]
ljmp 0x2727
Function at 0x436250
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x38
mov dword [ebp - 0x30], eax
mov eax, edx
movzx ebx, word [edx + 0xe]
mov edi, dword [eax + 8]
mov eax, dword [0x52402c]
mov dword [ebp - 0x24], 0x14
mov edx, dword [edx + 4]
test eax, eax
je 0x4363c0
mov esi, ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8004
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptCreateHash]
sub esp, 0x14
test eax, eax
je 0x4363c0
mov edx, dword [ebp - 0x2c]
mov eax, edi
imul ebx, edx
add ebx, 0x1f
sar ebx, 3
and ebx, 0xfffffffc
neg eax
cmovs eax, edi
imul ebx, eax
test esi, esi
je 0x4363d0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptHashData]
sub esp, 0x10
lea esi, [ebp - 0x24]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_CryptGetHashParam]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call ebx
sub esp, 0x14
cmp dword [ebp - 0x24], 0x14
jne 0x4363c0
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x28]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptDestroyHash]
mov esi, dword [ebp - 0x24]
sub esp, 4
lea eax, [esi + esi + 1]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
test esi, esi
je 0x4363b1
xor eax, eax
lea esi, [esi]
nop
movzx edx, byte [ebp + eax - 0x20]
movzx ecx, word [0x4aa9c8]
mov ebx, edx
and edx, 0xf
shr bl, 4
movzx ebx, bl
mov cl, byte [ebx + 0x49e980]
mov ch, byte [edx + 0x49e980]
mov word [edi + eax*2], cx
add eax, 1
cmp eax, esi
jne 0x436380
lea eax, [edi + eax*2]
mov byte [eax], 0
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_malloc]
mov dword [esp + 4], 7
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetCurrentObject]
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetBitmapBits]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CryptHashData]
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_free]
jmp 0x4362f4
Function at 0x445960
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [edx], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebx]
test eax, eax
jle 0x4459be
mov esi, edx
mov edi, ecx
xor edx, edx
xor ecx, ecx
jmp 0x44599e
test al, al
je 0x4459d0
add edx, 1
add ecx, 0x3c
cmp dword [ebx], edx
jle 0x4459be
mov eax, dword [ebx + 8]
movzx eax, byte [eax + ecx + 0x17]
cmp al, 2
je 0x4459c8
cmp al, 0xcc
jne 0x445990
mov eax, dword [ebp + 8]
add edx, 1
add ecx, 0x3c
add dword [eax], 1
cmp dword [ebx], edx
jg 0x44599e
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [edi], 1
jmp 0x445994
add dword [esi], 1
jmp 0x445994

Function at 0x4459e0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [edx], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebx]
test eax, eax
jle 0x445a3e
mov esi, edx
mov edi, ecx
xor edx, edx
xor ecx, ecx
jmp 0x445a1e
test al, al
je 0x445a50
add edx, 1
add ecx, 0x5c
cmp dword [ebx], edx
jle 0x445a3e
mov eax, dword [ebx + 8]
movzx eax, byte [eax + ecx + 0x17]
cmp al, 2
je 0x445a48
cmp al, 0xcc
jne 0x445a10
mov eax, dword [ebp + 8]
add edx, 1
add ecx, 0x5c
add dword [eax], 1
cmp dword [ebx], edx
jg 0x445a1e
pop ebx
pop esi
pop edi
pop ebp
ret
add dword [edi], 1
jmp 0x445a14
add dword [esi], 1
jmp 0x445a14

Function at 0x445c40
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
lea esi, [ebp - 0x110]
push ebx
mov ebx, ecx
sub esp, 0x124
mov dword [ebp - 0x114], eax
mov dword [esp + 4], esi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4ab7a0
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
sub esp, 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x445d0b
mov dword [esp + 0x10], 0
mov ebx, eax
mov dword [esp + 0xc], edi
mov eax, dword [edi]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x114]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x445e10
Capabilities:
Get common file path
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x120
cmp byte [eax + 1], 0x3a
je 0x445f60
lea edi, [ebp - 0x110]
mov dword [esp + 4], 0x104
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
sub esp, 8
test eax, eax
je 0x445f90
mov dword [esp], edi
call sub.msvcrt.dll_strlen
lea edx, [edi + eax]
lea eax, [edi + eax + 7]
mov dword [edx], 0x6e6f665c
mov dword [edx + 4], 0x5c7374
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x445f90
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileSize]
sub esp, 8
mov dword [esi], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x445f80
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
mov edi, eax
mov dword [esp], ebx
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
call ebx
sub esp, 4
mov dword [esp], esi
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x110]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_strcpy]
jmp 0x445e74
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esi, [esi]
xor edi, edi
jmp 0x445f4f
Function at 0x4497e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov dword [esp], 0
call dword [sym.imp.user32.dll_GetDC]
lea edx, [ebp - 0x48]
mov ecx, 0xf
mov dword [ebp - 0x84], 0
mov ebx, eax
mov edi, edx
xor eax, eax
sub esp, 4
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x84]
mov byte [ebp - 0x31], 1
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4566f0
call dword [sym.imp.gdi32.dll_EnumFontFamiliesExA]
sub esp, 0x14
mov dword [esp + 0x34], 0x4ac1ca
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x190
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x14
call dword [sym.imp.gdi32.dll_CreateFontA]
sub esp, 0x38
mov esi, eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov ecx, dword fs:[0x18]
mov dword [eax + 4], 0x101a
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x90], ecx
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.CreateFontA_failed__error__lu_n
mov dword [esp], eax
call fcn.004471c0
mov edx, dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [ebp - 0x8c], edx
call edx
mov dword [ebp - 0x88], eax
sub esp, 8
lea eax, [ebp - 0x80]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.gdi32.dll_GetTextMetricsA]
sub esp, 8
mov edi, eax
call fcn.00492bc0
mov ecx, dword [ebp - 0x90]
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x101d
mov eax, dword [ecx + 0x34]
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.GetTextMetricsA_failed__error__lu_n
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x101e
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], str.Got_unexpected_tmHeight__ld_n
cmp eax, 0x14
mov dword [esp + 8], eax
setle al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, dword [ebp - 0x88]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x8c]
call edx
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x449e40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ecx, 0xd
xor eax, eax
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0xbc]
lea esi, [ebp - 0x4c]
push ebx
mov edi, edx
sub esp, 0xcc
mov dword [ebp - 0x4c], 0x61697241
mov dword [ebp - 0x48], 0x6c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x61697241
mov dword [ebp - 0x38], 0x6f42206c
mov dword [ebp - 0x34], 0x646c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x61697241
mov dword [ebp - 0x28], 0x7449206c
mov dword [ebp - 0x24], 0x63696c61
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x61697241
mov dword [ebp - 0x18], 0x6142206c
mov dword [ebp - 0x14], 0x6369746c
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc4], 0x10
mov dword [ebp - 0xc0], 0x10
mov edi, dword fs:[0x18]
lea eax, [ebp - 0xa8]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strcpy]
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_CreateFontIndirectA]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x13cd
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.CreateFontIndirectA_failed_n
mov dword [esp], eax
call fcn.004471c0
lea eax, [ebp - 0x88]
mov dword [edi + 0x34], 0xdeadbeef
mov dword [esp + 8], eax
mov dword [esp + 4], 0x3c
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_GetObjectA]
sub esp, 0xc
mov dword [ebp - 0xc8], eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x13d0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.GetObject_failed:__ld_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0xc8]
mov dword [esp], edx
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x13d1
movzx ecx, byte [ebp - 0x74]
movzx eax, byte [ebp - 0xb0]
mov dword [esp + 4], str.lfItalic:_expect__02x_got__02x_n
mov edx, ecx
mov dword [esp + 0xc], ecx
cmp dl, al
movzx ecx, al
sete al
mov dword [esp + 8], ecx
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x13d2
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0xb4]
mov dword [esp + 4], str.lfWeight:_expect__08lx_got__08lx_n
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x13d3
lea eax, [ebp - 0x6c]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpA]
lea ecx, [ebp - 0x6c]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 0xc], ecx
add esi, 0x10
lea ecx, [ebp - 0xa8]
movzx eax, al
mov dword [esp + 8], ecx
mov dword [esp + 4], str.font_names_dont_match:__s____s_n
mov dword [esp], eax
call fcn.004471c0
mov dword [esp], ebx
call dword [sym.imp.gdi32.dll_DeleteObject]
lea eax, [ebp - 0xc]
sub esp, 4
cmp eax, esi
jne 0x449eeb
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x492b10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 1
call dword [0x4975d4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x493fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00494150
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

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

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x79a180
Capabilities:
Encode data using xor

Disassembly:
jmp 0x79a18a
pushal
call 0x79a190
pop ebp
sub ebp, 0x10
sub ebp, 0x39a180
jmp 0x79a1a6
mov eax, 0x39a180
add eax, ebp
add eax, 0x4c
mov ecx, 0x5aa
mov edx, 0xe806a10b
xor byte [eax], dl
inc eax
dec ecx
jne 0x79a1bd
jmp 0x79a1d0
add dh, 0x80
xor byte [edi], 0xb
or ecx, dword [ebx]
mov cl, dl
or ecx, dword [ebx]
or ecx, dword [eax]
invalid
Function at 0x409e8c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
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 0x409f5f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409f78
push ebx
push 0x409f84
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409f0c
mov al, 0x6a
call fcn.00409ae8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409e60
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409f15
call fcn.00409e60
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f66
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x40a018
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 0x40a0cc
jmp 0x40a0c1
cmp dword [esi + 0x10], 0x1000
jne 0x40a0ad
test byte [esi + 0x15], 1
jne 0x40a0ad
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40a06c
cmp eax, 2
je 0x40a06c
cmp eax, 0x10
je 0x40a06c
cmp eax, 0x20
jne 0x40a081
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 0x40a081
mov bl, 1
xor ebp, ebp
jmp 0x40a092
mov eax, dword [esi]
add eax, ebp
call fcn.0040a010
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40a085
test bl, bl
je 0x40a0ad
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 0x40a0cc
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a044
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

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