joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029af9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10029b3b
call fcn.1002ec4e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10029b3b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10029b32
xor eax, eax
jmp 0x10029b43
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10029b49
pop edi
pop esi
pop ebx
ret 4

Function at 0x1002cfe6
Capabilities:
Create http request

Disassembly:
mov eax, 0x10030a20
call fcn.10019a28
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x1002d01e
call fcn.1002ec4e
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x1002d043
push eax
push dword [esi + 4]
call fcn.1002dd44
jmp 0x1002d04f
push esi
push eax
mov ecx, 0x1003fe50
call fcn.1002d060
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x1002d1c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x10030a5b
call fcn.10019a28
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1002ace7
mov eax, dword [0x1003c628]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x1003fe50
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.1002d060
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.10026f6b
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.10017853
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.10026f1b
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.10026e2e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4012e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2c
mov eax, dword [0x415004]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
lea eax, [esp + 4]
xorps xmm0, xmm0
push eax
push 0x28
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401335
lea eax, [esp + 8]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x401347
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0040190f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
push 0
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x18]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040190f
mov esp, ebp
pop ebp
ret

Function at 0x401800
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push 0x34
push 0x413b1c
push str.This_is_a_Short_Malware__Run_
push 0
call esi
cmp eax, 7
jne 0x401826
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x34
push 0x413b80
push str.Are_you_sure__It_will_destroy_this_computer_contains_flashing_lights___NOT_for_epilepsy
push 0
call esi
cmp eax, 7
jne 0x401843
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x401871
call fcn.004012e0
push str.RtlSetProcessIsCritical
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401871
push 0
push 0
push 1
call eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4017e0
push 0
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call ebx
push 0
push 0
push 0
push 0x4017c0
push 0
push 0
call edi
push 0
push 0
push 0
push 0x401790
push 0
push 0
call edi
push 0
push 0
push 0
push 0x4013a0
push 0
push 0
call edi
push 0x7530
mov esi, eax
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 0
push 0x401640
push 0
push 0
call edi
push 0x7530
call ebx
push 0xffffffffffffffff
call ebx
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x406b7f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040683f
Function at 0x1000a140
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using chaskey
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x1000cb3b
push ebp
or bp, bx
mov ebp, esp
adc al, 0x98
xadd eax, eax
push ebx
xor eax, edi
sar ah, 5
push edi
cmovns ax, ax
movsx ax, dh
add ah, dl
push esi
shr ax, cl
rcl ah, cl
bts eax, ebp
lea esp, [esp - 0x134]
sub al, 0xa9
rol ah, cl
movzx eax, bp
mov eax, dword [0x10079a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
bswap ax
stc
sal ah, cl
mov dword [ebp - 0x138], 0xa0145234
shl al, cl
jmp 0x10016fd2
mov eax, dword [ebp - 0x138]
test bp, si
clc
cmc
mov dword [ebp - 0x13c], eax
test bp, si
sub eax, 0x80171a37
jmp loc.1007f132

Function at 0x1001b5e0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001b61f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b61f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b61f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001b61f
cmp dword [ecx + 0x74], 0xe
jbe 0x1001b61f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001e2dd
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 0x1001e37a
push ebx
push esi
call fcn.1001e2a6
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.1001e23a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e327
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e379
push edi
push eax
call fcn.1001c31d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e347
call fcn.1001cd82
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e378
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001e23a
add esp, 0x20
test eax, eax
jne 0x1001e366
push edi
call fcn.1001cd82
jmp 0x1001e36e
push ebx
call fcn.1001cd82
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 0x1001e5e7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d10
push 0x10025d08
push str.FlsAlloc
push 0x1f
call fcn.1001e503
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e61b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
jmp 0x1001e621
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001e665
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d20
push 0x10025d18
push str.FlsGetValue
push 0x21
call fcn.1001e503
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e69c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001e6a4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025d28
push 0x10025d20
push str.FlsSetValue
push 0x22
call fcn.1001e503
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001e6de
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10023cad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10023cad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401580
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cec46
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50d108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x4015c7
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x4015ee
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00402b60
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x513de0]
cmp eax, dword [ecx + 4]
jle 0x40169b
push 0x513de0
call fcn.0048a35e
add esp, 4
cmp dword [0x513de0], 0xffffffff
jne 0x40169b
push 0x4d8d30
mov dword [0x50de10], 0x64
mov dword [0x50de14], 0x64
mov byte [0x50de18], 0
call fcn.0048a215
push 0x513de0
call fcn.0048a31f
add esp, 8
mov dword [edi + 0x30], 0x50de10
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401ba0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403ee5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403f26
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403f22
nop word [eax + eax]
cmp esi, edx
jae 0x403f26
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403f10
cmp esi, edx
jb 0x403f2b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x41c150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x41c16a
mov eax, dword [ecx]
push edi
call dword [eax + 0x104]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x41c1dd
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x41c1dd
test edi, edi
je 0x41c19d
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, eax
test ebx, ebx
je 0x41c1dc
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c1dc
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41c1dc
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41c1f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x41c213
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x41c2c9
cmp dword [esi + 0xe0], 0
je 0x41c2c9
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41c2a5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41c2a5
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c2c9
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x14], 5
add ecx, 0x38
sub dword [ebp - 0x10], 3
add dword [ebp - 0xc], 5
add dword [ebp - 8], 7
push 1
push eax
call fcn.0041da40
jmp 0x41c2c9
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c2c9
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421560
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x421589
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18c], 1
push eax
push dword [esi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4215dd
test dx, dx
je 0x4215d9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4215dd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4215b7
xor eax, eax
jmp 0x4215e2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4215fd
push 0x4ec354
push dword [esi + 0x16c]
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fc
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4220b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x4220c6
mov eax, dword [esi]
push 0
call dword [eax + 0x128]
push dword [ebp + 8]
mov ecx, esi
call fcn.00405cf0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x4220f8
push 5
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x422590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x42260c
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4225c5
push edi
mov ecx, esi
call fcn.004041b0
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x4225ed
mov ecx, dword [esi]
test ecx, ecx
je 0x4225f1
push dword [ecx - 8]
push ecx
call fcn.004ac77c
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x42260c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x42260c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00404660
int3
Function at 0x422ea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d02e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x50d108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x512c68]
test eax, eax
je 0x422ef1
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x422ef1
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004b6328
add esp, 4
call fcn.004b6307
mov esi, eax
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x422f1c
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_GeneralNotify_lu
push eax
call fcn.00414000
mov esi, dword [ebp - 0x10]
mov ecx, 0x512a60
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x422f6f
movzx eax, word [edi + ecx]
test ax, ax
je 0x422f6f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x422f51
lea eax, [ecx - 2]
mov dword [ebp - 0x40], 0x30
test edx, edx
push 0x2c
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x3c]
push eax
call fcn.004a2fe0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x512a60
mov dword [ebp - 0x38], 0x422e80
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x512c68], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423010
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42bc60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00405cf0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x42bc96
push 5
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x138]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x42dd00
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0ce6
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.0048a770
mov eax, dword [0x50d108]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
jne 0x42dd48
cmp dword [edi + 4], 0
je 0x42de6f
lea ebx, [edi + 0x14]
push ebx
mov dword [ebp - 0x201c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x2018], 1
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jle 0x42dd9e
test esi, esi
je 0x42de68
cmp dword [eax - 0xc], 0
jl 0x42de68
push esi
push eax
call fcn.004a313a
add esp, 8
test eax, eax
je 0x42de68
sub eax, dword [edi + 0x10]
sar eax, 1
js 0x42de68
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004a2fe0
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2010]
call fcn.0042d7d0
call fcn.00404900
mov ecx, eax
test ecx, ecx
jne 0x42dddc
push 0x80004005
call fcn.00404660
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2010]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x2014]
push str.__s___s_r_n
push eax
call fcn.00414000
mov esi, dword [ebp - 0x2014]
add esp, 0x10
cmp dword [edi + 8], 0
je 0x42de1d
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi + 4], 0
je 0x42de4c
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
je 0x42de4c
push 0
mov dword [ebp - 0x2014], 0
lea edx, [ebp - 0x2014]
mov eax, dword [esi - 0xc]
push edx
add eax, eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42de68
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0048a462
mov esp, ebp
pop ebp
ret
Function at 0x42e2c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0da0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x50d108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x144]
mov dword [ebp - 4], 1
mov dword [esi + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00402130
lea eax, [ebp + 0x44]
lea ecx, [esi + 0x148]
push eax
call fcn.00402130
cmp dword [esi + 0x17c], 0
movups xmm0, xmmword [ebp + 0x14]
movups xmmword [esi + 0x14c], xmm0
movups xmm0, xmmword [ebp + 0x24]
movups xmmword [esi + 0x15c], xmm0
movups xmm0, xmmword [ebp + 0x34]
movups xmmword [esi + 0x16c], xmm0
jne 0x42e360
push 0
push 0
push esi
push 0x42e1f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x17c], eax
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e381
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42e3a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x40