joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100757d0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x100ab008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x10075835
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10075810
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10075835
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1007b6f9
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1007b6f9
add esp, 8
ret 4

Function at 0x10076b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088af0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100ab008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
test esi, esi
je 0x10076c3f
cmp byte [esi + 0x54], 0
je 0x10076c3f
add esi, 0x1c
xor bl, bl
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], bl
test esi, esi
je 0x10076b80
mov eax, dword [esi]
test eax, eax
je 0x10076b7d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10076b74
cmp eax, 0x80
je 0x10076b74
xor bl, bl
jmp 0x10076b7a
mov byte [esi + 4], 1
mov bl, 1
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x3c], bl
push ecx
mov edx, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1006f310
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x10076bb7
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10076c05
push 2
push 0
push 0
push edi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.1000d620
mov dword [ebp - 4], 2
test esi, esi
je 0x10076c31
test bl, bl
je 0x10076c31
mov eax, dword [esi]
test eax, eax
je 0x10076c2d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007b6f9
mov esp, ebp
pop ebp
ret 4
Function at 0x100797d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088ca8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100ab008]
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 [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10079813
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.10074630
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1007983c
lea eax, [esi + 8]
jmp 0x1007983e
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x1007984e
cmp dword [ebx + 0x14], 8
jb 0x10079850
mov ebx, dword [ebx]
jmp 0x10079850
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x10079871
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10079871
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1007989a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100798af
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1007b73a
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
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.1007b6f9
mov esp, ebp
pop ebp
ret 4

Function at 0x10079cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088de5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100ab008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1050
call fcn.1007b70a
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push 0x1050
push 0
push esi
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + 0x44]
mov dword [esi], 0
mov eax, ecx
mov dword [esi + 4], 0
neg eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edx, [esi + 0x1044]
mov dword [esi + 0x10], 0
and eax, 3
mov dword [esi + 0x14], 0
add esp, 0x10
mov dword [esi + 0x18], 0
add eax, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [edx], 0
mov dword [esi + 0x1048], 0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov byte [ebp - 4], 2
mov dword [esi + 0x104c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp 0x100027ff

Function at 0x100094df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
idiv bh
call [ecx + eax*4 - 0x46221d3f]
or byte [ebp + 0x7c879c51], bl
and al, 4

Function at 0x1000e2c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001801c]
jne 0x1000e2ca
repz ret
jmp fcn.1000e54e

Function at 0x100104f9
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.1000e9c1
and dword [ebp - 4], 0
cmp dword [0x1003a038], 0
mov ebx, eax
jne 0x100105aa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001065b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001065b
push eax
call fcn.1000e94f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003a038], eax
call esi
push eax
call fcn.1000e94f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003a03c], eax
call esi
push eax
call fcn.1000e94f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003a040], eax
call esi
push eax
call fcn.1000e94f
pop ecx
mov dword [0x1003a048], eax
test eax, eax
je 0x100105aa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000e94f
pop ecx
mov dword [0x1003a044], eax
mov eax, dword [0x1003a044]
cmp eax, ebx
je 0x10010602
cmp dword [0x1003a048], ebx
je 0x10010602
push eax
call fcn.1000e9ca
push dword [0x1003a048]
mov esi, eax
call fcn.1000e9ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10010602
test edi, edi
je 0x10010602
call esi
test eax, eax
je 0x100105f9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100105f9
test byte [ebp - 0xc], 1
jne 0x10010602
or dword [ebp + 0x10], 0x200000
jmp 0x1001063b
mov eax, dword [0x1003a03c]
cmp eax, ebx
je 0x1001063b
push eax
call fcn.1000e9ca
pop ecx
test eax, eax
je 0x1001063b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001063b
mov eax, dword [0x1003a040]
cmp eax, ebx
je 0x1001063b
push eax
call fcn.1000e9ca
pop ecx
test eax, eax
je 0x1001063b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003a038]
call fcn.1000e9ca
pop ecx
test eax, eax
je 0x1001065b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001065d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41dea9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x41dea9
lcall 0x5de5, 0x8b10c483
jmp loc.011815c4
Function at 0x68f47771
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
and byte [ebp - 0x354], 0
and byte [ebp - 0x353], 0
cld
invalid
inc dword [eax]
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov al, 0xfc
invalid
jmp dword [edx - 0x3a]
test dword [ecx + 0x40fffffc], esi
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
jne 0x68f47739
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
jne 0x68f47739
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.68f46f37
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.68f46eec
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.68f46f37
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.68f46eec
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.68f46f37
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.68f46eec
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.68f46f27
iretd
Function at 0x68f47e95
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte es:[ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.68f46f37
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.68f46eec
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.68f46f27
enter 0xffffffffffffe23c, 0x42
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.68f46f27
ror dword [edi - 0x1b], cl
or dword [eax - 0x7fff1f9b], eax
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
Function at 0x68f54c56
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x68fa7ff8], 0
push esi
jne 0x68f54bc9
call fcn.68f54af4
test eax, eax
je 0x68f54c0c
mov eax, dword [0x68fa7ff8]
cmp eax, 1
jne 0x68f54bea
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x68f54c0c
pop esi
ret
push eax
call dword [0x68fa8000]
test eax, eax
jne 0x68f54c54
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x68f54c10
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x68fa7ff8]
call dword [0x68fa8000]
mov edi, eax
test edi, edi
je 0x68f54c37
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x68f54c53
lea edi, [esi + 0xff0]
push esi
push dword [0x68fa7ff8]
call dword [0x68fa7ffc]
add esi, 0x10
cmp esi, edi
jb 0x68f54c3d
mov eax, esi
pop edi
pop esi
ret
jmp 0x68f54bb6
Function at 0x402490
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x41d490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4024f3
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
lea ecx, [ebp - 0x10c]
push ecx
call ebx
test eax, eax
je 0x402506
lea edx, [ebp - 0x130]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4024d3
or eax, 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407166
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.00407166
mov esp, ebp
pop ebp
ret

