joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cf50
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
mov esi, dword [esp + 0x134]
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41cfe1
lea eax, [esp + 8]
mov dword [esp + 8], 0x128
push eax
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x41cfda
cmp dword [esp + 0x10], esi
je 0x41cfa0
lea ecx, [esp + 8]
push ecx
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x41cfda
cmp dword [esp + 0x10], esi
jne 0x41cf8b
push edi
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x140]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x128
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
xor al, al
pop ebx
add esp, 0x128
ret
Function at 0x41d030
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x48e67b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push ebp
mov ebp, dword [esp + 0x28c]
push esi
push edi
lea eax, [esp + 0x1c]
mov esi, dword [ebp]
push 0x92
push eax
call fcn.0041bb00
mov edx, dword [eax]
push esi
lea ecx, [ebp + 0x108]
push edx
push str._s__d
push ecx
mov dword [esp + 0x2c], ecx
call fcn.00452382
add esp, 0x18
lea ecx, [esp + 0x1c]
call fcn.0047a59e
push esi
push 0
push 0x1010
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
lea ebx, [ebp + 4]
mov dword [esp + 0x10], eax
test eax, eax
push ebx
push esi
je 0x41d0df
push eax
call fcn.0041cee0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x41d108
call fcn.0041cf50
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x41d11e
or eax, 0xffffffff
jmp 0x41d1d6
push 0x101
lea eax, [esp + 0x128]
xor esi, esi
push 0x160
push eax
push esi
push ebx
mov dword [esp + 0x24], esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x41d14d
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x10], ecx
mov edx, dword [0x4b3040]
mov dword [esp + 0x18], edx
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x28c], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x18]
push ecx
push ebx
push str.Getting_file_info:__s__d
push eax
call fcn.004732a2
lea ecx, [ebp + 0x28c]
lea edx, [esp + 0x30]
push ecx
add ebp, 0x20c
push edx
push ebp
push ebx
call fcn.0041bea0
add esp, 0x20
test al, al
je 0x41d1be
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [esp + 0x28c], 0xffffffff
call fcn.0047a59e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret
Function at 0x41d490
Capabilities:
Get disk size

