joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001169
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x1000118c
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000118f
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100011a2
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100011a9
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x100bbc24]
mov ecx, dword [0x100bbc20]
test eax, eax
jne 0x100011c3
test ecx, ecx
je 0x100011d8
mov eax, ecx
mov dword [0x100bbc24], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100011d8
cmp edx, dword [ebp - 4]
jb 0x100011d8
cmp edx, dword [ebp - 8]
jbe 0x100012a9
mov eax, ecx
test ecx, ecx
jmp 0x100011fc
test eax, eax
je 0x100011f7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100011f7
cmp ecx, dword [ebp - 4]
jb 0x100011f7
cmp ecx, dword [ebp - 8]
jbe 0x100012a9
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x100bbc24], eax
jne 0x100011de
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x1000133e
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001229
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000133e
cmp dword [ebp - 0x30], ebx
jne 0x10001248
cmp dword [ebp - 0x34], ebx
jae 0x1000125b
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x10001217
jmp 0x1000133e
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x100bbc24], eax
test eax, eax
je 0x1000133e
mov ecx, dword [0x100bbc20]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x100bbc20], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x1000129b
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10001343
cmp esi, dword [ebp - 8]
ja 0x10001343
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1000dde0
add esp, 0xc
mov eax, esi
jmp 0x10001345
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100012ea
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10001343
cmp dword [ebp - 0x14], ebx
jne 0x10001335
cmp dword [ebp - 0x18], ebx
jb 0x10001335
movzx ecx, si
test ecx, ecx
je 0x10001319
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x100bbc24], eax
test eax, eax
jne 0x10001277
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x100012d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000137d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x100bbc2c], edi
je 0x10001390
mov eax, 0x10dd
jmp 0x100013eb
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x100bbc2c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10001389
push esi
mov esi, dword [0x100bbc20]
mov dword [0x100bbc28], edi
mov dword [0x100bbc3c], edi
mov dword [0x100bbc38], edi
mov dword [0x100bbc30], edi
mov dword [0x100bbc34], edi
jmp 0x100013e4
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x100013ce
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x100013ee
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100bbc2c], eax
je 0x10001404
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x100bbc3c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1000144f
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x10001440
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x10001440
call fcn.1000134a
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.1000beb4
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001413
mov dword [0x100bbc3c], ebx
call fcn.10001142
mov esi, dword [0x100bbc38]
cmp esi, ebx
je 0x1000147c
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.1000beb4
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001464
pop edi
pop esi
mov dword [0x100bbc38], ebx
mov dword [0x100bbc2c], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x100016d3
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x100bbc30]
test eax, eax
jne 0x10001743
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100016ef
xor eax, eax
jmp 0x10001742
push esi
push 8
call fcn.1000b2c4
mov esi, eax
pop ecx
test esi, esi
jne 0x10001703
push 8
pop edi
jmp 0x1000171e
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000172f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.1000beb4
pop ecx
and dword [0x100bbc34], 0
mov dword [0x100bbc30], edi
mov eax, edi
jmp 0x10001741
mov eax, dword [0x100bbc38]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x100bbc38], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x10002470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10002497
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10001f50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100024b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1002f400]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1000dde0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.100024a0
push dword [eax + 4]
push dword [eax]
call fcn.10013d0b
add esp, 0x1c
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b194
mov esp, ebp
pop ebp
ret
Function at 0x100078b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x1002f400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0xa90]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10007924
push str.Error_opening_Steam_key_n
jmp 0x100079e4
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0xa90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa90]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100079df
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x100079df
shr ecx, 1
mov eax, esi
je 0x10007998
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x10007993
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x10007980
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.100077b0
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.100074d0
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b194
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call fcn.10014525
add esp, 4
push eax
call fcn.10007a10
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.1000b194
mov esp, ebp
pop ebp
ret
Function at 0x10007a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1002f400]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x10022538]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x1002253c]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x10022520]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x10022530]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10007b50
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x10007b19
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x10007b66
inc ax
mov word [ebp - 0xa], ax
jmp 0x10007b2f
cmp eax, 0xe7
jne 0x10007b66
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x10007b66
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10007b00
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b194
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b194
mov esp, ebp
pop ebp
ret

