joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b030
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471918
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43b069
inc eax
mov dword [esi + 0x10], eax
jmp 0x43b17c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43b07d
mov eax, 0xffffffc7
jmp 0x43b17e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43b08e
cmp dword [esi + 8], eax
jne 0x43b07d
cmp dword [esi + 8], eax
jne 0x43b0a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43b0a7
mov eax, 0xffffffc7
jmp 0x43b17e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43b0bb
push eax
mov ecx, ebx
call fcn.0043a860
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00408a00
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43b0ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408a20
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00439fd0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43b11f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47e9c8
call fcn.00408c00
mov eax, dword [esp + 0x38]
jmp 0x43b17e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043ae90
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43b163
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043aeb0
mov esi, eax
test esi, esi
jne 0x43b193
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043ae90
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43b135
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47e9c8
call fcn.00408c00
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47e9c8
call fcn.00408c00
mov eax, esi
jmp 0x43b17e

Function at 0x43e2a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43e300
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43e300
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43e300
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43e300
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43e340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4444a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471f48
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.0046a940
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00443e40
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.0046a86e
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.00467134
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.00467134
push 1
push 0
push 0
mov ecx, esi
call fcn.004670dc
push 1
push 0
push 1
mov ecx, esi
call fcn.004670dc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a9b2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444620
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471f68
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.0046a940
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00443e40
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.0046a86e
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 0x4446e4
cmp dword [esp + 0x40], 1
jne 0x4446e2
cmp ecx, eax
jge 0x4446e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4446f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004444a0
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.0046a9b2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x444e60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471fd3
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.00465550
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.0046abe8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046c147
test eax, eax
je 0x444f7c
mov ecx, dword [esp + 0x3c]
call fcn.0046ac15
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 0x444f40
push edi
mov ecx, esi
call fcn.0046827f
mov ecx, esi
call fcn.004450e0
cmp dword [esp + 0x38], 1
jne 0x444f75
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.004683ba
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 0x4479b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4479e3
push esi
call fcn.0044aaa0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4479dc
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 0x447a69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447a52
mov eax, dword [esi + 8]
test eax, eax
je 0x447a07
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 0x447a4e
cmp eax, 2
je 0x447a52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4479fa
cmp eax, 3
je 0x447a2d
cmp eax, 1
jne 0x4479fa
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 0x4479fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4479fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447a90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447a78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447a90
add esp, 4
pop esi
ret

Function at 0x466345
Capabilities:
Get graphical window text

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

Function at 0x467a3c
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 0x467a7e
call fcn.0046d537
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467a7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467a75
xor eax, eax
jmp 0x467a86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467a8c
pop edi
pop esi
pop ebx
ret 4

Function at 0x46da67
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 0x46da95
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46dab3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d9cd
jmp 0x46dab3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46dab3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d9cd
test edi, edi
mov eax, edi
jne 0x46da9d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4029ba
Capabilities:
Accept command line arguments

Disassembly:
push 0x18
push 0x407288
call fcn.0040477c
mov ebx, 0x94
push ebx
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4029fb
mov dword [esi], ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
test eax, eax
jne 0x402a05
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0xff
jmp 0x402b52
mov eax, dword [esi + 0x10]
mov dword [0x40a67c], eax
mov eax, dword [esi + 4]
mov dword [0x40a688], eax
mov eax, dword [esi + 8]
mov dword [0x40a68c], eax
mov eax, dword [esi + 0xc]
and eax, 0x7fff
mov dword [0x40a680], eax
xor ebx, ebx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x40a67c], 2
je 0x402a46
or byte [0x40a681], 0x80
mov eax, dword [0x40a688]
shl eax, 8
add eax, dword [0x40a68c]
mov dword [0x40a684], eax
call fcn.0040295e
mov dword [ebp - 0x1c], eax
push ebx
call fcn.00404727
pop ecx
test eax, eax
jne 0x402a8d
cmp dword [0x40a6c8], 2
je 0x402a7a
call fcn.00403f8f
push 0x1c
call fcn.00403e2e
push 0xff
call fcn.00402710
pop ecx
pop ecx
mov dword [ebp - 4], ebx
call fcn.0040454a
test eax, eax
jge 0x402aa1
push 0x1b
call fcn.00402936
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40bf40], eax
call fcn.00404424
mov dword [0x40a6c0], eax
call fcn.00404383
test eax, eax
jge 0x402ac7
push 8
call fcn.00402936
pop ecx
call fcn.00404139
test eax, eax
jge 0x402ad8
push 9
call fcn.00402936
pop ecx
call fcn.0040275c
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x402aeb
push eax
call fcn.00402936
pop ecx
mov eax, dword [0x40a69c]
mov dword [0x40a6a0], eax
push eax
push dword [0x40a694]
push dword [0x40a690]
call fcn.00401bb0
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], ebx
jne 0x402b1a
push esi
call fcn.00402830
call fcn.0040285a
jmp 0x402b4c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004047b7
ret
Function at 0x4023b0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
je 0x40240c
mov eax, dword [esp + 0xc]
push 0x42b054
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40240c
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push esi
push 1
lea ecx, [edi + 0x70]
push 0xe
push ecx
call ebx
push esi
push 1
lea edx, [edi + 0x80]
push 0x28
push edx
call ebx
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x68]
push esi
push 1
push eax
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x34
pop ebx
pop edi
pop esi
ret 4

Function at 0x406e50
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4214a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 1
call fcn.00406e10
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_4
push eax
call edi
or ebp, 0xffffffff
mov dword [esi + 4], eax
cmp eax, ebp
je 0x406f0a
mov ecx, dword [esp + 0x28]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push ecx
call edi
cmp eax, ebp
mov dword [esi + 8], eax
je 0x406f0a
lea edx, [esp + 0x28]
lea ecx, [esi + 0x1c]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x10]
push eax
push ebx
push esi
push 0x406f70
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xc], eax
call edi
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x406f0a
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x14], eax
je 0x406f0a
cmp dword [esi + 0xc], ebx
jne 0x406f2f
mov ecx, esi
call fcn.00406e10
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebp
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406f4e
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebp
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4070a0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x407145
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x4070e4
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call ebx
mov dword [esi + 0xc], edi
jmp 0x40714b
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x40711f
cmp edi, 4
je 0x40711f
cmp dword [esp + 0x10], 0x103
jne 0x407131
mov edx, dword [esi + 0x10]
push edx
call ebx
push 2
call ebp
jmp 0x40712b
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
inc edi
cmp edi, 5
jl 0x4070f1
mov ecx, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
xor edi, edi
push ecx
call ebx
mov dword [esi + 0xc], edi
jmp 0x40714b
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x407158
push eax
call ebx
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x407165
push eax
call ebx
mov dword [esi + 0x14], edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x407b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push Ordinal_4
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407b84
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407b79
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret

Function at 0x410050
Capabilities:
Encode data using xor

Disassembly:
sti
ljmp 0xd481
xor esp, dword [ebx + 0x4d]
cmp bh, byte [ecx + ebp*4 + 0x61]
jl 0x40fffb
popal
jl 0x40fffb
popal
xor ch, dl
and dh, dl
stosd dword es:[edi], eax
jecxz 0x41004c
sub esp, dword [ebp - 0x4e]
sub cl, byte [eax - 0x3d6e58ef]
mov al, byte [0x7c97be86]
das
xchg dword [esi - 0x1cf129c9], edi
ret 0xe8d7
Function at 0x412000
Capabilities:
Encode data using xor

