joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443fac
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x443fc8
cmp dword [esi + 4], 0
je 0x443ff5
test byte [ebx + 0x55], 1
jne 0x443fe7
mov eax, ebx
call fcn.00442b4c
test eax, eax
jne 0x443fe7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x444105
mov edx, esi
mov eax, ebx
call fcn.00443ad0
jmp 0x444105
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4440fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445e1c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004407d4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00443fac
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445e1c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444105
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a724
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cb22c]
cmp byte [eax + 0xc], 0
je 0x44a891
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a88a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ccb2c], 0
jne 0x44a778
push 0x44a898
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a8a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb2c], eax
cmp dword [0x4c9d74], 0
jne 0x44a873
push 0x44a8b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c9d74], eax
cmp dword [0x4c9d74], 0
je 0x44a873
push 0x44a8bc
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb30], eax
push 0x44a8cc
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb34], eax
push 0x44a8e0
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb38], eax
push 0x44a8f8
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb3c], eax
push 0x44a910
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb40], eax
push 0x44a924
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb44], eax
push 0x44a93c
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb48], eax
push 0x44a954
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb4c], eax
push 0x44a970
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb50], eax
push 0x44a97c
mov eax, dword [0x4c9d74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccb54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a891
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e744
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404790
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44e793
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404a00
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455f3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455f8c]
test si, 4
je 0x455f50
or bl, 1
test si, 8
je 0x455f5a
or bl, 4
test si, 1
je 0x455f64
or bl, 8
test si, 2
je 0x455f6e
or bl, 0x10
test si, 0x10
je 0x455f78
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455f87
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455fc8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455fa9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455fb8
or bl, 4
test esi, 0x20000000
je 0x455fc3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c68c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c69e
add esp, 0xfffffff0
call fcn.00403bf4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427198
mov eax, dword [0x4cab4c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ca30
mov eax, dword [0x4cab64]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ca3c
mov eax, ebx
call fcn.0045ca48
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bb6c]
call fcn.0040384c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bb6c]
call fcn.0040384c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bb6c]
call fcn.0040384c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bb6c]
call fcn.0040384c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bb6c]
call fcn.0040384c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x458e60
push eax
push 0
push 0
mov eax, dword [0x4cae3c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4292d8]
call fcn.0042aa70
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4292d8]
call fcn.0042aa70
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4292d8]
call fcn.0042aa70
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ce98
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cd60
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cd60
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45cd60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c7db
call fcn.00403c4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45cb44
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 0x45ccef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ccd0
mov dl, 1
mov eax, dword [0x41c1d0]
call fcn.0040384c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404790
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45ccbf
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.0044aa84
test al, al
je 0x45ccb2
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, 0x45cd00
lea eax, [ebp - 0x254]
call fcn.0040a198
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45ccb2
xor eax, eax
push ebp
push 0x45ccab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45cd38
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45cc94
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404a00
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45cc94
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00404a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ccb2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45cbb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420b8c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ccf6
lea eax, [ebp - 0x260]
call fcn.00404790
ret

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

