joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f060
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4802d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00476c93
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043ea00
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00476bc1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004733a2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004733a2
push 1
push 0
push 0
mov ecx, esi
call fcn.0047334a
push 1
push 0
push 1
mov ecx, esi
call fcn.0047334a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476d05
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f1e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4802f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00476c93
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043ea00
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00476bc1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f2a4
cmp dword [esp + 0x40], 1
jne 0x43f2a2
cmp ecx, eax
jge 0x43f2a4
mov eax, ecx
cmp eax, 0xc8
jge 0x43f2b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f060
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476d05
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43fa30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x480363
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004717c3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00476f3b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00478493
test eax, eax
je 0x43fb4c
mov ecx, dword [esp + 0x3c]
call fcn.00476f68
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fb10
push edi
mov ecx, esi
call fcn.00474522
mov ecx, esi
call fcn.0043fcb0
cmp dword [esp + 0x38], 1
jne 0x43fb45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047468c
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x442580
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4425b3
push esi
call fcn.00445670
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4425ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442639
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442622
mov eax, dword [esi + 8]
test eax, eax
je 0x4425d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44261e
cmp eax, 2
je 0x442622
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4425ca
cmp eax, 3
je 0x4425fd
cmp eax, 1
jne 0x4425ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4425ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4425ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442660
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442648
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442660
add esp, 4
pop esi
ret

Function at 0x44e6a0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44e743
test eax, eax
jbe 0x44e743
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44e743
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44e6ee
xor esi, esi
jmp 0x44e6f4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44e71f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00405f90
add esi, eax
push esi
mov ebx, esi
call fcn.00405f90
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44e700
pop ebp
test edi, edi
pop edi
jne 0x44e743
test ebx, ebx
je 0x44e743
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045fff0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44e885
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44e99d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44e99d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00471c15
mov esi, eax
test esi, esi
je 0x44e99d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44e99d
mov ecx, esi
call fcn.0044e7f0
cmp edi, eax
jge 0x44e99d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44e923
mov dword [esp + 0x34], 1
jmp 0x44e97e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44e99d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044dd30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x453da0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x453e06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x453e06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x453de7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x454190
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4541c8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x454e40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x454e89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x455300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480eb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00454eb0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00454f30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00454f30
lea ecx, [esi + 0xc]
call fcn.00470153
lea ecx, [esi + 0x10]
call fcn.00470153
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004564c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004564c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004564c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004701c8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004701c8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4725b8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4725f0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047066f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00470647
jmp 0x4725fc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473ca6
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 0x473ce8
call fcn.00479c50
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473ce8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473cdf
xor eax, eax
jmp 0x473cf0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473cf6
pop edi
pop esi
pop ebx
ret 4

Function at 0x47a180
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47a1ae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47a1cc
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047a0e6
jmp 0x47a1cc
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47a1cc
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047a0e6
test edi, edi
mov eax, edi
jne 0x47a1b6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41ba28
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ba2e
ret

