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

Disassembly:
push 0xffffffffffffffff
push 0x484253
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.00475e21
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.0047b594
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047caec
test eax, eax
je 0x44569c
mov ecx, dword [esp + 0x3c]
call fcn.0047b5c1
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 0x445660
push edi
mov ecx, esi
call fcn.00478b7c
mov ecx, esi
call fcn.00445800
cmp dword [esp + 0x38], 1
jne 0x445695
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.00478ce6
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 0x4480d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448103
push esi
call fcn.0044b1c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4480fc
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 0x448189
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448172
mov eax, dword [esi + 8]
test eax, eax
je 0x448127
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 0x44816e
cmp eax, 2
je 0x448172
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44811a
cmp eax, 3
je 0x44814d
cmp eax, 1
jne 0x44811a
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 0x44811a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44811a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004481b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448198
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004481b0
add esp, 4
pop esi
ret

Function at 0x454a20
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 0x454ac3
test eax, eax
jbe 0x454ac3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x454ac3
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 0x454a6e
xor esi, esi
jmp 0x454a74
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x454a9f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040db20
add esi, eax
push esi
mov ebx, esi
call fcn.0040db20
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x454a80
pop ebp
test edi, edi
pop edi
jne 0x454ac3
test ebx, ebx
je 0x454ac3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004650b0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x454c05
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 0x454d1d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x454d1d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00476273
mov esi, eax
test esi, esi
je 0x454d1d
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 0x454d1d
mov ecx, esi
call fcn.00454b70
cmp edi, eax
jge 0x454d1d
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 0x454ca3
mov dword [esp + 0x34], 1
jmp 0x454cfe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x454d1d
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.00453410
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 0x476c17
Capabilities:
Get graphical window text

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

Function at 0x478305
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 0x478347
call fcn.0047dff8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x478347
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47833e
xor eax, eax
jmp 0x47834f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00478355
pop edi
pop esi
pop ebx
ret 4

Function at 0x47e528
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 0x47e556
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e574
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e48e
jmp 0x47e574
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e574
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e48e
test edi, edi
mov eax, edi
jne 0x47e55e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403826
Capabilities:
Create pipe
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8b8838]
mov ecx, dword [0x8b778c]
sub esp, 0xc34
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40391f
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x8b8838], 0x959
jne 0x40390d
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402d50
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x402d7c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402db0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.00403629
add ebx, 8
dec dword [ebp - 4]
jne 0x40384f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40555b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8075bc]
jne 0x405565
repz ret
jmp fcn.004090ac

Function at 0x40c117
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.00406b5c
and dword [ebp - 4], 0
cmp dword [0x8093b4], 0
mov ebx, eax
jne 0x40c1c8
push 0x4021ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c279
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e0
push edi
call esi
test eax, eax
je 0x40c279
push eax
call fcn.00406aea
mov dword [esp], 0x4021d0
push edi
mov dword [0x8093b4], eax
call esi
push eax
call fcn.00406aea
mov dword [esp], 0x4021bc
push edi
mov dword [0x8093b8], eax
call esi
push eax
call fcn.00406aea
mov dword [esp], 0x4021a0
push edi
mov dword [0x8093bc], eax
call esi
push eax
call fcn.00406aea
pop ecx
mov dword [0x8093c4], eax
test eax, eax
je 0x40c1c8
push 0x402188
push edi
call esi
push eax
call fcn.00406aea
pop ecx
mov dword [0x8093c0], eax
mov eax, dword [0x8093c0]
cmp eax, ebx
je 0x40c220
cmp dword [0x8093c4], ebx
je 0x40c220
push eax
call fcn.00406b65
push dword [0x8093c4]
mov esi, eax
call fcn.00406b65
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c220
test edi, edi
je 0x40c220
call esi
test eax, eax
je 0x40c217
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c217
test byte [ebp - 0xc], 1
jne 0x40c220
or dword [ebp + 0x10], 0x200000
jmp 0x40c259
mov eax, dword [0x8093b8]
cmp eax, ebx
je 0x40c259
push eax
call fcn.00406b65
pop ecx
test eax, eax
je 0x40c259
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c259
mov eax, dword [0x8093bc]
cmp eax, ebx
je 0x40c259
push eax
call fcn.00406b65
pop ecx
test eax, eax
je 0x40c259
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8093b4]
call fcn.00406b65
pop ecx
test eax, eax
je 0x40c279
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c27b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x63ddd4
Capabilities:
Encode data using xor