Disassembly:
push ecx
mov eax, dword [0x4ccb78]
cmp byte [eax + 0xa5], 0
jne 0x45d6a9
cmp dword [0x4ccb90], 0
jne 0x45d66a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d5f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ccb90], eax
cmp dword [0x4ccb8c], 0
jne 0x45d685
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4ccb8c], eax
cmp dword [0x4ccb94], 0
jne 0x45d6a9
push esp
push 0
push 0
push 0x45d598
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4ccb94], eax
pop edx
ret
Function at 0x45dd3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4ccb78]
cmp dword [eax + 0x30], 0
je 0x45dde6
cmp dword [ebx + 0x94], 0
jne 0x45dde0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45dccc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45dde0
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 0x45dda6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45dde0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e5d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ddb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e944
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e979
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404880
jmp 0x45e986
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45fb28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fb69
mov eax, esi
call fcn.004460f4
test al, al
je 0x45fb69
mov eax, dword [ebx + 0x84]
call fcn.00445e1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45fb69
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445e1c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x462d0c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x462da0
push 0
mov eax, ebx
call fcn.00404c50
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x462d7b
mov eax, esi
call fcn.00404a50
inc eax
push eax
mov eax, esi
call fcn.00404c50
push eax
push 1
push 0
mov eax, edi
call fcn.00404c50
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x462d96
mov ecx, dword [0x4cac18]
mov dl, 1
mov eax, dword [0x461338]
call fcn.0040d30c
call fcn.00404120
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x462dbc
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 dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404790
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404c50
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x462e63
xor eax, eax
push ebp
push 0x462e5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404ddc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404c50
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c50
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462e3e
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00404ddc
jmp 0x462e45
mov eax, ebx
call fcn.00404790
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462e63
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4860a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486221
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ca3c8], 0
jne 0x4861fe
push 0x4ccc04
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4861f7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ca3c8], 0
jne 0x4861df
mov dword [ebp - 4], 0x100
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404ddc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c50
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00408c1c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x486238
call fcn.0040a230
mov eax, dword [ebp - 0xc]
call fcn.00404c50
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x486160
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404ddc
jmp 0x486197
lea eax, [ebp - 8]
mov edx, 0x486258
call fcn.00404828
xor eax, eax
push ebp
push 0x48618d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00462e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486197
mov eax, dword [ebp - 8]
call fcn.00404c50
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ca3c8], eax
cmp dword [0x4ca3c8], 0
jne 0x4861ca
mov ecx, dword [0x4cadcc]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040d30c
call fcn.00404120
push 0x486264
mov eax, dword [0x4ca3c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ccc1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4861fe
push 0x4ccc04
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486228
lea eax, [ebp - 0x18]
call fcn.00404790
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004047b4
ret
Function at 0x48fb90
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x48fbcb
cmp dword [ebx + 0x5c], 0
je 0x48fbcb
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.00487f6c
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x48fd16
cmp dword [ebx + 0x7c], 0
jne 0x48fbf1
mov dl, 1
mov eax, dword [0x41bc28]
call fcn.0040384c
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x48fcef
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x48fd1c]
push eax
mov al, byte [0x48fd20]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4cadfc]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x481eb8]
call fcn.00483e08
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x48fce8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00487f6c
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.00487f6c
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x486570]
call fcn.00405cc4
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x48fcbb
mov edx, dword [0x4cb0c0]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x48fccc
cmp eax, 0x1007
jne 0x48fcc8
mov byte [ebx + 0x74], 0x18
jmp 0x48fccc
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fd16
mov eax, dword [ebp - 4]
call fcn.0040387c
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00487f6c
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49c2b0
Capabilities:
Delete registry value

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
mov ebx, eax
push esp
mov eax, ebx
call fcn.00404c50
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x49c2e9
mov eax, esi
call fcn.00404c50
push eax
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edx
pop esi
pop ebx
ret
Function at 0x4ab538
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4ab54b
add esp, 0xfffffff0
call fcn.00403bf4
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov dl, 1
mov eax, dword [0x41c1d0]
call fcn.0040384c
mov dword [ebx + 4], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x4abed4]
call fcn.004af8cc
mov edi, eax
mov dword [ebx + 8], edi
mov eax, edi
mov edx, dword [esi + 0xc4]
call fcn.004b0e84
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4ab5e8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, esi
mov dl, 1
mov eax, dword [0x4abed4]
call fcn.004af8cc
mov edi, eax
mov dword [ebx + 0xc], edi
mov eax, edi
mov edx, dword [esi + 0xc4]
call fcn.004b0e84
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4ab734
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ab5d8
call fcn.00403c4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4af8cc
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x4af8e9
add esp, 0xfffffff0
call fcn.00403bf4
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4afa38
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, ebx
call fcn.00427198
lea eax, [ebp - 0x18]
call fcn.004b3b94
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x70]
call fcn.00406568
mov byte [ebx + 0x30], 0
mov eax, dword [ebx + 0x70]
mov edx, dword [eax]
call dword [edx + 0x18]
mov byte [ebx + 0x30], 1
mov byte [ebx + 0x6d], 0
mov byte [ebx + 0x3a], 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4a7f7c]
call fcn.004aa9a8
mov edi, eax
mov dword [ebx + 0x34], edi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], 0x4afd68
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], 0x4b0ed0
mov byte [ebx + 0x38], 0
mov byte [ebx + 0x39], 0
mov byte [ebx + 0x3c], 0
xor eax, eax
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x41c1d0]
call fcn.0040384c
mov edi, eax
mov dword [ebx + 0x58], edi
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], 0x4b0eac
mov dl, 1
mov eax, dword [0x41c1d0]
call fcn.0040384c
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x48], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4abe5c]
call fcn.004af0b4
mov dword [ebx + 0x64], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4abe5c]
call fcn.004af0b4
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0x5c], 1
lea eax, [ebp - 0x11]
push eax
call fcn.00408bfc
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x11]
call fcn.00408c1c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x44]
call fcn.004047e4
mov eax, esi
mov edx, dword [0x4a7908]
call fcn.00403a14
test al, al
je 0x4afa00
mov edx, esi
mov eax, ebx
call fcn.004b0974
jmp 0x4afa1a
mov eax, esi
mov edx, dword [0x4a7d80]
call fcn.00403a14
test al, al
je 0x4afa1a
mov edx, esi
mov eax, ebx
call fcn.004b0e84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afa3f
lea eax, [ebp - 0x1c]
call fcn.00404790
lea eax, [ebp - 0x18]
call fcn.00406550
ret
Function at 0x4ba4bc
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.00404c50
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4ba514
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cb238]
mov dl, 1
mov eax, dword [0x4ba074]
call fcn.0040d348
call fcn.00404120
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004ba17c
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