joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451500
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451512
add esp, 0xfffffff0
call fcn.004032c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418c2c
mov eax, ebx
call fcn.0045184c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x44dff0
push eax
push 0
push 0
mov eax, dword [0x503390]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a0f4]
call fcn.0041b6cc
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x41a0f4]
call fcn.0041b6cc
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x41a0f4]
call fcn.0041b6cc
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00451cbc
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451b90
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451b90
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451b90
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451621
call fcn.00403318
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451974
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451b1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x451b00
mov dl, 1
mov eax, dword [0x4104dc]
call fcn.00402f50
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403ccc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451aef
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043fb14
test al, al
je 0x451ae2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x451b30
lea eax, [ebp - 0x254]
call fcn.0040a108
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451ae2
xor eax, eax
push ebp
push 0x451adb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x451b68
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451ac4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403efc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x451ac4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403efc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451ae2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4519e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413e70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451b26
lea eax, [ebp - 0x260]
call fcn.00403ccc
ret

Function at 0x4523b4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5047d8]
cmp byte [eax + 0x95], 0
jne 0x452425
cmp dword [0x5047f4], 0
jne 0x4523e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452370
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5047f4], eax
cmp dword [0x5047f0], 0
jne 0x452401
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5047f0], eax
cmp dword [0x5047f8], 0
jne 0x452425
push esp
push 0
push 0
push 0x452314
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5047f8], eax
pop edx
ret
Function at 0x45251c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452533
add esp, 0xfffffff0
call fcn.004032c0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418c2c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40ffb0]
call fcn.00402f50
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41ab24]
call fcn.00422df8
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4526a8
mov eax, dword [0x503280]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004231c8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4540cc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x503280]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d1ac
test eax, eax
je 0x452626
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a3c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1d4
test eax, eax
je 0x45263a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403efc
mov eax, dword [0x50310c]
cmp byte [eax], 0
jne 0x45266b
mov eax, ebx
call fcn.00452794
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45269d
call fcn.00403318
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452a04
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5047d8]
cmp dword [eax + 0x24], 0
je 0x452aa7
cmp dword [ebx + 0x84], 0
jne 0x452aa1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452994
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x452aa1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452a6a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452aa1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00411c20
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452a79
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4534b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4534e9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403db4
jmp 0x4534f3
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403d20
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454440
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x454478
mov eax, esi
call fcn.0043b834
test al, al
je 0x454478
mov eax, dword [ebx + 0x74]
call fcn.0043b538
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454478
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45fef8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ffd0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x504870], 0
jne 0x45ffb4
lea eax, [ebp - 4]
mov edx, 0x45ffe8
call fcn.00403d64
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404110
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45ffb4
mov eax, ebx
call fcn.004027a4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45ffad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x45ff97
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45fff8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45ff97
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x504870], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ffb4
mov eax, dword [ebp - 0xc]
call fcn.004027bc
ret
mov ebx, dword [0x504870]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ffd7
lea eax, [ebp - 4]
call fcn.00403ccc
ret
Function at 0x46cb64
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cccd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403d64
mov eax, dword [ebp - 0x10]
call fcn.0046c8cc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46cbb6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404194
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046cfa0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46cc8b
xor eax, eax
push ebp
push 0x46cc84
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046ca3c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0046ccfc
test al, al
je 0x46cc62
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403db4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46cc62
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404110
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46cc5c
mov eax, dword [ebp - 0x14]
call fcn.00404110
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403e84
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046cb64
dec ebx
cmp ebx, 0xffffffff
jne 0x46cc15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cc8b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046ca3c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404110
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046ca28
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ccd4
lea eax, [ebp - 0x3c]
call fcn.00403ccc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403cf0
ret
Function at 0x46cc8b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cccd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403d64
mov eax, dword [ebp - 0x10]
call fcn.0046c8cc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46cbb6
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404194
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046cfa0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46cc8b
xor eax, eax
push ebp
push 0x46cc84
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046ca3c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0046ccfc
test al, al
je 0x46cc62
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403db4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46cc62
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404110
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46cc5c
mov eax, dword [ebp - 0x14]
call fcn.00404110
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403e84
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046cb64
dec ebx
cmp ebx, 0xffffffff
jne 0x46cc15
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cc8b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046ca3c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404110
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046ca28
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ccd4
lea eax, [ebp - 0x3c]
call fcn.00403ccc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403cf0
ret