Function at 0x100149b9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100149f8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100149f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100149f8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100149f8
cmp dword [ecx + 0x74], 0xe
jbe 0x100149f8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1001625f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026a44
push 0x10026a3c
push str.FlsAlloc
push 0x1f
call fcn.1001613b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016293
push dword [ebp + 8]
mov ecx, esi
call dword [0x100221b8]
call esi
jmp 0x10016299
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100162dd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026a54
push 0x10026a4c
push str.FlsGetValue
push 0x21
call fcn.1001613b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016314
push dword [ebp + 8]
mov ecx, esi
call dword [0x100221b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001631c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10026a5c
push 0x10026a54
push str.FlsSetValue
push 0x22
call fcn.1001613b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016356
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x100221b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10019f72
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001a00f
push ebx
push esi
call fcn.10019f3b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10019ecf
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10019fbc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001a00e
push edi
push eax
call fcn.10016524
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10019fdc
call fcn.100164ea
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001a00d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10019ecf
add esp, 0x20
test eax, eax
jne 0x10019ffb
push edi
call fcn.100164ea
jmp 0x1001a003
push ebx
call fcn.100164ea
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10020f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10020f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10020f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4028a4
Capabilities:
Check if file exists
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x404034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call sub.msvcrt.dll_memset
add esp, 0xc
test esi, esi
je 0x40299d
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x210]
push eax
push 0x20019
push edi
push 0x4013b8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402989
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x206
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x4011fc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402989
cmp dword [ebp - 0x218], 2
lea eax, [ebp - 0x20c]
jne 0x40296d
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x214], eax
jmp 0x402989
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402989
push ecx
lea eax, [ebp - 0x20c]
push eax
push ecx
mov ecx, esi
call fcn.00401a60
cmp dword [ebp - 0x210], edi
je 0x40299d
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004032b0
leave
ret
Function at 0x403030
Capabilities:
Terminate process

Disassembly:
call fcn.00403675
jmp 0x40303a
push 0x58
push 0x403838
call fcn.00403728
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043b4
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40308c
cmp eax, esi
jne 0x40307f
xor esi, esi
inc esi
mov edi, esi
jmp 0x40308f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403063
xor esi, esi
inc esi
cmp dword [0x4043b8], esi
jne 0x4030a1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4030db
cmp dword [0x4043b8], ebx
jne 0x4030d5
mov dword [0x4043b8], esi
push 0x4011ac
push 0x4011a0
call fcn.00403219
pop ecx
pop ecx
test eax, eax
je 0x4030db
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403209
mov dword [0x404044], esi
cmp dword [0x4043b8], esi
jne 0x4030fe
push 0x40119c
push 0x401194
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043b8], 2
test edi, edi
jne 0x40310b
xor eax, eax
mov ecx, 0x4043b4
xchg dword [ecx], eax
cmp dword [0x4043bc], 0
je 0x403137
push 0x4043bc
call fcn.00403580
pop ecx
test eax, eax
je 0x403137
push ebx
push 2
push ebx
mov esi, dword [0x4043bc]
mov ecx, esi
call dword [0x405130]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x403195
test cl, cl
je 0x403164
test edi, edi
jne 0x403195
test cl, cl
je 0x403164
cmp cl, 0x20
ja 0x403164
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x403153
test byte [ebp - 0x3c], 1
je 0x403170
movzx eax, word [ebp - 0x38]
jmp 0x403173
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x404040], eax
cmp dword [0x404058], 0
jne 0x4031ee
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x4031a6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4031b9
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x403144
cmp dword [0x404044], 0
jne 0x403202
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404040]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403464
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403858
call fcn.00403728
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4034c4
cmp eax, 0xffffffff
je 0x4034c4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4034bd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4034bd
cmp edx, 0x10000000
jae 0x4034bd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4034ba
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403530
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 0x40356e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403566
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403570
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403556
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403640
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 0x403671
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403671
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x403671
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e008]
jne 0x401010
repz ret
jmp fcn.0040189a