Disassembly:
mov edi, dword [esi]
pushal
cmc
clc
neg bh
add edi, 0x400000
bsr bx, bp
add esi, 8
shr bh, cl
bts bx, si
mov bx, word [esi]
pushfd
shr ebx, 0xc
bt di, di
mov word [esp + 4], cx
cmp ebx, 1
mov byte [esp], 0x74
push esp
mov byte [esp], 0xb9
lea esp, [esp + 0x2c]
je 0x6b6ba2
bt bx, 0xd
call 0x6587ca
sbb byte [eax + edi], dl
Function at 0x65a967
Capabilities:
Parse pe header

Disassembly:
push edi
mov word [esp + 4], 0xa07b
push 0x56fc216
lea esp, [esp + 0xc]
je 0x657c7f
shr cx, 0xc
mov di, cx
stc
mov ecx, dword [esi + 4]
sub di, 0x7418
or bx, 0x5a35
rcr di, cl
sub ecx, 8
btr di, 7
shr ecx, 1
sal di, cl
call fcn.0063ddd4
push 0x658d23
call fcn.006b902a
into
insd dword es:[edi], dx
sbb bl, 0x7b
sbb byte [eax + ecx], ch
xor al, 0x28
cmp al, 0x1c
adc byte [eax], dl
add byte [eax], bh
push eax
push edi
and byte [eax], ah
dec edx
add byte [edx], ah
hlt

Function at 0x6b5ea2
Capabilities:
Parse pe header

Disassembly:
pushal
cmc
lea esp, [esp + 0x30]
je 0x657c7f
or si, 0x9b73
mov esi, edx
test bh, cl
mov edx, eax
jne 0x6b40ca
push 0xf7680139
stc
pushal
xor ebx, ebx
pushal
shr eax, 0x10
lea esp, [esp + 0x44]
Function at 0x401120
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x401164
mov ax, word [edx]
or ecx, 0xffffffff
cmp ax, 0x5a4d
jne 0x401136
xor ecx, ecx
test ax, ax
jne 0x401142
mov ecx, 1
jmp 0x401146
test ecx, ecx
jl 0x401164
mov eax, dword [edx + 0x3c]
add eax, edx
test ecx, ecx
jne 0x40115a
cmp dword [eax], 0x4550
je 0x401166
xor eax, eax
ret
cmp ecx, 1
jne 0x401166
cmp dword [eax], 0
je 0x401166
xor eax, eax
ret