Function at 0x46ccfc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402c7c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x5035b8]
cmp byte [edx + 8], 0
je 0x46cd60
mov edx, dword [0x5035b0]
cmp dword [edx], 2
jne 0x46cd60
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x46cec4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0046c8e0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404110
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46cf22
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x503398]
mov dl, 1
mov eax, dword [0x46c7d8]
call fcn.0040c568
call fcn.00403718
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46cf2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404110
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46cf84
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5035c4]
mov dl, 1
mov eax, dword [0x46c7d8]
call fcn.0040c568
call fcn.00403718
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046c910
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x470590
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x470712
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004701e4
mov eax, ebx
call fcn.0041bb98
dec al
je 0x4705d4
dec al
je 0x4705da
jmp 0x4705e0
mov byte [ebp - 0x77], 2
jmp 0x4705e4
mov byte [ebp - 0x77], 1
jmp 0x4705e4
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0041bb24
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.0041bb60
test al, 1
je 0x470630
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.0041bb60
test al, 2
je 0x470642
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.0041bb60
test al, 4
je 0x470654
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.0041bb60
test al, 8
je 0x470666
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0041bab0
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.00409ae8
mov edi, dword [ebx + 0x18]
cmp edi, 0x80000008
je 0x470699
cmp edi, 0x20000000
jne 0x4706a5
mov dword [ebp - 0x88], 0x40000000
jmp 0x4706af
mov eax, edi
call fcn.0041b3e0
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.0041bbc8
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0041b8b4
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x4706ec
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.00470250
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470719
lea eax, [ebp - 0x94]
call fcn.00403ccc
ret
Function at 0x4838b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4838e2
mov eax, ebx
call fcn.00484358
cmp dword [ebx + 0x3c], 0
je 0x4838db
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x483953
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x483945
cmp dword [ebx + 8], 0
je 0x483904
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x483916
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x483945
cmp dword [ebx + 8], 0
je 0x4838f7
cmp eax, 3
je 0x483929
dec eax
jne 0x4838f7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4838f7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4838f7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x483971
cmp dword [ebx + 0x10], 0xcc
je 0x483971
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048397c
pop ebx
ret

Function at 0x49447c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404110
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x494495
test al, 0x10
jne 0x494499
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x495c28
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, ecx
mov dword [ebp - 8], eax
dec edx
mov eax, edx
shl eax, 2
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x495c95
xor eax, eax
push ebp
push 0x495c8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495c95
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0b10
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [0x504e54]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
push 5
mov eax, dword [0x50353c]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x50353c]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_SetForegroundWindow
mov edx, 1
mov eax, ebx
call fcn.00434c7c
mov edx, 1
mov eax, ebx
call fcn.00434c9c
mov dword [ebx + 0x324], 1
pop ebx
ret

Function at 0x4a17e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x2e4], 1
jne 0x4a1867
cmp dword [ebx + 0x2e8], 0
jne 0x4a184a
mov eax, dword [0x50353c]
mov eax, dword [eax]
call fcn.0045085c
push 5
mov eax, dword [0x50353c]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5031d0]
mov eax, dword [eax]
cmp dword [eax + 0x324], 0
jne 0x4a1860
push 5
mov eax, dword [0x5031d0]
mov eax, dword [eax]
call fcn.0043b538
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5031d0]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x324], edx
jmp 0x4a1860
mov eax, dword [0x5032a4]
cmp dword [eax], 0
je 0x4a1860
mov eax, dword [0x5032a4]
mov eax, dword [eax]
call fcn.0045085c
mov eax, ebx
call fcn.004506a4
pop ebx
ret
Function at 0x4baa10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404100
xor eax, eax
push ebp
push 0x4baaf8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f4c
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404154
mov eax, dword [ebp - 0x28]
mov edx, 0x4bab0c
call fcn.0040405c
jne 0x4baa80
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f4c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404154
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x2c]
mov ecx, 0x4bab18
mov edx, dword [ebp - 4]
call fcn.00403f98
mov eax, dword [ebp - 0x2c]
call fcn.00404110
mov dword [ebp - 0x1a], eax
mov eax, 0x4bab1c
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x414
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
cmp ebx, 5
jne 0x4baad5
mov eax, dword [ebp - 4]
call fcn.004099b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4baaff
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 4]
call fcn.00403ccc
ret