Function at 0x40923e
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.004053ae
and dword [ebp - 4], 0
cmp dword [0x810774], 0
mov ebx, eax
jne 0x4092ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093a0
push eax
call fcn.0040533c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x810774], eax
call esi
push eax
call fcn.0040533c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x810778], eax
call esi
push eax
call fcn.0040533c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81077c], eax
call esi
push eax
call fcn.0040533c
pop ecx
mov dword [0x810784], eax
test eax, eax
je 0x4092ef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040533c
pop ecx
mov dword [0x810780], eax
mov eax, dword [0x810780]
cmp eax, ebx
je 0x409347
cmp dword [0x810784], ebx
je 0x409347
push eax
call fcn.004053b7
push dword [0x810784]
mov esi, eax
call fcn.004053b7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409347
test edi, edi
je 0x409347
call esi
test eax, eax
je 0x40933e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40933e
test byte [ebp - 0xc], 1
jne 0x409347
or dword [ebp + 0x10], 0x200000
jmp 0x409380
mov eax, dword [0x810778]
cmp eax, ebx
je 0x409380
push eax
call fcn.004053b7
pop ecx
test eax, eax
je 0x409380
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409380
mov eax, dword [0x81077c]
cmp eax, ebx
je 0x409380
push eax
call fcn.004053b7
pop ecx
test eax, eax
je 0x409380
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x810774]
call fcn.004053b7
pop ecx
test eax, eax
je 0x4093a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b760
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x2ec91b4], 0x930
jne 0x40b77d
push str.hevevutodorayeyehuxupiw
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x2ec91b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x2ec8ed0], eax
jne 0x40b7a3
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x556de4
Capabilities:
Encode data using xor

Disassembly:
cmc
clc
mov ebx, 0xdc5d296e
xchg ebp, eax
dec ecx
insd dword es:[edi], dx
cdq
aas
adc al, 0xdd
insb byte es:[edi], dx
xchg edi, eax
sub eax, 0x824bb62f
das
or dword [edx + 0xe], 0x82768d29
aam 0x89
cmpsb byte [esi], byte es:[edi]
mov byte [0xaab0b1a7], al
cmpsb byte [esi], byte es:[edi]
aad 0x98
push ebx
sbb eax, 0xe022a513
cmp al, cl
push esi
mov ch, 0xd2
push ebp
xlatb
push 0x4a52a8ff
mov bl, 0xe9
cmp bh, 0xc9
dec ecx
das
or dword [eax + 0xa82a345], 0xffffff90
test al, 0x7a
xor dl, byte [edx]
inc edi
test dword [edi], esp
mov byte [edx + 0x1fbdce54], ah
dec eax
mov edx, 0xee6a9d65
bound ebx, qword [bx + si]
xchg edi, eax
push 0xa50ba92
jecxz 0x556d4d
jmp 0x556dc1
or dword [edi - 0x657d7073], edx
or dword [edi - 0x16afedef], esi
adc dl, byte [eax - 0x17]
inc ebp
test esp, edi
jp 0x556d8b
and byte [esi - 0x5edf448d], dh
add dl, byte [edx + 0x111501b9]
inc ecx
ret 0xce1f
scasb al, byte es:[edi]
stc
cmpsb byte [esi], byte es:[edi]
xchg esp, eax
xchg esi, eax
or dword [ebx + 0x58], ecx
mov cl, 0x7f
dec ecx
dec ecx
movsd dword es:[di], dword [si]
xchg ebp, eax
or byte [ebx - 0x2e], dh
cmp eax, 0x3a95c221
xchg ebp, eax
cmpsd dword [esi], dword es:[edi]
xchg byte [edx - 0x47], ah
mov bh, 0x98
arpl dx, sp
push 0xe2c525f4
aad 0x90
jecxz 0x556e87
clc
lodsb al, byte [esi]
jecxz 0x556e80
js 0x556def
jb 0x556e21
loopne 0x556dca
or byte [bx + di], dl
xchg byte [ecx], dh
jae 0x556e56
loope 0x556e6a
cmpsb byte [esi], byte es:[edi]
cld
dec eax
enter 0xffffffffffffa2b3, 0xffffffffffffff93
xchg ebx, eax
or eax, 0x9d083102
sub al, 0x22
movsd dword es:[edi], dword [esi]
inc ebp
out dx, al
or ebx, ebx
retf
xlatb
dec esp
ljmp 0x168c
mov ebx, 0xa8daa654
sub eax, 0x182dd899
and eax, 0x553e5d39
sbb byte [0x553e5d39], ah
xchg ebp, eax
xor edi, eax
jno 0x556e27
or ecx, dword [edx - 0x6b982772]
mov ds, eax
xchg esp, eax
fptan
in eax, dx
inc esi
mov bh, byte [edi]
or byte [edx - 0x1d], 0x64
shr dword [ecx], 0x43
jle 0x556e73
call 0xefbd376a
cli
mov ah, 0x7e
invalid