Function at 0x402a00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
push 0
push 0
push 0
push 0x402240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, 0x41a1b8
call fcn.00402490
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 0xffffffff
je 0x402a48
push eax
push 0
push 1
call esi
push 0
push eax
call ebx
mov edi, 0x41a1c4
call fcn.00402490
cmp eax, 0xffffffff
je 0x402a63
push eax
push 0
push 1
call esi
push 0
push eax
call ebx
mov edi, str.perfmon.exe
call fcn.00402490
cmp eax, 0xffffffff
je 0x402a7e
push eax
push 0
push 1
call esi
push 0
push eax
call ebx
mov edi, 0x41a1e0
call fcn.00402490
cmp eax, 0xffffffff
je 0x402a99
push eax
push 0
push 1
call esi
push 0
push eax
call ebx
mov edi, str.powershell.exe
call fcn.00402490
cmp eax, 0xffffffff
je 0x402ab4
push eax
push 0
push 1
call esi
push 0
push eax
call ebx
lea eax, [esp + 0x10]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], str.winlogon.exelogonui.exe
mov dword [esp + 0x18], str.taskmgr.exe
mov dword [esp + 0x1c], str.msconfig.exe
mov dword [esp + 0x20], str.explorer.exe
mov dword [esp + 0x24], str.shutdown.exe
mov dword [esp + 0x28], str.taskkill.exe
mov dword [esp + 0x2c], str.mmc.exeregedit.execmd.exe
xor esi, esi
nop
mov edx, dword [esp + esi*4 + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
call ebx
push str.rekt.exe
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
add eax, eax
push eax
push str.rekt.exe
push 1
push 0
push str.Debugger
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0xc]
push edx
call edi
inc esi
cmp esi, 7
jb 0x402b10
mov eax, dword [esp + 0x10]
push eax
call edi
call fcn.004029c0
int3
Function at 0x405ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [0x451e1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xb132f43
mov eax, dword [ebp - 0x10]
mov ecx, eax
sub ecx, 0xb132f42
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jg 0x405f3e
jmp 0x405f28
mov eax, dword [ebp - 0x14]
sub eax, 0xda592024
mov dword [ebp - 0x1c], eax
je 0x405fb7
jmp 0x405f80
mov eax, dword [ebp - 0x14]
sub eax, 0xb132f43
mov dword [ebp - 0x20], eax
je 0x405f85
jmp 0x405f54
mov eax, dword [ebp - 0x14]
sub eax, 0x630009dd
mov dword [ebp - 0x24], eax
je 0x405fe3
jmp 0x405f6a
mov eax, dword [ebp - 0x14]
sub eax, 0x762fadd5
mov dword [ebp - 0x28], eax
je 0x405fa3
jmp 0x405f80
jmp 0x405feb
mov eax, 0xda592024
mov ecx, 0x762fadd5
mov edx, dword [ebp - 4]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x405feb
mov eax, dword [0x451e1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x630009dd
jmp 0x405feb
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x451e1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x630009dd
jmp 0x405feb
mov eax, dword [ebp - 8]
add esp, 0x28
pop ebp
ret
jmp 0x405f0c
Function at 0x422c9a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x451750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00421118
mov dword [ebp - 0x14], eax
cmp dword [0x452e3c], edi
jne 0x422d8b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x422d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x422e6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x422e6b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422e6b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x452e3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x452e40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x452e44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x452e4c], eax
test eax, eax
je 0x422d88
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x452e48], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x422db0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x422da3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x422dc5
push 4
pop eax
jmp 0x422e6d
cmp dword [ebp - 0x14], edi
je 0x422dc5
push dword [0x452e3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x422daa
mov eax, dword [0x452e48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x422e23
cmp dword [0x452e4c], esi
je 0x422e23
push eax
call ebx
push dword [0x452e4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x422e23
test eax, eax
je 0x422e23
call ecx
test eax, eax
je 0x422e18
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x422e18
test byte [ebp - 8], 1
jne 0x422e23
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x422e53
mov eax, dword [0x452e40]
cmp eax, esi
je 0x422e50
push eax
call ebx
test eax, eax
je 0x422e50
call eax
mov edi, eax
test edi, edi
je 0x422e50
mov eax, dword [0x452e44]
cmp eax, esi
je 0x422e50
push eax
call ebx
test eax, eax
je 0x422e50
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x452e3c]
call ebx
test eax, eax
je 0x422e6b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x422e6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422e7c
leave
ret
Function at 0x492e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x140]
test eax, eax
jl 0x492f00
mov edx, dword [esi + 0x13c]
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, edx
jne 0x492f13
cmp eax, 0xa
jne 0x492e39
cmp dword [esi + 0x12c], 0
jne 0x492f13
cmp eax, 0xb
je 0x492f13
mov eax, dword [esi + 0x130]
cmp dword [esi + 0x134], eax
je 0x492e5b
test eax, eax
jbe 0x492e5b
pop ebx
or eax, 0xffffffff
pop esi
pop ebp
ret
mov ecx, dword [esi + 0x128]
cmp eax, ecx
push edi
jb 0x492f03
add edx, ecx
lea edi, [eax + ebx]
cmp edi, edx
ja 0x492f03
test ebx, ebx
jbe 0x492ebf
cmp eax, ecx
jne 0x492ebf
test al, 0xf
je 0x492e94
lea ecx, [esi + 0x30]
lea eax, [esi + 0x20]
push ecx
push eax
push eax
call fcn.00493e5d
add esp, 0xc
movzx edx, byte [esi]
lea edi, [esi + 0x10]
and edx, 7
xor ecx, ecx
mov eax, edi
add edx, 1
sub eax, 1
mov byte [eax], cl
shr ecx, 8
sub edx, 1
jne 0x492ea4
lea edx, [esi + 0x30]
push edx
push edi
push esi
call fcn.00493e5d
add esp, 0xc
mov ecx, dword [esi + 0x130]
sub ecx, dword [esi + 0x128]
xor eax, eax
test ebx, ebx
jbe 0x492eeb
mov edi, dword [ebp + 8]
lea ecx, [ecx + esi + 0x10]
mov dl, byte [ecx + 0x10]
xor dl, byte [ecx]
add eax, 1
mov byte [eax + edi - 1], dl
add ecx, 1
cmp eax, ebx
jb 0x492ed8
mov eax, dword [esi + 0x130]
xor ecx, ecx
cmp eax, dword [esi + 0x134]
pop edi
setne cl
pop ebx
mov eax, ecx
pop esi
pop ebp
ret
pop edi
mov eax, 0xfffffff9
pop ebx
mov dword [esi + 0x140], eax
pop esi
pop ebp
ret
mov eax, 0xfffffffa
pop ebx
mov dword [esi + 0x140], eax
pop esi
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x405b60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x405b87
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x405b8a
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00405b3c
pop esi
leave
ret 8

Function at 0x406664
Capabilities:
Parse pe header

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