Disassembly:
sub esp, 0x58
mov eax, dword [0x4af7a0]
push edi
mov dword [esp + 0x1c], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x60]
lea edx, [esp + 4]
add cl, 0x41
lea eax, [esp + 0xc]
mov byte [esp + 0x1c], cl
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExA]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x68]
cmp edx, eax
mov eax, dword [esp + 4]
pop edi
jl 0x41d4ec
jg 0x41d4e8
cmp eax, dword [esp + 0x60]
jbe 0x41d4ec
xor eax, eax
xor edx, edx
add esp, 0x58
ret
Function at 0x422630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov eax, 0x1111110e
mov edx, 0x101110e
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x40074]
push esi
mov esi, 0xe111111
cmp edx, eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x2020207
mov dword [esp + 0x40], 0x2060202
mov dword [esp + 0x44], 0x408101f
mov dword [esp + 0x48], 0xe110102
mov dword [esp + 0x50], 0xe110106
mov dword [esp + 0x54], 0x121f0202
mov dword [esp + 0x58], 0x2060a0a
mov dword [esp + 0x60], 0x1f10101e
mov dword [esp + 0x68], 0xe11101e
mov dword [esp + 0x6c], 0x4040808
mov dword [esp + 0x70], 0x1f010202
mov dword [esp + 0x78], 0xe11110e
mov dword [esp + 0x7c], 0xf01110e
mov dword [esp + 0x80], esi
jge 0x4226e9
mov eax, dword [ecx + 0x4006c]
mov dword [esp + 0x18], eax
jmp 0x4226f3
mov ecx, dword [ecx + 0x40070]
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp edx, 0x63
setg cl
add ecx, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x24], ecx
lea eax, [ecx - 1]
test eax, eax
jle 0x422721
mov esi, dword [esp + 0xc]
lea esi, [esi + esi*4]
shl esi, 1
dec eax
mov dword [esp + 0xc], esi
jne 0x422711
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x422821
push ebp
mov dword [esp + 0x24], ecx
mov eax, edx
mov ecx, 0xa
cdq
idiv dword [esp + 0x10]
cdq
idiv ecx
mov ecx, 5
mov dword [esp + 0x14], ecx
cmp edx, 1
mov dword [esp + 0x2c], edx
jne 0x422763
mov dword [esp + 0x14], 3
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x37]
mov ebx, 0xb
mov dword [esp + 0x20], edi
xor esi, esi
test ecx, ecx
jle 0x4227d6
mov ebp, dword [esp + edx*8 + 0x38]
mov edx, dword [esp + edx*8 + 0x3c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov ecx, edi
mov eax, ebp
call fcn.00453050
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x4227c6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
mov eax, esi
push ebx
sub eax, edx
lea edx, [eax + ecx + 3]
push edx
call fcn.004225c0
add esp, 0x14
mov eax, dword [esp + 0x14]
inc esi
dec edi
cmp esi, eax
jl 0x422781
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov edi, dword [esp + 0x20]
sub edi, 8
dec ebx
cmp ebx, 3
mov dword [esp + 0x20], edi
jg 0x42276f
mov eax, 0x66666667
imul dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx + 1]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x422736
pop ebp
cmp edx, 0x64
jge 0x42286b
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ebx
push esi
push edi
push 0xb
push 0xf
call fcn.004225c0
push ebx
push esi
push edi
push 0xc
push 0xe
call fcn.004225c0
push ebx
push esi
push edi
push 0xa
push 0xe
call fcn.004225c0
push ebx
push esi
push edi
push 0xb
push 0xd
call fcn.004225c0
add esp, 0x50
pop edi
pop esi
pop ebx
add esp, 0x78
ret 0xc
Function at 0x4246b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x32c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x90]
push edi
add edx, 0x104
lea ecx, [eax + 0x40]
add eax, 0x14
push ecx
push eax
push edx
lea eax, [esp + 0xb4]
push str._s_s__s.hdt
push eax
call fcn.00452382
lea ecx, [esp + 0xbc]
push ecx
call fcn.0041ca60
add esp, 0x18
test al, al
je 0x4248d8
push 0x180
lea edx, [esp + 0xac]
push 0x8102
push edx
call fcn.0045f57a
mov ebp, eax
push ebp
call fcn.00472985
add esp, 0x10
test eax, eax
jne 0x42480f
mov ecx, 0x25
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push 4
lea eax, [esp + 0x18]
push str.HDT0
push eax
call fcn.00453180
mov edx, dword [ebx + 0x8c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
lea edi, [edx + 0x14]
lea esi, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x40]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x13c]
and ecx, 3
push 0x1004
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx + 0x60]
push eax
mov dword [esp + 0x60], ecx
mov edx, dword [edx + 0x64]
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov dword [esp + 0x64], eax
test eax, eax
jle 0x4247fa
lea edi, [ebx + 0x120]
push esi
mov ecx, edi
call fcn.00428ea0
mov cl, byte [eax + 0xc]
mov byte [esp + esi + 0x68], cl
mov dl, byte [eax + 0xd]
mov byte [esp + esi + 0x88], dl
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x4247d8
lea eax, [esp + 0x14]
push 0x94
push eax
push ebp
call fcn.0045cfd7
add esp, 0xc
jmp 0x42482d
lea ecx, [esp + 0x14]
push 0x94
push ecx
push ebp
call fcn.0045cd99
add esp, 0xc
cmp eax, 0x94
jne 0x4248d8
lea edx, [esp + 0x14]
push 0x4b176c
push edx
call fcn.00453280
add esp, 8
test eax, eax
je 0x4248d8
push 2
push 0
push ebp
call fcn.004537cc
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x1b8]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x4248af
add ebx, 0x120
lea edi, [esp + 0x1bc]
push esi
mov ecx, ebx
call fcn.00428ea0
mov edx, dword [eax]
mov ecx, edi
inc esi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x64]
cmp esi, eax
jl 0x424889
lea ecx, [esp + 0x1ac]
push 0x190
push ecx
push ebp
call fcn.0045cfd7
push ebp
call fcn.0045b52c
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x32c
ret
Function at 0x42d050
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x324
lea eax, [esp]
lea ecx, [esp + 4]
push edi
push eax
push 0x320
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x42d091
mov edi, dword [esp + 4]
shr edi, 2
test edi, edi
jle 0x42d091
push esi
lea esi, [esp + 0xc]
mov edx, dword [esi]
push edx
call fcn.0042b270
add esp, 4
add esi, 4
dec edi
jne 0x42d07f
pop esi
pop edi
add esp, 0x324
ret
Function at 0x42ff90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov ebp, dword [esi + 0x3c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0x64
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x70]
add eax, ecx
add ebp, 0x10c824
cdq
mov ebx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push 0
push 0x3e8
push eax
push ecx
call fcn.00452490
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push edx
push eax
call fcn.004523e0
cmp edx, edi
jl 0x42fff6
jg 0x42fff0
cmp eax, dword [esp + 0x1c]
jbe 0x42fff6
mov dword [esp + 0x1c], eax
mov edi, edx
mov eax, dword [esp + 0x10]
add ebp, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x42ffc3
mov eax, dword [esp + 0x1c]
push 0
add eax, 0x63
push 0x64
adc edi, 0
push edi
push eax
call fcn.004523e0
push 0
push 0x64
push edx
push eax
call fcn.00452490
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x7c], edx
mov edx, dword [esi + 0x78]
cmp edx, eax
jne 0x430135
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
jne 0x430135
xor ecx, ecx
jmp 0x43004e
mov ebx, dword [esp + 0x14]
mov edi, dword [esi + 0x5c]
mov eax, 0x51eb851f
mov edx, edi
mov ebp, dword [esi + 0x4c]
imul edx, ecx
imul edx
sar edx, 5
mov eax, edx
push 0
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
add edx, ebp
push 0x3e8
mov dword [esp + 0x24], edx
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
imul edx, edi
imul edx
sar edx, 5
mov eax, edx
mov edi, dword [esi + 0x70]
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x3c]
lea edx, [edx + ebp - 2]
mov ebp, dword [esi + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + ecx*8 + 0x10c828]
push edx
mov eax, dword [eax + ecx*8 + 0x10c824]
push eax
call fcn.00452490
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push edx
push eax
call fcn.004523e0
mov ebx, edi
mov edi, ebp
sub ebx, eax
mov eax, dword [esi + 0x60]
sbb edi, edx
cdq
push edi
push ebx
push edx
push eax
call fcn.00452490
mov ecx, dword [esi + 0x70]
push ebp
push ecx
push edx
push eax
call fcn.004523e0
mov ecx, dword [esi + 0x50]
add eax, ecx
mov ecx, dword [esi + 0x58]
dec ecx
cmp edi, ebp
jg 0x430128
jl 0x4300fa
cmp ebx, dword [esi + 0x70]
jae 0x430128
mov edi, dword [esp + 0x1c]
push 0xff80
push 0x8040
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0042fa60
mov ecx, dword [esp + 0x10]
cmp ecx, 0x64
jl 0x43004a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x432180
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersion]
cmp eax, 0x80000000
pop edi
jae 0x432206
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x4321be
call fcn.00432260
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x4321d3
mov eax, 5
add esp, 0x94
ret
cmp eax, 5
jne 0x4321ec
mov eax, dword [esp + 8]
test eax, eax
jne 0x4321ee
mov eax, 6
add esp, 0x94
ret
jb 0x4321fa
mov eax, 7
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
cmp al, 4
jae 0x432213
xor eax, eax
add esp, 0x94
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
jne 0x432227
call fcn.00432260
cmp dword [esp + 4], 4
jne 0x43224d
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x432243
mov eax, 3
add esp, 0x94
ret
cmp eax, 0x5a
mov eax, 4
je 0x432252
mov eax, 2
add esp, 0x94
ret

Function at 0x439e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], vtable.CFont.0
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
lea edx, [esp + 0x18]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
sub eax, esi
neg ecx
sbb ecx, ecx
mov dword [esp + 0x24], eax
and ecx, 0x12c
mov edi, str.Marlett
add ecx, 0x190
xor eax, eax
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], ebx
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.0047da9d
mov esi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
push 1
mov ecx, esi
mov edi, eax
call fcn.0047d1ee
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x14]
push 0x21
push eax
lea ecx, [esp + 0x80]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x68]
push ebx
mov ecx, esi
call fcn.0047d1ee
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x28]
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call fcn.0047daf4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
Function at 0x43a9c0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490bd8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.0043b720
mov edi, eax
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x43aaf8
push ebx
push ebp
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x44], eax
call fcn.0047cf69
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.0047cec7
test ebx, ebx
mov dword [esp + 0x38], 0
jne 0x43aa23
xor eax, eax
jmp 0x43aa26
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.0047cf7e
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, edx
sub ecx, ebp
add eax, 0xa
add ecx, 0xa
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.0047da9d
test esi, esi
je 0x43aa7b
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x24]
push esi
push edx
call fcn.0047d0bf
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0xa
sub ecx, dword [esp + 0x10]
add ecx, 0xa
test ebx, ebx
je 0x43aaad
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
push ebp
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
pop ebp
pop ebx
test esi, esi
je 0x43aacf
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.0047d0bf
mov edx, dword [esp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047cffc
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x43de50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea edx, [esp + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.MicrosoftWindowsCurrentVersionRun
push ecx
call esi
lea edx, [esp + 0x10]
push 0x104
push edx
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x43df03
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x4ae420
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 8], eax
pop edi
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 4]
pop esi
test eax, eax
sete al
add esp, 0x110
ret

Function at 0x43df30
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push str.MicrosoftWindowsCurrentVersionRun
push edx
call esi
mov esi, eax
test esi, esi
jne 0x43df83
mov eax, dword [esp + 8]
push 0x4ae420
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
test esi, esi
pop edi
pop esi
sete al
add esp, 8
ret

Function at 0x441d30
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x4b61c0
jmp 0x441d30
push esi
mov esi, ecx
push str.uxtheme.dll
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x441d9a
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.IsThemeActive
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CloseThemeData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push str.GetThemeBackgroundContentRect
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret