joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ae30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4928
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00475730
test eax, eax
je 0x47af38
lea ecx, [esp + 0xc]
call fcn.004474c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00475730
mov ecx, eax
call fcn.00472ec0
test eax, eax
je 0x47af1f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x47af1f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x47af1f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004476c0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x47af01
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x47af1f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x538040]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x50be70
call fcn.004476c0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x47af80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00475730
test eax, eax
je 0x47b06f
mov ecx, edi
call fcn.00475730
mov ecx, eax
call fcn.00472d70
test eax, eax
jne 0x47b06f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47b06f
mov eax, dword [0x538040]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x47afe2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00475730
mov ecx, eax
call fcn.00472fa0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x47b06f
cmp ebx, eax
jne 0x47b06f
cmp dword [esp + 0x10], eax
jne 0x47b055
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x47dcb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4bb8
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 0x47dce9
inc eax
mov dword [esi + 0x10], eax
jmp 0x47ddfc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x47dcfd
mov eax, 0xffffffc7
jmp 0x47ddfe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x47dd0e
cmp dword [esi + 8], eax
jne 0x47dcfd
cmp dword [esi + 8], eax
jne 0x47dd27
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x47dd27
mov eax, 0xffffffc7
jmp 0x47ddfe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x47dd3b
push eax
mov ecx, ebx
call fcn.0047d4e0
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.004474c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x47dd6c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004474e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0047cc50
test eax, eax
mov dword [esp + 0x38], eax
je 0x47dd9f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50be70
call fcn.004476c0
mov eax, dword [esp + 0x38]
jmp 0x47ddfe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0047db10
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x47dde3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0047db30
mov esi, eax
test esi, esi
jne 0x47de13
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0047db10
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x47ddb5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x50be70
call fcn.004476c0
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], 0x50be70
call fcn.004476c0
mov eax, esi
jmp 0x47ddfe

Function at 0x480f30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x480f90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x480f90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x480f90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x480f90
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 0x480fd0
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 0x486f10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b51e8
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.004ad7ce
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004868b0
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.004ad6fc
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.004a9fc0
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.004a9fc0
push 1
push 0
push 0
mov ecx, esi
call fcn.004a9f68
push 1
push 0
push 1
mov ecx, esi
call fcn.004a9f68
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004ad840
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x487090
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5208
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.004ad7ce
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004868b0
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.004ad6fc
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 0x487154
cmp dword [esp + 0x40], 1
jne 0x487152
cmp ecx, eax
jge 0x487154
mov eax, ecx
cmp eax, 0xc8
jge 0x487160
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00486f10
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.004ad840
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4878d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5273
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.004a83e1
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.004ada76
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004aefd5
test eax, eax
je 0x4879ec
mov ecx, dword [esp + 0x3c]
call fcn.004adaa3
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 0x4879b0
push edi
mov ecx, esi
call fcn.004ab10f
mov ecx, esi
call fcn.00487b50
cmp dword [esp + 0x38], 1
jne 0x4879e5
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.004ab24a
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 0x48a420
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x48a453
push esi
call fcn.0048d530
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x48a44c
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 0x48a4d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x48a4c2
mov eax, dword [esi + 8]
test eax, eax
je 0x48a477
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 0x48a4be
cmp eax, 2
je 0x48a4c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x48a46a
cmp eax, 3
je 0x48a49d
cmp eax, 1
jne 0x48a46a
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 0x48a46a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x48a46a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0048a500
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x48a4e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0048a500
add esp, 4
pop esi
ret

Function at 0x4a91d6
Capabilities:
Get graphical window text

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

