joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a180
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a7d5c]
cmp byte [eax + 0xc], 0
je 0x44a2ed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a2e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8b80], 0
jne 0x44a1d4
push 0x44a2f4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a2fc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b80], eax
cmp dword [0x4a3c38], 0
jne 0x44a2cf
push 0x44a30c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a3c38], eax
cmp dword [0x4a3c38], 0
je 0x44a2cf
push 0x44a318
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b84], eax
push 0x44a328
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b88], eax
push 0x44a33c
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b8c], eax
push 0x44a354
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b90], eax
push 0x44a36c
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b94], eax
push 0x44a380
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b98], eax
push 0x44a398
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8b9c], eax
push 0x44a3b0
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8ba0], eax
push 0x44a3cc
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8ba4], eax
push 0x44a3d8
mov eax, dword [0x4a3c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a8ba8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a2ed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44e2f0
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.004041b8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44e33f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404428
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455a7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455acc]
test si, 4
je 0x455a90
or bl, 1
test si, 8
je 0x455a9a
or bl, 4
test si, 1
je 0x455aa4
or bl, 8
test si, 2
je 0x455aae
or bl, 0x10
test si, 0x10
je 0x455ab8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455ac7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x455b08]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455ae9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455af8
or bl, 4
test esi, 0x20000000
je 0x455b03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45c1b0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45c1c2
add esp, 0xfffffff0
call fcn.004036ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f4ec
mov eax, dword [0x4a7950]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c554
mov eax, dword [0x4a795c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c560
mov eax, ebx
call fcn.0045c56c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
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, 0x458988
push eax
push 0
push 0
mov eax, dword [0x4a7af8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422c64]
call fcn.004243d8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422c64]
call fcn.004243d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422c64]
call fcn.004243d8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c98c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c868
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c868
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c868
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c2ff
call fcn.00403744
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c64c
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 0x45c7f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c7d8
mov dl, 1
mov eax, dword [0x416440]
call fcn.00403398
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c7c7
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.0044a4e0
test al, al
je 0x45c7ba
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, 0x45c808
lea eax, [ebp - 0x254]
call fcn.00409a7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c7ba
xor eax, eax
push ebp
push 0x45c7b3
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 0x45c840
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c79c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404428
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 0x45c79c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404428
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c7ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c6bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041af60
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 0x45c7fe
lea eax, [ebp - 0x260]
call fcn.004041b8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a8bcc]
cmp byte [eax + 0xa5], 0
jne 0x45d19d
cmp dword [0x4a8be4], 0
jne 0x45d15e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45d0e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a8be4], eax
cmp dword [0x4a8be0], 0
jne 0x45d179
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a8be0], eax
cmp dword [0x4a8be8], 0
jne 0x45d19d
push esp
push 0
push 0
push 0x45d08c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a8be8], eax
pop edx
ret
Function at 0x45d294
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d2ab
add esp, 0xfffffff0
call fcn.004036ec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f4ec
mov eax, dword [0x4a7ae4]
cmp word [eax + 2], 0
jne 0x45d2d3
mov eax, dword [0x4a7ae4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e984
mov eax, dword [0x4a7bb0]
cmp word [eax + 2], 0
jne 0x45d2ed
mov eax, dword [0x4a7bb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045eb7c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415e98]
call fcn.00403398
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x423744]
call fcn.0042ae34
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45d474
mov eax, dword [0x4a79c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b204
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f11c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a79c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d478
test eax, eax
je 0x45d3e2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409434
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4a0
test eax, eax
je 0x45d3f6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404428
mov eax, dword [0x4a7874]
cmp byte [eax], 0
jne 0x45d42a
mov eax, ebx
call fcn.0045d59c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045f2f8
mov eax, ebx
call fcn.0045fcbc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d46a
call fcn.00403744
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d81c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a8bcc]
cmp dword [eax + 0x30], 0
je 0x45d8c6
cmp dword [ebx + 0x94], 0
jne 0x45d8c0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d7ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d8c0
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 0x45d886
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d8c0
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.00418520
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d895
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e428
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 0x45e45d
push pe_nt_image_headers32
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.004042a8
jmp 0x45e46a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040420c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f4d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f515
mov eax, esi
call fcn.00445a84
test al, al
je 0x45f515
mov eax, dword [ebx + 0x84]
call fcn.00445780
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f515
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445780
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x470a00
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x470b02
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470ae2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d44
mov dword [ebp - 0x4c], 0x44
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x101
mov word [ebp - 0x1c], 5
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x58], 0xb
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x5c]
mov ecx, 1
mov eax, 0x470b20
call fcn.00409afc
push ebx
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404694
push eax
mov eax, esi
call fcn.00404694
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x470ad8
push 0x20
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x470aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470b09
lea eax, [ebp - 8]
call fcn.004041b8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404694
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x471235
and eax, 0x10
cmp eax, 0x10
jne 0x471239
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4715cc
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.00404a84
je 0x4715f4
push 1
push 0
push 0
mov eax, ebx
call fcn.00404a20
push eax
push 0x4715f8
push 0
call sub.shell32.dll_ShellExecuteW
pop ebx
ret
Function at 0x471a44
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404684
xor eax, eax
push ebp
push 0x471af5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004041b8
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409218
mov eax, dword [ebp - 8]
call fcn.00404694
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x471a9f
cmp eax, 3
je 0x471a9f
cmp eax, 6
je 0x471a9f
xor ebx, ebx
jmp 0x471aa1
mov bl, 1
cmp dword [ebp - 4], 0
je 0x471abb
cmp dword [ebp - 8], 0
je 0x471abb
test bl, bl
je 0x471abb
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0040d29c
cmp dword [esi], 0
jne 0x471ada
mov edx, dword [ebp - 4]
mov eax, 0x471b0c
call fcn.004047d8
dec eax
jne 0x471ada
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0040d29c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471afc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041dc
ret

