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

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x82ca90], ax
mov word [0x82ca94], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x82ca90
mov dword [0x82ca9c], 0x320033
mov dword [0x82caa4], 0x6c006c
mov word [0x82ca96], cx
mov dword [0x82ca98], 0x6c0065
mov dword [0x82caa0], 0x64002e
mov word [0x82ca92], dx
mov word [0x82caa8], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x82ca8c]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x82ca88], eax
mov eax, dword [0x4adadc]
push edx
push eax
mov byte [0x4a8d53], 0x65
mov dword [0x4a8d49], 0x75747269
mov word [0x4a8d4d], 0x6c61
mov byte [0x4a8d48], 0x56
mov word [0x4a8d54], 0x7463
mov byte [0x4a8d56], 0
mov dword [0x4a8d4f], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x4a1c20
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x148c
call fcn.0040cf30
cmp dword [0x82ca8c], 0x37
jne 0x4a1cf5
push 0
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x4046b4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [esp + 4]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0x48c]
push edx
push 0x4046c4
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
push 0x4046ec
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
push 0
lea ecx, [esp + 0xc8c]
push ecx
push 0
push 0x4046f8
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404724
push 0x404740
push 0x404750
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x82da80]
mov dword [esp + 4], edx
mov eax, 0x5d1
add dword [esp + 4], eax
mov eax, dword [esp + 4]
mov cl, byte [eax + esi]
mov edx, dword [0x4adadc]
mov byte [edx + esi], cl
add esp, 0x148c
ret
Function at 0x4a1e90
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x82ca8c]
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [0x4adadc]
shr eax, 3
push edi
test eax, eax
je 0x4a203c
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x4a1ec4
mov esi, dword [esp + 0x18]
cmp dword [0x82ca8c], 0x1c
jne 0x4a1ee1
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x4a7210]
mov ecx, dword [0x4a7214]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [0x4a7218]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x4a721c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x4a1f25
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0x82c9fc], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x82ca8c], 0x1be
lea ebp, [ebx + edi]
jne 0x4a1f7a
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0x82ca8c], 0x979
mov dword [0x82ca00], 0xff6b3619
mov dword [0x82ca04], 0xffffffff
jne 0x4a1fba
mov eax, dword [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add ebx, 0x61c88647
dec dword [esp + 0x1c]
jne 0x4a1f21
cmp dword [0x82ca8c], 0x8d4
jne 0x4a1fef
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0x82ca8c], 0x17
jne 0x4a202b
push 0
push 0
push 0
push 0x404690
push 0x4046a0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x4a1ec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2a
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2e
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xe6
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x98
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf9
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 5
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc8
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x82
add esp, 0x40
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x87
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x75
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x87
push str.Protocol_of_Mind
push 0x512be0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd7
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40633c
pop dword [ebp - 0x3c]
mov eax, 0x40633c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xd2c91701
add dword [ebp - 0x4c], 0x7b892e4a
mov dword [ebp - 0x48], 0x3677ff1f
sub dword [ebp - 0x48], 0x444b2da
mov dword [ebp - 0x44], 0x9cd83649
sub dword [ebp - 0x44], 0x508bf21b
mov dword [ebp - 0x40], 0xb381ac9
add dword [ebp - 0x40], 0xf4c7e537
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x75827271
add eax, 0x8abdfdef
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x3c81f33a
sub dword [ebp - 0x4c], 0xc80f89e4
mov dword [ebp - 0x48], 0xc3826549
sub dword [ebp - 0x48], 0x821603d4
mov dword [ebp - 0x44], 0xc22a8c8a
sub dword [ebp - 0x44], 0x5ebb201e
mov dword [ebp - 0x40], 0x6410aeca
add dword [ebp - 0x40], 0x9bef5136
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x5775f81e
sub eax, 0x5735871e
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x37f3d
push 0
call eax
mov ecx, 0x4d56
xor esi, esi
add esi, eax
mov edi, 0x823c7b35
sub edi, 0x81fb7b35
add edi, dword [ebp - 0x3c]
mov ebx, 0x34834f11
sub ebx, 0x397d223
xor dword [ebp - 0x28], 0x26865fca
mov edx, dword [edi]
sub edx, ebx
add dword [ebp - 0x1c], esi
mov dword [esi], edx
sub dword [ebp - 0x18], edi
add esi, 4
add edi, 4
loop 0x406455
add eax, 0x2546f6f2
add eax, 0xdaba3139
xor ebx, ebx
add ebx, eax
add eax, 0x5a22e91e
add eax, 0xa5dd16e7
mov ecx, 0x6ce28f17
add ecx, 0x935d70e9
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x42d3c0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov esi, ecx
mov eax, dword [0x49503c]
xor eax, ebp
mov dword [ebp - 8], eax
jmp dword [edx*4 + 0x4619dc]