Function at 0x401660
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x114
mov ecx, dword [esp + 0x118]
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
lea eax, [esp + 0x1c]
push 0x104
push eax
push ecx
call dword [esi + 0x14]
push 0
push 0x80
push 3
push 0
push 1
lea edx, [esp + 0x30]
push 0x80000000
push edx
call dword [esi + 0x18]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
setne al
mov ebp, eax
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x4016d6
push 0
push 0
push 0
push 2
push 0
push edi
call dword [esi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], eax
test eax, eax
setne cl
mov ebp, ecx
test ebp, ebp
push ebx
je 0x4017ed
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 4
push edx
call dword [esi + 0x20]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
mov ebp, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x4017e5
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00401120
xor edx, edx
mov edi, dword [eax + 0x54]
mov dx, word [eax + 0x14]
xor ecx, ecx
mov cx, word [eax + 6]
add esp, 4
lea ebp, [edx + eax + 0x18]
xor edx, edx
test ecx, ecx
jle 0x401743
lea eax, [ebp + 0x10]
cmp dword [eax + 4], edi
ja 0x401743
mov ebp, dword [eax]
add eax, 0x28
add edi, ebp
inc edx
cmp edx, ecx
jl 0x401732
mov eax, dword [esp + 0x134]
shl eax, 5
add eax, edi
add eax, ebx
mov ebx, dword [esp + 0x130]
push eax
push ebx
call fcn.00401810
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4017dd
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x128]
add esi, edi
mov edi, dword [esp + 0x10]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x134]
add esi, edi
mov dword [esp + 0x1c], eax
test edx, edx
jne 0x4017c5
mov edi, dword [ebx + 0x18]
sub edi, ecx
mov ecx, dword [ebx]
add edi, 0x2000
push ecx
push edi
push esi
push eax
call fcn.00401870
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x2c]
sub ecx, edi
add esi, edi
mov eax, ecx
add edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4017d6
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
push ecx
push edx
push esi
push eax
call fcn.00401870
add esp, 0x10
mov esi, dword [esp + 0x12c]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test ebx, ebx
je 0x4017ed
push ebx
call dword [esi + 0x24]
mov eax, dword [esp + 0x14]
pop ebx
test eax, eax
je 0x4017fa
push eax
call dword [esi + 0x28]
cmp edi, 0xffffffff
je 0x401803
push edi
call dword [esi + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x114
ret
Function at 0x401d10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
neg edx
imul esi
neg edx
inc eax
add esi, 0xc5
dec edx
bswap eax
dec esi
imul edi
mov edi, 0x69
neg esi
dec ebx
rol ebx, 0xac
mov edi, 0x63
rcr edx, 0xc6
bswap edx
and eax, 0x94
not eax
add edx, 0xda
or edi, 0xe0
not edi
sub eax, 0x40
not esi
bswap esi
imul edx
sbb edi, 0x17
ror esi, 0xc8
add eax, 0xcb
dec edx
rcl ebx, 0x79
dec edi
rcr eax, 0x60
not ebx
or eax, 0x68
not edx
inc eax
ror edx, 0xc1
dec ebx
and edi, 0x4a
imul eax
dec edi
and edx, 0xa0
inc eax
or esi, 0xfe
dec edx
dec edi
bswap edi
neg esi
ror ebx, 0x52
dec eax
xor ecx, ecx
xor edi, edi
mov ebx, 0x27
bswap eax
imul esi
or edx, 0xc4
rcl ebx, 0xa2
add edx, 0xbe
sbb edx, 0x26
bswap edi
neg ebx
bswap eax
rcr esi, 0x57
and edi, 0x1b
sbb ebx, 0xee
inc eax
mov edi, 0x12
bswap edi
imul edi
sbb ebx, 0x1c
dec esi
and eax, 7
inc edx
sub edi, 0x53
sbb edi, 0x3a
dec edx
or esi, 0x6f
neg edi
imul edi
rcl edx, 0xf0
sbb esi, 0x31
inc edi
or edi, 0x84
ror ebx, 0x2c
neg edi
or ebx, 0xa3
bswap eax
or ebx, 0x97
add edx, 0xd2
add ebx, 0xe
bswap ebx
add ebx, 0xf6
not esi
and eax, 0x67
or edi, 0xa0
imul edx
neg esi
inc ebx
rcr edi, 0x5e
bswap edi
bswap eax
neg edi
mov ecx, dword [ebp + 0xc]
mov edi, 0x56
inc edi
dec edx
ror eax, 0xa2
neg esi
dec edi
rcl esi, 0xdd
or ebx, 0x12
ror edi, 0xf7
neg edi
mov edi, 4
dec eax
and eax, 0x3a
neg esi
rcl esi, 0x41
rol edi, 0x17
neg eax
sub eax, 0xfc
inc edx
neg edx
bswap esi
bswap esi
neg esi
rcr esi, 0xf1
bswap esi
sbb ebx, 0x15
bswap edx
and esi, 0xea
inc edi
imul edx
dec eax
inc eax
neg eax
bswap edx
not edx
ror edx, 0x62
dec esi
ror edx, 0x28
not eax
not edi
neg edi
add eax, 0x30
ror edx, 0xf1
mov edx, 0xf1
sub ebx, 0x6e
rcr esi, 0x7d
rol esi, 0x91
or edx, 0xe3
neg edi
sub esi, 0x2c
mov edi, dword [ebp + 8]
mov eax, ebx
mov esi, eax
mov eax, ebx
not byte [edi]
mov esi, eax
xor ebx, eax
xor ebx, ebx
xor esi, eax
xor ebx, ebx
xor eax, ebx
mov esi, esi
mov ebx, esi
xor eax, eax
add byte [edi], 0x79
mov esi, ebx
mov esi, ebx
mov eax, ebx
xor esi, esi
mov esi, eax
xor esi, eax
mov eax, ebx
mov eax, esi
xor ebx, eax
sub byte [edi], 0x30
xor esi, ebx
xor esi, eax
xor eax, eax
mov ebx, ebx
mov esi, ebx
mov eax, eax
mov ebx, ebx
xor ebx, eax
xor esi, ebx
imul byte [edi]
inc edi
loop 0x401ebf
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407414
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d294]
jne 0x40741e
repz ret
jmp fcn.0040bdf6
Function at 0x40d5fd
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.0040a3bf
and dword [ebp - 4], 0
cmp dword [0x44e814], 0
mov ebx, eax
jne 0x40d6ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d75f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d75f
push eax
call fcn.0040a34d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44e814], eax
call esi
push eax
call fcn.0040a34d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44e818], eax
call esi
push eax
call fcn.0040a34d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44e81c], eax
call esi
push eax
call fcn.0040a34d
pop ecx
mov dword [0x44e824], eax
test eax, eax
je 0x40d6ae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a34d
pop ecx
mov dword [0x44e820], eax
mov eax, dword [0x44e820]
cmp eax, ebx
je 0x40d706
cmp dword [0x44e824], ebx
je 0x40d706
push eax
call fcn.0040a3c8
push dword [0x44e824]
mov esi, eax
call fcn.0040a3c8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d706
test edi, edi
je 0x40d706
call esi
test eax, eax
je 0x40d6fd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d6fd
test byte [ebp - 0xc], 1
jne 0x40d706
or dword [ebp + 0x10], 0x200000
jmp 0x40d73f
mov eax, dword [0x44e818]
cmp eax, ebx
je 0x40d73f
push eax
call fcn.0040a3c8
pop ecx
test eax, eax
je 0x40d73f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d73f
mov eax, dword [0x44e81c]
cmp eax, ebx
je 0x40d73f
push eax
call fcn.0040a3c8
pop ecx
test eax, eax
je 0x40d73f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e814]
call fcn.0040a3c8
pop ecx
test eax, eax
je 0x40d75f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d761
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4029a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4029b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4029cd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4029ee
cmp esi, eax
jae 0x4029c7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4029e0
cmp esi, eax
jae 0x4029c7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40c9b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x40ca0c
call fcn.0042aa02
mov edi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x40ca0c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x40ca02
xor eax, eax
jmp 0x40cb25
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x40ca3c
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x40ca3c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x40cb22
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x40ca69
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00405842
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x40cb22
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40cab2
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x40cab2
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x40caac
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00405842
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40cb12
and dword [ebp + 0xc], 0
jmp 0x40cb12
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x40cb12
push 0xc
call fcn.0041ad18
mov esi, eax
test esi, esi
pop ecx
je 0x40caf4
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x40caf6
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x40cb0d
push dword [ebp - 8]
call fcn.0041a7c4
jmp 0x40cb12
call fcn.0041a79b
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x40ca77
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc