joyce8/EMBER2024-capa huggingface dataset:
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 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x1983298d
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x49416bd2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41aecd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x41aedc
pop dword [ebp - 0x30]
mov eax, 0xc5bf1cef
add eax, 0x3a8291ed
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x383b4
push 0
mov eax, 0x9f3d6ef8
add eax, 0x61055134
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0xe465afe2
add ecx, 0x1b9a93d0
mov edi, eax
mov ebx, 0xe1025683
add ebx, 0x1f41617d
add ebx, dword [ebp - 0x30]
mov edx, 0x9189a74e
add edx, 0xa21ff84d
sub dword [ebp - 0x20], 0x57a7be86
mov esi, dword [ebx]
sub dword [ebp - 0x28], edi
xor esi, edx
add dword [ebp - 4], 0xfd25b921
mov dword [edi], esi
add dword [ebp - 4], 0xdcd2de91
add edi, 4
add ebx, 0xd87d2ba3
sub ebx, 0xd87d2b9f
loop 0x41af3b
add eax, 0x7ecf6b13
sub eax, 0x7ece6978
mov ebx, eax
add eax, 0xd57bcd02
add eax, 0x2a843303
mov ecx, 0x58a91441
sub ecx, 0x58691441
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x421730
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x42176d
push str.SetDefaultDllDirectories
push 0x42c874
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x42176d
push 0xc00
call eax
test eax, eax
jne 0x421806
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x421806
cmp eax, 0x104
ja 0x421806
cmp word [esp + eax*2 + 6], 0x5c
je 0x42179c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x421806
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x4217db
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x4217c7
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x4217bc
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x401029
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x43bef0]
and dword [ebp - 8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43bef4]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.00401022
mov eax, dword [0x43bef8]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x43befc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [0x24598cc]
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x18]
cmp eax, 0xfa9
jne 0x40109f
mov dword [0x24598c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ad
and dword [0x2459354], 0
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, ecx
sub edi, eax
cmp dword [0x24598cc], 0xc
mov dword [0x24598c4], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010fd
lea eax, [ebp - 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
lea eax, [ebp - 0x828]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x1c]
add ecx, edi
xor eax, ecx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401076
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret

Function at 0x40113b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x24598cc]
mov ecx, dword [0x2459358]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011f6
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x24598cc], 0x959
jne 0x4011e5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401029
add ebx, 8
dec edi
jne 0x401163
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4014a2
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
xor esi, esi
cmp dword [0x24598cc], 0x400
push edi
jne 0x4014ff
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
call fcn.00401639
push esi
push esi
call fcn.0040176f
push esi
call fcn.00401d81
push esi
push esi
call fcn.00401bcc
push esi
call fcn.00401e17
push esi
push esi
call fcn.00401673
add esp, 0x24
xor edi, edi
cmp edi, 0x16cda
jge 0x401517
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5bee
jg 0x40153c
inc edi
cmp edi, 0x30053
jl 0x401501
mov eax, dword [0x43c33c]
mov dword [0x24598cc], eax
call fcn.004011f9
mov edi, 0x3078f
cmp dword [0x24598cc], 0x51f
jne 0x40156a
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x401550
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x405e1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b678]
jne 0x405e25
repz ret
jmp fcn.00407c5a
Function at 0x407460
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404a33
and dword [ebp - 0x14], 0
cmp dword [0x446e90], 0
mov dword [ebp - 0x18], eax
jne 0x407513
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4075bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4075bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x446e90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x446e94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x446e98], eax
call edi
push eax
call esi
mov dword [0x446ea0], eax
test eax, eax
je 0x407513
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x446e9c], eax
mov eax, dword [0x446e9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40756c
cmp dword [0x446ea0], ecx
je 0x40756c
push eax
call esi
push dword [0x446ea0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40756c
test ebx, ebx
je 0x40756c
call edi
test eax, eax
je 0x407563
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407563
test byte [ebp - 8], 1
jne 0x40756c
or dword [ebp + 0x10], 0x200000
jmp 0x40759f
mov eax, dword [0x446e94]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40759f
mov eax, dword [0x446e98]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x446e90]
call esi
test eax, eax
je 0x4075bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4075bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405e1b
leave
ret
Function at 0x404cf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405150
mov byte [esp], al
cmp byte [esp], 0
jne 0x404e79
test edi, edi
je 0x404e79
mov byte [esp + 1], 0
test ebp, ebp
jle 0x404db9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x404d94
cmp edi, 0xffffffff
je 0x404d55
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x404d55
mov byte [esp], 0
jmp 0x404e79
cmp dword [esi], 1
jg 0x404d94
cmp dword [esi], 0
jne 0x404d86
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x404d86
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x404e79
lea eax, [esp + 0xc]
call fcn.004049b4
dec ebp
test ebp, ebp
jg 0x404d3a
cmp edi, 0xffffffff
je 0x404db9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x404db7
mov byte [esp], 0
jmp 0x404e79
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x404cfe
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x404db9
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00404ee8
mov edx, eax
mov ebx, dword [0x42e8e0]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x404e1d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x404e1b
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x404e1d
xor edi, edi
cmp byte [esp], 0
je 0x404e43
mov ebx, dword [esi]
test bl, 1
jne 0x404e59
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x404e23
mov byte [esp + 1], 1
jmp 0x404e59
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x404e43
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x404dd0
cmp byte [esp], 0
je 0x404e79
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405884
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x430b00
cmp dword [ebp + 0xc], 2
jl 0x405898
mov ebx, 0x430b30
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x4058d0
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x4020ec
mov dword [0x42e018], eax
mov eax, 0x4020f4
mov dword [0x42e01c], eax
mov eax, ebx
call fcn.00405768
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x405905
cmp al, 3
jge 0x405905
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x405916
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x405921
call dword [ecx + eax*4]
cmp dword [0x42e028], 0
jne 0x405937
mov byte [0x42e030], 1
fnstcw word [0x42d014]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00405a6c
call fcn.00405818
ret 4

Function at 0x4059d4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42e040], 0
je 0x405a3b
cmp word [0x42e32c], 0xd7b2
jne 0x4059fd
cmp dword [0x42e334], 0
jbe 0x4059fd
mov eax, 0x42e328
call dword [0x42e344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x405a68
call fcn.00405ed8
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42d01e], 0
jne 0x405a57
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408268
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x4014eb
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x2443ef4], 0x400
push edi
jne 0x401566
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push str.nihunigufemakulidoyudu
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
push esi
call fcn.00401e96
push esi
push esi
call fcn.00401839
push esi
call fcn.00401e31
push esi
call fcn.00402130
push esi
push esi
call fcn.00401c7c
push esi
call fcn.004021a4
push esi
push esi
call fcn.0040173d
push esi
call fcn.00401f43
add esp, 0x30
xor edi, edi
cmp edi, 0x16d2a
jge 0x40157b
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x40159f
inc edi
cmp edi, 0x3011b
jl 0x401568
mov eax, dword [0x426864]
mov dword [0x2443ef4], eax
call fcn.0040120c
mov edi, 0x2ec37
cmp dword [0x2443ef4], 0x51f
jne 0x4015cb
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x4015b3
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x40785e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423cfc]
jne 0x407868
repz ret
jmp fcn.00409826
Function at 0x408ab6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423cfc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405c7e
and dword [ebp - 0x14], 0
cmp dword [0x4314bc], 0
mov dword [ebp - 0x18], eax
jne 0x408b69
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408c11
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408c11
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4314bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4314c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4314c4], eax
call edi
push eax
call esi
mov dword [0x4314cc], eax
test eax, eax
je 0x408b69
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4314c8], eax
mov eax, dword [0x4314c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408bc2
cmp dword [0x4314cc], ecx
je 0x408bc2
push eax
call esi
push dword [0x4314cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408bc2
test ebx, ebx
je 0x408bc2
call edi
test eax, eax
je 0x408bb9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408bb9
test byte [ebp - 8], 1
jne 0x408bc2
or dword [ebp + 0x10], 0x200000
jmp 0x408bf5
mov eax, dword [0x4314c0]
cmp eax, dword [ebp - 0x18]
je 0x408bf5
push eax
call esi
test eax, eax
je 0x408bf5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408bf5
mov eax, dword [0x4314c4]
cmp eax, dword [ebp - 0x18]
je 0x408bf5
push eax
call esi
test eax, eax
je 0x408bf5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4314bc]
call esi
test eax, eax
je 0x408c11
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408c13
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040785e
leave
ret
Function at 0x40c708
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x44a684], eax
xor eax, eax
inc eax
mov ecx, dword [eax*4 + 0x44a680]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x44a684], edx
cmp eax, 0x26f
jl 0x40c70f
mov dword [0x43ba5c], 0x270
ret