Function at 0x4721d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov byte [esp], al
test bl, bl
je 0x4721f2
push 0
mov eax, dword [0x4a7b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov al, byte [esp]
sub al, 1
jb 0x472227
jne 0x472251
push 0xffffffffffffffec
mov eax, dword [0x4a7b90]
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_GetWindowLongA
and eax, 0xfffbffff
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a7b90]
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x472251
push 0xffffffffffffffec
mov eax, dword [0x4a7b90]
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_GetWindowLongA
and eax, 0xffffff7f
or eax, 0x40000
push eax
push 0xffffffffffffffec
mov eax, dword [0x4a7b90]
push esi
call sub.user32.dll_SetWindowLongA
test bl, bl
je 0x472267
push 5
mov eax, dword [0x4a7b90]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop edx
pop esi
pop ebx
ret
Function at 0x472550
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47265f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4725ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x47258f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47263c
lea ecx, [ebp - 0x10]
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0047241c
cmp byte [ebp - 9], 0
je 0x4725b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47263c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4725c4
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404250
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00408514
mov edx, dword [ebp - 0x14]
mov eax, 0x472678
call fcn.004047d8
dec eax
je 0x4725fa
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x472678
call fcn.004044e0
push 0
push 0
push 0
push 0
push 0x472680
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x47263c
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404694
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
test eax, eax
je 0x472636
push eax
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472666
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004041dc
lea eax, [ebp - 8]
call fcn.004041b8
ret
Function at 0x472fc8
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 8]
call fcn.00404694
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebp, eax
test ebp, ebp
je 0x4730b6
push 0
push 0
push 0
push 4
push ebp
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
test edi, edi
je 0x4730b0
mov eax, edi
mov edx, dword [eax]
mov dword [esp + 4], edx
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4730aa
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4730aa
cmp dword [esp], 0
jne 0x47308c
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x47305c
push 5
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x473076
push 5
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_SetForegroundWindow
jmp 0x47309f
push 0
push 0
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.user32.dll_PostMessageA
mov bl, 1
mov eax, dword [esi + 0x14]
push eax
call sub.kernel32.dll_ReleaseMutex
push edi
call sub.kernel32.dll_UnmapViewOfFile
push ebp
call sub.kernel32.dll_CloseHandle
mov eax, ebx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x474174
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov al, byte [0x4a4118]
xor al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4742f4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0
xor eax, eax
push ebp
push 0x4742ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4741f4
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x4741f4
lea eax, [ebp - 0xc]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x4742b3
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4a4150
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
jne 0x47422f
call fcn.00403c00
jmp 0x4742f4
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x474250
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x474255
call fcn.0040dbf4
mov eax, dword [ebp - 0x10]
call fcn.00408454
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x474282
call fcn.00403c00
jmp 0x4742f4
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x4742b3
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + esi*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4742b3
inc esi
dec ebx
jne 0x47428f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4742f4
cmp dword [ebp - 0x14], 0
je 0x4742ce
mov eax, dword [ebp - 0x14]
call fcn.004026fc
cmp byte [ebp - 0x15], 0
je 0x4742dd
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 8], 0
je 0x4742ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret