joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9233
Capabilities:
Log keystrokes

Disassembly:
push 0x28
mov eax, 0x4e2069
call fcn.004c74e0
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0xc]
xor edi, edi
add eax, 0xffffff00
mov ecx, 0xff
inc edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
cmp eax, 7
ja case.default.0x4a9215
movzx eax, byte [eax + 0x4a9314]
jmp dword [eax*4 + 0x4a930c]
mov eax, dword [esi + 0x10]
push 2
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
mov dword [ebp - 0x14], eax
jmp case.default.0x4a9215
movzx eax, word [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
shr eax, 0x10
and eax, ecx
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [ebp - 0x10], eax
mov esi, dword [esi + 0xc]
sub esi, 0x100
je 0x4a926e
dec esi
je 0x4a9269
sub esi, 3
je 0x4a926e
dec esi
je 0x4a9269
or dword [ebp + 0xc], 0xffffffff
jmp 0x4a9271
mov dword [ebp + 0xc], edi
jmp 0x4a9271
mov dword [ebp + 0xc], ebx
lea eax, [ebp - 0x24]
push eax
call fcn.004a86f0
pop ecx
mov edx, dword [eax]
mov ecx, eax
mov dword [ebp - 4], edi
call dword [edx + 4]
push eax
push dword [ebp - 0x10]
call fcn.004a881c
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
call fcn.00477a0c
lea eax, [ebp - 0x34]
push eax
call fcn.004a8754
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 2
call fcn.004a86f0
pop ecx
pop ecx
mov ebx, eax
push dword [ebp - 0x18]
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax + 4]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp + 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00478897
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
call fcn.00477a0c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00477ad0
mov eax, dword [ebp + 8]
call fcn.004c757f
ret

Function at 0x4aa027
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [eax]
push dword [ebp + 0xc]
movzx eax, word [eax + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4aa096
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
test eax, eax
jle 0x4aa095
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4aa095
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4aa08e
push dword [edi]
call fcn.004c7080
push dword [edi]
mov dword [ebp - 4], eax
push esi
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x4acfca
Capabilities:
Get graphical window text

Disassembly:
push 0xc
mov eax, 0x4e278c
call fcn.004c74e0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
push dword [esi + 0x48]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x4ad058
lea edi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c7080
pop ecx
push edi
push eax
push dword [esi + 0x48]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004a85d3
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_class_ScCore::String_const__]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push dword [ebp - 0x10]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp + 8]
call fcn.004c757f
ret 4

Function at 0x4aee5e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push 1
call dword [eax + 0x160]
mov ecx, esi
pop esi
jmp method.ScriptUI::Win32OS_PanelWidget.virtual_40

Function at 0x4bd88d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, ecx
push 0xb0
push dword [esi + 0x48]
call edi
mov eax, dword [esi]
xor ebx, ebx
push 0xe
mov ecx, esi
mov dword [ebp - 4], ebx
call dword [eax + 0x1d4]
test eax, eax
jle 0x4bd94d
lea ebx, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c7080
pop ecx
push eax
push ebx
push 0xd
push dword [esi + 0x48]
mov dword [ebp - 8], eax
call edi
mov edx, dword [ebp - 0xc]
xor eax, eax
test edx, edx
je 0x4bd919
lea esi, [edx - 1]
cmp eax, esi
ja 0x4bd914
mov ecx, dword [ebp - 8]
cmp word [ecx + eax*2], 0xd
jne 0x4bd914
cmp word [ecx + eax*2 + 2], 0xa
jne 0x4bd914
inc dword [ebp - 4]
inc eax
cmp eax, edx
jb 0x4bd8fb
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov ecx, edx
cmp edx, esi
jae 0x4bd944
lea edx, [esi - 1]
cmp ecx, edx
ja 0x4bd93f
mov eax, dword [ebp - 8]
cmp word [eax + ecx*2], 0xd
jne 0x4bd93f
cmp word [eax + ecx*2 + 2], 0xa
jne 0x4bd93f
inc ebx
inc ecx
cmp ecx, esi
jb 0x4bd928
push dword [ebp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
pop edi
sub eax, ebx
pop esi
mov dword [ecx], eax
pop ebx
leave
ret 8
Function at 0x4bd969
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
push 0xe
mov dword [ebp - 4], edi
call dword [eax + 0x1d4]
cmp eax, edi
jle 0x4bda09
push ebx
lea edi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c7080
pop ecx
mov ebx, eax
push ebx
push edi
push 0xd
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
je 0x4bd9d9
lea edx, [ecx - 1]
cmp eax, edx
ja 0x4bd9d4
cmp word [ebx + eax*2], 0xd
jne 0x4bd9d4
cmp word [ebx + eax*2 + 2], 0xa
jne 0x4bd9d4
inc dword [ebp - 4]
inc eax
cmp eax, ecx
jb 0x4bd9be
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, edx
jae 0x4bda01
lea ecx, [edx - 1]
cmp eax, ecx
ja 0x4bd9fc
cmp word [ebx + eax*2], 0xd
jne 0x4bd9fc
cmp word [ebx + eax*2 + 2], 0xa
jne 0x4bd9fc
inc edi
inc eax
cmp eax, edx
jb 0x4bd9e8
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
pop ebx
add edi, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add edx, dword [ebp + 8]
mov eax, dword [esi]
push 0
push edi
push edx
push 0xb1
mov ecx, esi
call dword [eax + 0x1dc]
pop edi
pop esi
leave
ret 8

Function at 0x4bda2b
Capabilities:
Get graphical window text

Disassembly:
push 8
mov eax, 0x4ddfa8
call fcn.004c74e0
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_void_]
mov eax, dword [edi]
push 0xe
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 1
call dword [eax + 0x1d4]
cmp eax, esi
jle 0x4bdac4
lea ebx, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c7080
pop ecx
mov esi, eax
push esi
push ebx
push 0xd
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004a85d3
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_class_ScCore::String____thiscall_ScCore::String::operator_class_ScCore::String_const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp + 8]
call fcn.004c757f
ret 4
Function at 0x4c708b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54c000]
jne 0x4c7095
repz ret
jmp fcn.004c7a5e
Function at 0x9ee740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9ee78c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9ee752
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9ee7f0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9ee842
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9ee848
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa06d37
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a069f7

Function at 0xa0bb31
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a0b9b0

Function at 0xa110e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa1110d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa1110d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4b4e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
jmp 0x4b4e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b4e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4e70
mov eax, 1
add ebx, ebx
jne 0x4b4e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b4ea4
jne 0x4b4ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4ec3
dec eax
add ebx, ebx
jne 0x4b4eb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b4e88
add ebx, ebx
jne 0x4b4ebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b4f15
xor ecx, ecx
sub eax, 3
jb 0x4b4edb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b4f4a
sar eax, 1
mov ebp, eax
jmp 0x4b4ee6
add ebx, ebx
jne 0x4b4ee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4eb4
inc ecx
add ebx, ebx
jne 0x4b4ef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4eb4
add ebx, ebx
jne 0x4b4f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b4ef6
jne 0x4b4f12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b4ef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b4f34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b4f26
jmp 0x4b4e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b4f34
add edi, ecx
jmp 0x4b4e76
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b4f52
cmp byte [edi], 0x13
jne 0x4b4f52
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 0x4b4f57
lea edi, [esi + 0xb0000]
mov eax, dword [edi]
or eax, eax
je 0x4b4fcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb820c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8360]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b4f84
mov ecx, edi
jns 0x4b4fb3
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 + 0xb8364]
or eax, eax
je 0x4b4fc9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b4fa1
call dword [esi + 0xb8374]
mov ebp, dword [esi + 0xb8368]
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 0x4b5003
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x583d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x595568], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x583e3a
cmp dword [0x595564], 0
jne 0x583e3a
cmp dword [0x595764], 0
je 0x583df4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00583730
add esp, 8
mov ebx, eax
test eax, eax
jne 0x583dda
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00583730
add esp, 8
mov ebx, eax
test eax, eax
jne 0x583dda
lea ebx, [ebp - 0x84]
jmp 0x583ddb
inc ebx
call fcn.00583d18
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x583e75
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x59556c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0057b360
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x59556f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x583e75
cmp dword [0x595564], 0
je 0x583e54
cmp dword [0x595564], 0xffffffff
je 0x583e75
push esi
call dword [0x595564]
pop ecx
mov eax, dword [0x595568]
test eax, eax
je 0x583e75
cmp dword [0x595568], 0xffffffff
je 0x583e75
cmp byte [eax], 0
je 0x583e75
push esi
push eax
call fcn.00583c78
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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
mov ecx, 0x69b51b81
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x115972b3
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4017c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x4018a0
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4018a0
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40180a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x401811
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4017f0
jmp 0x401813
mov esi, 0x1505
jmp 0x401813
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x4018a0
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401844
inc edi
dec ebx
je 0x40189e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40189e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x401840
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00408610
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401840
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.00408630
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x401840
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x4018a0
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4018b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4019b1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4019b1
push ebx
call fcn.00408610
add esp, 4
test eax, eax
je 0x40190a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401911
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4018f0
jmp 0x401913
mov esi, 0x1505
jmp 0x401913
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x4019b1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401944
inc ebp
dec ebx
je 0x4019af
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4019af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401940
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408610
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401940
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408630
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401940
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4019af
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4019b1
mov edi, dword [eax + 8]
jmp 0x4019b1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret