joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d4915df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x6d4915ee
pop dword [ebp - 0x50]
mov eax, 0x77c8d0ad
sub eax, 0xa7fbabf
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xe88adf40
sub dword [ebp - 0x60], 0x9a3899f5
mov dword [ebp - 0x5c], 0xad0e6c33
sub dword [ebp - 0x5c], 0x7adb1fee
mov dword [ebp - 0x58], 0x573845e2
add dword [ebp - 0x58], 0xf513fe4c
mov dword [ebp - 0x54], 0xa6f2d871
sub dword [ebp - 0x54], 0xa6f2d871
lea eax, [ebp - 0x60]
push eax
mov eax, 0x5ba5bb6d
add eax, 0x11a375b3
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x12e9b7c8
add dword [ebp - 0x60], 0x6188b18e
mov dword [ebp - 0x5c], 0x78a68190
sub dword [ebp - 0x5c], 0x373a201b
mov dword [ebp - 0x58], 0x130b304b
add dword [ebp - 0x58], 0x50643c21
mov dword [ebp - 0x54], 0xfb08a52
add dword [ebp - 0x54], 0xf04f75ae
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x28af3f40
add eax, 0x4499f1dc
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x35cf4
push 0
call eax
mov ecx, 0xcee2c66f
add ecx, 0x311d7aa3
mov esi, eax
mov edx, 0xfd8a4b7a
sub edx, 0x9040577a
add edx, dword [ebp - 0x50]
mov edi, 0x890e6aa5
add edi, 0xafd0b3c6
add dword [ebp - 0x10], 0xf4290f6a
mov ebx, dword [edx]
xor dword [ebp - 0x30], esi
sub ebx, edi
add dword [ebp - 0x4c], 0xed11aaa5
mov dword [esi], ebx
xor dword [ebp - 0x28], ecx
add esi, 0xe7bc4ad1
sub esi, 0xe7bc4acd
add edx, 0xf3b367fb
sub edx, 0xf3b367f7
loop 0x6d491710
add eax, 0xc6f08d0
add eax, 0xf391ee4b
mov ebx, eax
add eax, 0xbca70d58
add eax, 0x4358f2ad
mov ecx, 0x6d480000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x6d491820
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d49bb70]
jne 0x6d49182a
repz ret
jmp fcn.6d491dab

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
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
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push 0x64
push 0x4054b4
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
call fcn.004010d0
mov eax, dword [esp + 0x34]
push eax
push esi
call fcn.00401160
add esp, 0xc
test eax, eax
jne 0x401037
pop esi
add esp, 0x1c
ret 0x10
push edi
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push 0
push 0
push 0
push str.._install.exe
push str.open
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
call edi
test eax, eax
je 0x4010b6
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push esi
push eax
call ebx
test eax, eax
jne 0x4010a3
lea ecx, [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
call edi
test eax, eax
jne 0x401080
pop ebp
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret 0x10

Function at 0x401160
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x83
push edi
mov dword [0x405518], edi
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [esp + 0xc]
mov dword [0x4054b0], eax
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetBitmapDimensionEx]
mov eax, dword [0x4054b0]
lea edx, [esp + 0x14]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [0x405030], ecx
mov dword [0x405034], edx
call ebx
mov ecx, dword [0x405030]
push 1
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call ebx
mov ecx, dword [0x405034]
push 0
sub eax, ecx
push edi
cdq
push 0
push 0
sub eax, edx
push ecx
mov ecx, dword [0x405030]
sar eax, 1
push ecx
push eax
push esi
push 0x80800000
push 0x40551c
push 0x4054b4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401213
pop edi
pop esi
pop ebx
add esp, 0x20
ret
push 0
push 0x2710
push 1
push esi
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esp + 0x34]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x401f55
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405100
cmp edx, dword [eax]
je 0x401f77
add eax, 8
inc ecx
cmp eax, 0x405190
jl 0x401f68
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405100]
jne 0x4020a5
mov eax, dword [0x405528]
cmp eax, 1
je 0x40207f
test eax, eax
jne 0x401fa8
cmp dword [0x405054], 1
je 0x40207f
cmp edx, 0xfc
je 0x4020a5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401fdf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402500
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402670
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402022
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402670
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4043e8
push edi
call fcn.00403300
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402500
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402510
lea eax, [ebp - 0xa0]
push 0x4043c8
push eax
call fcn.00402510
push dword [esi + 0x405104]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402510
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040326e
add esp, 0x2c
pop edi
jmp 0x4020a5
lea eax, [ebp + 8]
lea esi, [esi + 0x405104]
push 0
push eax
push dword [esi]
call fcn.00402670
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4015c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4122f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x419040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
lea esi, [edi + 0x38]
mov dword [esi], 0
push 0x18
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0
call fcn.0041124e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x40]
mov dword [ebp - 4], 0
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [esi], xmm0
mov dword [eax], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmmword [edi + 0x58], xmm0
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], 7
mov word [edi + 0x58], ax
movups xmmword [edi + 0x70], xmm0
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], 7
mov word [edi + 0x70], ax
mov byte [ebp - 4], 3
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi], eax
mov byte [edi + 0xc], al
mov byte [edi + 0x88], al
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], eax
lea eax, [edi + 0x14]
push eax
mov dword [edi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x401721
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4016d0
sub eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x14]
sar eax, 1
cmp eax, ecx
ja 0x401711
cmp ecx, 7
jbe 0x4016f1
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x1c]
lea esi, [eax + eax]
push esi
push edx
push dword [ebp - 0x14]
mov dword [ecx], eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x401721
push edx
mov byte [ebp - 0x1c], 0
mov ecx, esi
push dword [ebp - 0x1c]
push eax
call fcn.00402250
call fcn.00404c10
cmp eax, 0x68
jl 0x401760
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x401760
push str.GetNamedPipeServerProcessId
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNamedPipeClientProcessId
push esi
mov dword [edi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x90], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x401ec0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x419040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x401fb5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401f50
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x401fa0
push dword [ebp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x401fa0
push esi
push 0x190000
push 3
push esi
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x401fa0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x401f99
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x401f94
push 0
push dword [ebp - 0xc]
push 0x40c
push dword [ebp - 0x10]
push 0x410
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov esi, eax
cmp edi, 0xffffffff
je 0x401fa0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411240
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411240
mov esp, ebp
pop ebp
ret 0x20
Function at 0x405750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4129d5
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x419040]
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
mov edi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push 0
push 0
push 1
push 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
cmp esi, 0xffffffff
je 0x4058bd
mov ebx, dword [ebp + 0xc]
nop dword [eax]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x38]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x405898
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40586b
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x40581a
sub eax, 1
je 0x4058ec
jmp 0x4057d0
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x405898
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x4058ec
push 0
push 0xffffffffffffffff
push str.unexpected_error
lea ecx, [ebp - 0x6c]
call fcn.0040f761
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x54]
call fcn.00405040
push 0x4171f0
jmp 0x4058f9
cmp eax, 0x6d
je 0x4058ec
push 0
push 0xffffffffffffffff
push str.Read_Error
lea ecx, [ebp - 0x6c]
call fcn.0040f761
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x54]
call fcn.00405040
push 0x4171f0
jmp 0x4058f9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00411240
mov esp, ebp
pop ebp
ret 8
push 0
push 0xffffffffffffffff
push str.Failed_to_create_connection
lea ecx, [ebp - 0x6c]
call fcn.0040f761
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.00405040
push 0x4171f0
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea ecx, [ebp - 0x54]
call fcn.004050d0
push 0x4171b8
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x4059a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x419040]
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
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
je 0x405b06
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 1
push 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 8]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
cmp esi, 0xffffffff
je 0x405b1c
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x38]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405a7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x405aa3
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x405a6b
sub eax, 1
jne 0x405a26
jmp 0x405b06
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00411240
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
je 0x405aee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
je 0x405aee
push 0
push 0xffffffffffffffff
push str.Connection_Closed
lea ecx, [ebp - 0x6c]
call fcn.0040f761
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x88]
call fcn.00405040
push 0x4171f0
lea eax, [ebp - 0x88]
jmp 0x405b16
lea ecx, [ebp - 0x88]
call fcn.004050d0
push 0x4171b8
lea eax, [ebp - 0x88]
jmp 0x405b16
lea ecx, [ebp - 0x54]
call fcn.004050d0
push 0x4171b8
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0
push 0xffffffffffffffff
push str.Failed_to_create_connection
lea ecx, [ebp - 0x6c]
call fcn.0040f761
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.00405040
push 0x4171f0
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x410a94
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
push esi
push eax
push 1
push eax
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x410ac9
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
leave
ret
push str.unable_to_create_tls_index
lea ecx, [ebp - 0x1c]
call fcn.00405010
push 0x417174
lea eax, [ebp - 0x1c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x411090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call fcn.0041124e
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x4110ac
mov dword [eax], ecx
jmp 0x4110ae
mov eax, ecx
push ecx
push ecx
push esi
push 0x411120
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret

Function at 0x411db3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x411df2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x411df2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x411df2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x411df2
cmp dword [ecx + 0x74], 0xe
jbe 0x411df2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4acc79ae
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..rdata
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1fc26c2e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sal byte [esi + eax - 1], cl
test dword [edi + edi*8 - 1], esi
dec dword [edi]
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00405d2b
cmp byte [edi + 0x458d5d9a], ch
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x4183f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43ec2c]
jne 0x418400
repz ret
jmp fcn.0041dda6