Function at 0x42dbc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x49503c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea edi, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0042d960
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42dc0a
mov word [esi], 0
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004503b0
mov eax, esi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x44], xmm0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ebx, 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x5c]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], eax
mov word [edi], ax
sub esp, 0xc
mov al, byte [ebp - 0x60]
mov byte [esp + 4], al
mov dword [esp + 8], str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov dword [esp], 0x2e
mov ecx, edi
call fcn.00452270
mov dword [ebp - 0x64], 4
cmp dword [ebp - 0x30], ebx
jbe 0x42dc6a
mov eax, dword [ebp - 0x44]
jmp 0x42dc6d
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], ebx
jbe 0x42dc75
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x60]
push ecx
push edx
xor ecx, ecx
push ecx
push 0x10
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x42dc9f
cmp eax, 2
jne 0x42dcb4
mov word [esi], 0
jmp 0x42dcb0
xor eax, eax
cmp dword [ebp - 0x60], 0
setne al
or eax, 0x100
mov word [esi], ax
xor edi, edi
jmp 0x42dcdb
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
mov edx, str.RegistryGetValueBool
push 0xb1
call fcn.0042bc70
add esp, 4
mov word [esi], 0
mov dword [esi + 4], edi
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x42dd01
mov eax, dword [ebp - 0x5c]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jae 0x42dd2d
push edx
push eax
call fcn.0044fbc2
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x42dbf6
mov eax, dword [ebp - 0x44]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jae 0x42dd45
push edx
push eax
call fcn.0044fbc2
add esp, 8
jmp 0x42dbf6
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x42dd5d
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x42dcf7
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x42dd5d
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x42dd1e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
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
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x167e5231
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1d5b0e10
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404050]
mov ebx, eax
add edx, eax
mov eax, 0x404054
call fcn.0040146d
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x40388a
push eax
sub edi, fcn.00403034
push edi
push fcn.00403034
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40159f
mov eax, fcn.00403034
mov ebx, esi
mov edx, edi
call fcn.0040146d
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.004012c9
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.00401c74
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00403034
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x4022ca
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
sub esp, 0x228
xor eax, eax
mov dword [esp + 0x21c], eax
mov dword [esp + 0x220], 0x14
mov eax, dword [esp + 0x21c]
push eax
mov eax, dword [esp + 0x220]
push eax
mov eax, dword [esp + 0x224]
push eax
mov eax, dword [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov eax, dword [esp + 0x21c]
mov word [esp], ax
lea eax, [esp + 0x220]
push eax
lea eax, [esp + 0x20c]
push eax
push 1
push 1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
movzx eax, word [esp + 0x208]
sub eax, 0x47
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x220]
add dword [esp + 0x224], eax
mov eax, dword [esp + 0x224]
add esp, 0x228
pop edx
pop ecx
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x417e32
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.00410b7e
and dword [ebp - 4], 0
cmp dword [0x425d74], 0
mov ebx, eax
jne 0x417ee3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417f94
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x417f94
push eax
call fcn.00410b0c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425d74], eax
call esi
push eax
call fcn.00410b0c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425d78], eax
call esi
push eax
call fcn.00410b0c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425d7c], eax
call esi
push eax
call fcn.00410b0c
pop ecx
mov dword [0x425d84], eax
test eax, eax
je 0x417ee3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410b0c
pop ecx
mov dword [0x425d80], eax
mov eax, dword [0x425d80]
cmp eax, ebx
je 0x417f3b
cmp dword [0x425d84], ebx
je 0x417f3b
push eax
call fcn.00410b87
push dword [0x425d84]
mov esi, eax
call fcn.00410b87
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417f3b
test edi, edi
je 0x417f3b
call esi
test eax, eax
je 0x417f32
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x417f32
test byte [ebp - 0xc], 1
jne 0x417f3b
or dword [ebp + 0x10], 0x200000
jmp 0x417f74
mov eax, dword [0x425d78]
cmp eax, ebx
je 0x417f74
push eax
call fcn.00410b87
pop ecx
test eax, eax
je 0x417f74
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x417f74
mov eax, dword [0x425d7c]
cmp eax, ebx
je 0x417f74
push eax
call fcn.00410b87
pop ecx
test eax, eax
je 0x417f74
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425d74]
call fcn.00410b87
pop ecx
test eax, eax
je 0x417f94
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417f96
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
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
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x936058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9361a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x93607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93606a
add dl, dl
jne 0x936089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9360dc
xor eax, eax
add dl, dl
jne 0x936096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x93617d
add dl, dl
jne 0x9360a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9360d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x936075
mov eax, 1
add dl, dl
jne 0x9360ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9360f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9360e1
sub eax, ebx
mov ebx, 1
jne 0x936128
mov ecx, 1
add dl, dl
jne 0x93610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x936119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x936105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x936075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x93613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x93614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x936136
cmp eax, 0x7d00
jae 0x93616d
cmp eax, 0x500
jb 0x936168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x936075
cmp eax, 0x7f
ja 0x936170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x936075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x93619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x936075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10