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

Disassembly:
push 0xffffffffffffffff
push 0x484733
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.004735ef
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.00478f8f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047b99e
test eax, eax
je 0x44293c
mov ecx, dword [esp + 0x3c]
call fcn.00478fbc
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 0x442900
push edi
mov ecx, esi
call fcn.0047654f
mov ecx, esi
call fcn.00442aa0
cmp dword [esp + 0x38], 1
jne 0x442935
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.004766e2
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 0x445360
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445393
push esi
call fcn.00448470
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44538c
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 0x445419
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445402
mov eax, dword [esi + 8]
test eax, eax
je 0x4453b7
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 0x4453fe
cmp eax, 2
je 0x445402
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4453aa
cmp eax, 3
je 0x4453dd
cmp eax, 1
jne 0x4453aa
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 0x4453aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4453aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445440
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445428
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445440
add esp, 4
pop esi
ret

Function at 0x450fc0
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 0x451063
test eax, eax
jbe 0x451063
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x451063
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 0x45100e
xor esi, esi
jmp 0x451014
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45103f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00452fa0
add esi, eax
push esi
mov ebx, esi
call fcn.00452fa0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x451020
pop ebp
test edi, edi
pop edi
jne 0x451063
test ebx, ebx
je 0x451063
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00462260
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4511a5
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 0x4512bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4512bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00473a41
mov esi, eax
test esi, esi
je 0x4512bd
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 0x4512bd
mov ecx, esi
call fcn.00451110
cmp edi, eax
jge 0x4512bd
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 0x451243
mov dword [esp + 0x34], 1
jmp 0x45129e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4512bd
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.004506b0
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 0x455460
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 0x4554c6
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 0x4554c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4554a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x455850
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x455888
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 0x4564b0
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 0x4564f9
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 0x456970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4850d0
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.00456520
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004565a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004565a0
lea ecx, [esi + 0xc]
call fcn.00471f3c
lea ecx, [esi + 0x10]
call fcn.00471f3c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00457b30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00457b30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00457b30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00471fb1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00471fb1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x472dcd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0047d245
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472dfe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00472e11
pop edi
pop esi
pop ebx
ret 8

Function at 0x4743e5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47441d
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.00472458
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00472430
jmp 0x474429
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x475cd8
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 0x475d1a
call fcn.0047d245
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x475d1a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x475d11
xor eax, eax
jmp 0x475d22
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00475d28
pop edi
pop esi
pop ebx
ret 4