Function at 0x427643
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.0041d7b5
and dword [ebp - 4], 0
cmp dword [0x442bc8], 0
mov ebx, eax
jne 0x4276f4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4277a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4277a5
push eax
call fcn.0041d743
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x442bc8], eax
call esi
push eax
call fcn.0041d743
mov dword [esp], 0x43596c
push edi
mov dword [0x442bcc], eax
call esi
push eax
call fcn.0041d743
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x442bd0], eax
call esi
push eax
call fcn.0041d743
pop ecx
mov dword [0x442bd8], eax
test eax, eax
je 0x4276f4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d743
pop ecx
mov dword [0x442bd4], eax
mov eax, dword [0x442bd4]
cmp eax, ebx
je 0x42774c
cmp dword [0x442bd8], ebx
je 0x42774c
push eax
call fcn.0041d7be
push dword [0x442bd8]
mov esi, eax
call fcn.0041d7be
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42774c
test edi, edi
je 0x42774c
call esi
test eax, eax
je 0x427743
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x427743
test byte [ebp - 0xc], 1
jne 0x42774c
or dword [ebp + 0x10], 0x200000
jmp 0x427785
mov eax, dword [0x442bcc]
cmp eax, ebx
je 0x427785
push eax
call fcn.0041d7be
pop ecx
test eax, eax
je 0x427785
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x427785
mov eax, dword [0x442bd0]
cmp eax, ebx
je 0x427785
push eax
call fcn.0041d7be
pop ecx
test eax, eax
je 0x427785
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442bc8]
call fcn.0041d7be
pop ecx
test eax, eax
je 0x4277a5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4277a7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10016bcb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10016bda
pop dword [ebp - 0x2c]
mov eax, 0x10016bda
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3d63e
push 0
mov eax, 0x53847d09
add eax, 0xbc7d74d3
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x752fa547
add ecx, 0x8ad0a72b
xor edi, edi
add edi, eax
mov edx, 0x1007e200
add edx, dword [ebp - 0x2c]
mov esi, 0x8d2c4ddb
sub dword [ebp - 4], 0xeebc4c49
mov ebx, dword [edx]
xor dword [ebp - 0x24], 0x33919fda
add ebx, esi
xor dword [ebp - 0x20], 0x838fd5b
mov dword [edi], ebx
add dword [ebp - 0x24], 0xf3088806
add edi, 4
add edx, 0x2aba4d4d
add edx, 0xd545b2b7
loop 0x10016c2a
add eax, 0xc2771b07
add eax, 0x3d8a0994
xor ebx, ebx
add ebx, eax
add eax, 0xfd4a1ec
add eax, 0xf02b5e19
mov ecx, 0x408ceef8
add ecx, 0xcf731108
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x405d8a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dc1
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 0x405d9b
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405d96
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405df2
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 0x405dd4
pop edi
not eax
pop esi
ret 0xc