Disassembly:
xor dh, byte [ecx]
adc esi, dword [ebp - 0x6cd98b0b]
cli
sahf
mov byte [0xf03ff4f6], al
aad 0x75
invalid
mov cl, 0x53
pop es
mov ecx, 0x175dbe91
fsub dword [edi - 0x5c]
cdq
jp 0x411fb7
push esp
push ss
inc ecx
xor byte [ebx - 0x3a], bl
pop ss
adc ebp, ecx
and ch, byte [eax]
sar dword [ebx - 0x66], cl
push eax
pop ebp
outsd dx, dword [esi]
call 0x5aca6527
mov cl, 0xb8
inc esi
or edi, ebp
pushal
xor byte [ecx + 0x22457b1f], 0xb0
cmp dword [edx], 0x40
xor dword [esi - 0x54], 0xffffffdf
pop edi
scasb al, byte es:[edi]
mov byte [ebx - 0x52], al
jnp 0x411f6d
add byte [edx], bl
invalid
in al, dx
in al, 0x60
vmovlps xmm0, xmm6, qword ds:[edx + 0x2189aae3]
jge 0x41203c
das
adc al, 0x36
or eax, 0xe87a5231
jp 0x411fa8
lea edi, [esi]
lds edx, [ebp + 0x1ec56c85]
lds ebx, [esi]
cmpsb byte [esi], byte es:[edi]
push ss
xchg ecx, eax
push 0x63
nop
int 5
nop
cmpsb byte [esi], byte es:[edi]
add bl, 0xc1
daa
pop eax
jns 0x411fb6
push ss
add eax, 0x8d48b016
or eax, 0x70000357
call dword [0x43006136]
mov esi, dword [edx + 0x35]
add byte [ebx - 0x75], al
jb 0x41207a
movsb byte es:[edi], byte [esi]
mov ebp, 0x1f19cdf3
daa
sub ecx, esi
adc dword [ebp + 1], eax
add ecx, eax
sub dword fs:[edx], edx
jae 0x412040
not dword [esi + 0x3f]
rcr byte [edi - 0x3e5f7563], 0x54
or dh, byte [esi]
arpl word [edx - 0x754baa6d], dx
stosd dword es:[edi], eax
jp 0x41201e
dec esi
xchg edi, eax
pop ecx
mov edx, 0xb623b048
movsd dword es:[edi], dword [esi]
jo 0x4120de
pop ss
fcmovb st(0), st(5)
cmp bl, 0x81
sar dword [ebp + 0xc1a2616], 0xfd
inc eax
call dword [eax + 0x3d99b3ca]
mov bh, 0x69
pop esp
fld xword [esi]
jle 0x412090
mov al, dl
scasb al, byte es:[edi]
mov cl, 0x66
int3
cmp cl, byte [eax - 0x3f634eb0]
mov byte [0xcaf2ea27], al
mov al, 0x85
and eax, 0x9098a00a
nop
lcall 0x599, 0x628c8985
xor esi, eax
or eax, 0x76a57a69
adc al, 0x81
pop esp
cmp dword [edi], 0xffffff90
push 0x69afbc26
pop ebx
and dword [ecx - 0x2f9eb76b], esi
xor byte [eax - 0x2eb3e774], 0x29
adc byte [edi], ch
sbb dl, byte [edi - 0x1b]
jne 0x4120ef
xchg byte [ecx - 0x5c], al
sbb ecx, esp
mov eax, 0x891112f5
daa
inc ebx
enter 0x100e, 0xffffffffffffffb5
sub al, byte [ebp + 0x2e]
aam 0x48
or eax, esi
adc al, 0xe4
dec edi
dec edi
mov byte [0x42702ba8], al
xchg ecx, eax
int3
Function at 0x41a400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4232c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
mov bl, 3
push 4
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
push 2
lea ecx, [esp + 0x18]
push 4
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
push 2
lea edx, [esp + 0x18]
push 6
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x34]
test esi, esi
je 0x41a52f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
inc ecx
push edx
mov dword [esi], 1
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call edi
push ebp
mov dword [esp + 0x44], eax
call edi
push ebx
mov ebp, eax
call edi
mov ecx, dword [esp + 0x48]
add esp, 0xc
push 0
push 0
push 0
push ecx
push ebp
push eax
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_COleDateTime::SetDateTime
pop edi
pop ebp
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10