Function at 0x456018
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x456046
mov eax, ebx
call fcn.00456acc
cmp dword [ebx + 0x40], 0
je 0x45603f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4560b7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4560a9
cmp dword [ebx + 8], 0
je 0x456068
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45607a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4560a9
cmp dword [ebx + 8], 0
je 0x45605b
cmp eax, 3
je 0x45608d
dec eax
jne 0x45605b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45605b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45605b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4560d5
cmp dword [ebx + 0x14], 0xcc
je 0x4560d5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004560e0
pop ebx
ret
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0040db10
mov eax, dword [0x413044]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push edx
call fcn.004038a7
mov esi, eax
mov word [ebp + esi - 0x1004], 0xa0d
add esi, 2
add esp, 0xc
cmp dword [0x414c20], 1
mov byte [ebp + esi - 0x1004], 0
jne 0x40107d
push edi
push 0x411204
push str.log.txt
call fcn.0040397d
mov edi, eax
lea eax, [ebp - 0x1004]
push eax
push 0x411210
push edi
call fcn.00403994
push edi
call fcn.00403b0d
add esp, 0x18
pop edi
mov eax, dword [0x414c00]
push 0
lea ecx, [ebp - 0x1008]
push ecx
push esi
lea edx, [ebp - 0x1004]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004037c3
mov esp, ebp
pop ebp
ret
Function at 0x401620
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
push edi
push str.TEMP
mov dword [esp + 0x10], 0x3b6
mov dword [esp + 0xc], 0x12c
call fcn.00403e71
push eax
push str._spos
push 0x414f78
call fcn.00403d66
push 0x4112fc
push 0x414f78
call fcn.0040397d
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40168b
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push str._d__d
push esi
call fcn.00403fe5
push esi
call fcn.00403b0d
add esp, 0x14
push 0x2c
lea edx, [esp + 0x38]
push 0
push edx
call fcn.0040acc0
add esp, 0xc
push 0
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x3c], 0x403520
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x5c], 0x411308
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
push 0x82
push 0x5a
push ecx
push edx
push 0x80000
push str._score
push 0x411308
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [esp + 0x10]
push edx
push 0
push 0x401830
call fcn.004040cc
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 0xc
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
je 0x401758
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
mov edi, edi
lea ecx, [esp + 0x14]
push ecx
call edi
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
jne 0x401740
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4037c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x413044]
jne 0x4037cd
repz ret
jmp fcn.00404769
Function at 0x40d04b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413044]
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.0040820e
and dword [ebp - 0x14], 0
cmp dword [0x414b94], 0
mov dword [ebp - 0x18], eax
jne 0x40d0fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d1a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40d1a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x414b94], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x414b98], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x414b9c], eax
call edi
push eax
call esi
mov dword [0x414ba4], eax
test eax, eax
je 0x40d0fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x414ba0], eax
mov eax, dword [0x414ba0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d157
cmp dword [0x414ba4], ecx
je 0x40d157
push eax
call esi
push dword [0x414ba4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d157
test ebx, ebx
je 0x40d157
call edi
test eax, eax
je 0x40d14e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d14e
test byte [ebp - 8], 1
jne 0x40d157
or dword [ebp + 0x10], 0x200000
jmp 0x40d18a
mov eax, dword [0x414b98]
cmp eax, dword [ebp - 0x18]
je 0x40d18a
push eax
call esi
test eax, eax
je 0x40d18a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d18a
mov eax, dword [0x414b9c]
cmp eax, dword [ebp - 0x18]
je 0x40d18a
push eax
call esi
test eax, eax
je 0x40d18a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x414b94]
call esi
test eax, eax
je 0x40d1a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d1a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037c3
leave
ret

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x37ec5541
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x7a6e0802
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x453529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00453480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x453558
mov eax, 0xea61
jmp 0x4535d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x453568
mov eax, 0xea62
jmp 0x4535d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00453480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x453595
mov eax, 0xea62
jmp 0x4535d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4535ad
mov eax, 0xea65
jmp 0x4535d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4535c2
mov eax, 0xea66
jmp 0x4535d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4535d2
mov eax, 0xea67
jmp 0x4535d6
xor eax, eax
jmp 0x4535d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002c62
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
jne 0x1002c88
and dword [ebp - 0x24], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push edi
mov edi, 0x1001754
push edi
push 0xfffffffffffffff3
push 0x1001838
mov esi, 0x100176c
push esi
call ebx
push edi
push 0x2bc
push 0x1001848
push esi
mov dword [0x1007c20], eax
call ebx
push edi
push 0
push 0x10018b0
push esi
mov dword [0x1007c30], eax
call ebx
push edi
push 0x16
push 0x1001858
push esi
mov dword [0x1007c24], eax
call ebx
push edi
push 0
push 0x100186c
push esi
mov byte [0x1007c3b], al
call ebx
push edi
push 0
push 0x100187c
push esi
mov byte [0x1007c34], al
call ebx
push edi
push 0
push 0x1001890
push esi
mov byte [0x1007c35], al
call ebx
push edi
push dword [ebp - 0x24]
mov byte [0x1007c36], al
push 0x10018bc
push esi
call ebx
push edi
push 0
push 0x10018d0
push esi
mov byte [0x1007c37], al
call ebx
push edi
push 0
push 0x10018ec
push esi
mov byte [0x1007c38], al
call ebx
push edi
push 0
push 0x1001908
push esi
mov byte [0x1007c39], al
call ebx
push edi
push 0x20
push 0x1007c3c
push 0x1001338
mov byte [0x1007c3a], al
xor eax, eax
push 0x10018a4
mov dword [0x1007c28], eax
mov dword [0x1007c2c], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0xff
mov edi, 0x1007340
push edi
push 0x1001824
push 0x1001918
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1002d9d
push edi
call fcn.01003df4
jmp 0x1002da5
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
pop edi
pop esi
mov dword [0x1007c84], eax
pop ebx
leave
ret

Function at 0x1003162
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
push 0x1001754
push 0xff
mov esi, 0x1007340
push esi
push 0x1001824
push 0x1001924
push 0x1001778
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10031ca
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x28]
push ecx
lea ecx, [eax + 0x24]
push ecx
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 0x1c]
push ecx
lea ecx, [eax + 0x18]
push ecx
lea ecx, [eax + 0x14]
push ecx
mov dword [eax], 0x2c
add eax, 8
push eax
push 0x1001938
push esi
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x24
cmp eax, 7
jne 0x10031ca
inc edi
mov eax, edi
pop edi
pop esi
ret 4