Function at 0x4aa8c4
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 0x4aa906
call fcn.004b03bb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4aa906
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4aa8fd
xor eax, eax
jmp 0x4aa90e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004aa914
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b08eb
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 0x4b0919
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0937
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b0851
jmp 0x4b0937
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b0937
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b0851
test edi, edi
mov eax, edi
jne 0x4b0921
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402d40
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
mov cl, byte [esi + 0x1f1]
lea eax, [esi + 0x1f1]
test cl, cl
je 0x402dc7
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x4575c8
push 0
push eax
push 0x80000001
mov dword [esp + 0x28], 0
call dword [0x446018]
test eax, eax
jne 0x402dc7
push edi
mov edi, dword [0x44601c]
lea edx, [esi + 0x70c]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.IdxNextImage
push eax
call edi
mov ecx, dword [esp + 8]
add esi, 0x710
push 4
push esi
push 4
push 0
push str.IdxNextSound
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [0x446008]
pop edi
pop esi
pop ecx
ret
Function at 0x40a390
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x451e54]
sub esp, 0xc
test eax, eax
je 0x40a44d
mov eax, dword [0x458b0c]
test eax, eax
je 0x40a3ae
call fcn.0040a460
lea eax, [esp]
push eax
push 0x4472c0
push 0x80000001
call dword [0x446014]
test eax, eax
jne 0x40a44d
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.ScreenSaveUsePassword
push eax
mov dword [esp + 0x1c], 4
call dword [0x446004]
test eax, eax
jne 0x40a442
mov eax, dword [esp + 8]
test eax, eax
je 0x40a442
push str.PASSWORD.CPL
call dword [0x44629c]
test eax, eax
mov dword [0x458b0c], eax
je 0x40a442
push str.VerifyScreenSavePwd
push eax
call dword [0x4462a0]
test eax, eax
mov dword [0x458b08], eax
je 0x40a43d
push 1
call fcn.0040a1c0
mov ecx, dword [esp + 4]
add esp, 4
push ecx
call dword [0x446008]
add esp, 0xc
ret
call fcn.0040a460
mov ecx, dword [esp]
push ecx
call dword [0x446008]
add esp, 0xc
ret
Function at 0x40cb80
Capabilities:
Capture screenshot

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jge 0x40cc5b
mov eax, dword [esi + 4]
test eax, eax
je 0x40cbf1
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x40cbf1
mov ebx, dword [0x44606c]
imul eax, dword [esi + 0x18]
mov edx, dword [esi + 4]
add eax, edi
mov ebp, dword [esp + 0x18]
push 0xcc0020
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [edx + ecx*4 + 4]
mov edx, dword [eax]
push ecx
push edx
push ebp
mov ebp, dword [eax + 0xc]
sub ebp, ecx
mov ecx, dword [eax + 8]
sub ecx, edx
push ebp
movsx edx, word [eax + 0x12]
movsx eax, word [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call ebx
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x40cbab
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40cc5b
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
jle 0x40cc5b
imul eax, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
add eax, edi
shl eax, 5
add eax, edx
push 0xcc0020
mov ebp, dword [eax + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x14], ebp
mov ebp, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
sub ebp, ecx
push ebp
mov ebp, dword [eax + 8]
sub ebp, edx
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x28]
sub edx, ebx
sub ecx, eax
push edx
mov edx, dword [esp + 0x38]
push ecx
push ebx
push eax
push edx
call dword [0x44604c]
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jl 0x40cc01
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40cc66
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
xor ecx, ecx
cmp eax, edx
pop edi
pop esi
setl cl
pop ebp
mov eax, ecx
pop ebx
pop ecx
ret 0xc