Function at 0x47d775
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 0x47d7a3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d7c1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d6db
jmp 0x47d7c1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d7c1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d6db
test edi, edi
mov eax, edi
jne 0x47d7ab
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4022e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a183
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.00427116
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00427116
or eax, 0xffffffff
push 0x44fa18
mov dword [ebx], method.CPtrArray.virtual_0
push edi
mov dword [esi], 0x43dc14
mov dword [esi + 0x4c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0xc0c0c0
mov dword [esi + 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x50], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405c70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43a640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], vtable.CPen.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], edi
push eax
push edi
push edi
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call fcn.0042ef62
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0042e673
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x405cdd
mov dword [esp + 0x10], 1
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x20]
mov ecx, esi
lea eax, [ebp + 2]
push eax
push edi
push edx
call fcn.0042ea73
mov edx, dword [esp + 0x10]
mov ebx, ebp
sub ebx, edx
mov ecx, esi
lea eax, [ebx + 5]
push eax
push edi
mov dword [esp + 0x40], eax
call fcn.0042eabf
lea eax, [ebp + 3]
lea ecx, [edi + 1]
push eax
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.0042ea73
lea eax, [ebx + 6]
mov ecx, esi
mov dword [esp + 0x44], eax
push eax
lea eax, [edi + 1]
push eax
call fcn.0042eabf
lea ecx, [ebp + 4]
lea eax, [edi + 2]
push ecx
lea edx, [esp + 0x24]
push eax
push edx
mov ecx, esi
call fcn.0042ea73
lea eax, [ebx + 7]
mov ecx, esi
push eax
lea eax, [edi + 2]
push eax
call fcn.0042eabf
lea eax, [ebp + 3]
lea ecx, [edi + 3]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.0042ea73
mov edx, dword [esp + 0x44]
lea eax, [edi + 3]
push edx
push eax
mov ecx, esi
call fcn.0042eabf
lea eax, [ebp + 2]
lea ecx, [edi + 4]
push eax
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.0042ea73
mov ecx, dword [esp + 0x38]
lea eax, [edi + 4]
push ecx
push eax
mov ecx, esi
call fcn.0042eabf
lea edx, [ebp + 1]
lea eax, [edi + 5]
push edx
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0042ea73
lea ecx, [ebx + 4]
lea eax, [edi + 5]
push ecx
push eax
mov ecx, esi
call fcn.0042eabf
add edi, 6
push ebp
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, esi
call fcn.0042ea73
add ebx, 3
mov ecx, esi
push ebx
push edi
call fcn.0042eabf
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.0042e673
lea ecx, [esp + 0x18]
call fcn.0042efb9
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 1
call fcn.0042efb9
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x407290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43a800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.00402420
test eax, eax
je 0x4072ee
push 0xf
jmp 0x4072f0
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x407311
push 0x3fe33333
push 0x33333333
push eax
call fcn.00403380
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.0042ef62
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.0042efb9
call fcn.00402410
test eax, eax
je 0x407369
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x40738f
push 0
push 7
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00405c70
jmp 0x4073a9
push 7
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00405b20
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.0042efb9
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x407a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.004356f9
mov edi, dword [esp + 0x14]
mov ebx, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
and edi, 0xffff
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x407a8b
xor ebx, ebx
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x407a8b
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407a9c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x407aac
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.004079e0
add esp, 4
cmp ax, 0x10
je 0x407ac2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
push ebx
call fcn.00430264
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x407c40
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x44fa38]
sub esp, 0x134
test eax, eax
jne 0x407d15
lea eax, [esp]
mov dword [0x44fa38], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407d15
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407d08
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x407d08
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x407d08
mov dword [0x44fa34], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x44fa34]
add esp, 0x134
ret

Function at 0x40ba10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x80000000
cmp eax, 0x80000000
mov eax, dword [esi + 0x80]
sete cl
test eax, eax
je 0x40badd
or edx, 0xffffffff
push edi
mov edi, dword [esi + 0x9c]
test cl, cl
jne 0x40ba5f
mov dword [esi + 0xbc], edx
mov dword [esi + 0x94], edx
mov dword [esi + 0xc0], edx
mov dword [esi + 0x98], edx
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x40ba7d
add edi, eax
mov eax, dword [esi + 0xa4]
cmp edi, eax
jb 0x40ba94
lea edi, [eax - 1]
mov byte [esp + 0x10], 0
jmp 0x40ba94
jge 0x40ba94
push ebx
mov ebx, eax
neg ebx
cmp ebx, edi
pop ebx
ja 0x40ba8d
add edi, eax
jmp 0x40ba94
xor edi, edi
mov byte [esp + 0x10], 1
test cl, cl
je 0x40bac4
mov eax, dword [esi + 0xbc]
cmp eax, edx
je 0x40bac4
cmp eax, edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], edi
jbe 0x40bac4
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], edi
push 1
push edi
push edi
mov ecx, esi
call fcn.0040a950
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.0040af70
pop edi
pop esi
ret 8
Function at 0x40cf10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43ae98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x40cfba
mov eax, dword [0x44bb98]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0042cc71
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0042ccc0
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.0042cc1d
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40cfa1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x40cfa1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x6c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0042c91b
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40cfd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40d032
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x40d240
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d332
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.0040cfd0
test eax, eax
jne 0x40d332
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.0040cfd0
test eax, eax
jne 0x40d332
lea edx, [esp + 0x10]
push 0x44b5f8
push edx
call fcn.00419447
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d303
lea eax, [esp + 0x10]
push 0x44b5f4
push eax
call fcn.00419447
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d303
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x40d306
mov byte [esi], 0
push 0x44b210
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8