Function at 0x40c740
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
inc eax
mov ecx, dword [eax*4 + 0x44a688]
mov ebx, dword [eax*4 + 0x44a684]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x44acb8]
mov dword [eax*4 + 0x44a684], edx
cmp eax, 0xe2
jl 0x40c746
mov eax, 0xe2
inc eax
mov ecx, dword [eax*4 + 0x44a688]
mov ebx, dword [eax*4 + 0x44a684]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x44a2f8]
mov dword [eax*4 + 0x44a684], edx
cmp eax, 0x26e
jl 0x40c78e
mov edx, dword [0x44a684]
mov ecx, dword [0x44b040]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x44acb4]
mov dword [0x44b040], eax
mov dword [0x43ba5c], 0
pop ebx
ret

Function at 0x40dfd4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x43b140]
cmp ax, 0xcb
je 0x40e0c9
cmp ax, 0xcc
je 0x40e0c9
mov ecx, 0x44b118
mov edx, dword [0x44b260]
test edx, edx
je 0x40e008
mov eax, dword [ecx]
call edx
mov ebx, eax
jmp 0x40e00b
lea ebx, [ecx + 4]
cmp word [0x44b114], 0
jle 0x40e02d
mov eax, 0x44b0fc
call fcn.0040e208
mov eax, ebx
call fcn.0040dc24
mov eax, ebx
call fcn.0040dc84
mov edi, dword [ebx]
jmp 0x40e04b
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40e046
mov edx, edi
mov eax, ebx
call fcn.0040d1f8
jmp 0x40e049
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x40e031
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x44b114], 0
jle 0x40e0c9
mov edx, 0x44b044
mov eax, ebx
call fcn.0040d308
mov edi, eax
test edi, edi
je 0x40e09f
mov eax, dword [0x44b0d8]
mov dword [edi + 0xc], eax
cmp dword [0x44b0d8], 0
je 0x40e094
mov eax, dword [0x44b0d8]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x44b0d8], eax
dec word [0x44b114]
cmp word [0x44b114], 0
sete bl
mov eax, 0x44b0fc
call fcn.0040e218
test bl, bl
je 0x40e0c9
mov eax, 0x44b0fc
call fcn.0040e200
pop edi
pop esi
pop ebx
ret