Function at 0x40f8c0
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 [0x44600c]
mov esi, eax
test esi, esi
jne 0x40f922
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 [section..rdata]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [0x4461b8]
mov edx, dword [esp + 4]
push edx
call dword [0x446008]
mov eax, esi
pop esi
add esp, 0x10c
ret
Function at 0x40f930
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebx
push 0
push 0
push ebp
push str.open
push 0
mov dword [esp + 0x28], 0
call dword [0x4462e0]
cmp eax, 0x20
jg 0x40fa19
lea eax, [esp + 0x14]
push eax
push str..htm
push 0x80000000
call fcn.0040f8c0
add esp, 0xc
test eax, eax
jne 0x40fa21
mov edi, dword [0x4461ac]
lea ecx, [esp + 0x14]
push str._shellopencommand
push ecx
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x14]
push edx
push eax
push 0x80000000
call fcn.0040f8c0
add esp, 0xc
test eax, eax
jne 0x40fa21
lea ecx, [esp + 0x14]
push str.__1_
push ecx
call fcn.00411810
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f9f9
lea edx, [esp + 0x14]
push 0x451fdc
push edx
call fcn.00411810
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f9f9
lea eax, [esp + 0x14]
push eax
call dword [0x4461f0]
lea esi, [esp + eax + 0x13]
jmp 0x40f9fc
mov byte [esi], 0
push 0x451fd8
push esi
call edi
push ebp
push esi
call edi
lea ecx, [esp + 0x14]
push ebx
push ecx
call dword [0x446284]
cmp eax, 0x1f
jbe 0x40fa21
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x41ffba
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
cmp dword [esi + 0x10], 0xca
jne 0x41ffec
push esi
call fcn.00424c95
cmp byte [esi + 0x40], 0
je 0x41ffe5
mov dword [esi + 0x10], 0xcf
mov al, 1
jmp 0x420084
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x42005d
mov eax, dword [esi + 0x1c4]
cmp byte [eax + 0x10], 0
je 0x420052
mov eax, dword [esi + 8]
test eax, eax
je 0x42000e
push esi
mov ecx, ebx
call dword [eax]
mov eax, dword [esi + 0x1c4]
push esi
mov ecx, ebx
call dword [eax]
test eax, eax
je 0x42004e
cmp eax, 2
je 0x420052
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x420002
cmp eax, 3
je 0x420033
cmp eax, 1
jne 0x420002
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x420002
mov edx, dword [esi + 0x150]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x420002
xor al, al
jmp 0x420084
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x42007c
cmp eax, 0xcc
je 0x42007c
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x11
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
mov ecx, ebx
call dword [eax]
push esi
mov ecx, ebx
call fcn.00420089
pop esi
pop ebx
ret 4
Function at 0x4344b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x446030]
mov edi, dword [ebp + 8]
push edi
call dword [0x4463b8]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00410b30
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x43457b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x4463bc]
test eax, eax
je 0x43457b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43452e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x434539
or bh, 8
and edi, 0x8000000
je 0x434554
mov eax, dword [0x45c27c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x446064]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [0x44641c]
test edi, edi
je 0x43457b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x446064]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43deff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x43df1c
cmp dword [0x45a994], edi
jne 0x43e06e
cmp word [0x45a9a0], di
mov dword [0x45a994], 1
jne 0x43df4e
push str.MSH_SCROLL_LINES_MSG
call dword [0x4463f8]
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
mov dword [0x45a99c], eax
mov word [0x45a9a0], cx
cmp word [0x45a9a0], 2
jne 0x43df8a
push str.Magellan_MSWHEEL
push str.MouseZ
call dword [0x446490]
cmp eax, edi
je 0x43df8a
mov ecx, dword [0x45a99c]
cmp ecx, edi
je 0x43df8a
push edi
push edi
push ecx
push eax
call dword [0x4464ac]
mov dword [0x45a998], eax
jmp 0x43e073
push 0x94
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.00411af0
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
mov dword [0x45a998], 3
push eax
call dword [0x446210]
test eax, eax
je 0x43e06e
cmp dword [ebp - 0x8c], 1
je 0x43dfde
cmp dword [ebp - 0x8c], 2
jne 0x43e06e
cmp dword [ebp - 0x98], 4
jae 0x43e04d
lea eax, [ebp + 8]
push eax
push 1
push edi
push str.Control_PanelDesktop
push 0x80000001
call dword [0x44600c]
test eax, eax
jne 0x43e06e
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push str.WheelScrollLines
push dword [ebp + 8]
call dword [0x446004]
test eax, eax
jne 0x43e042
push 0xa
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00412450
add esp, 0xc
mov dword [0x45a998], eax
push dword [ebp + 8]
call dword [0x446008]
jmp 0x43e06e
cmp dword [ebp - 0x8c], 2
jne 0x43e06e
cmp dword [ebp - 0x98], 4
jb 0x43e06e
push edi
push 0x45a998
push edi
push 0x68
call dword [0x446434]
mov eax, dword [0x45a998]
pop edi
leave
ret