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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x611698]
cmp byte [eax + 0xc], 0
je 0x437249
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437242
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x612af4], 0
jne 0x437130
push 0x437250
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437258
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612af4], eax
cmp dword [0x452aa8], 0
jne 0x43722b
push 0x437268
call sub.kernel32.dll_LoadLibraryA
mov dword [0x452aa8], eax
cmp dword [0x452aa8], 0
je 0x43722b
push 0x437274
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612af8], eax
push 0x437284
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612afc], eax
push 0x437298
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b00], eax
push 0x4372b0
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b04], eax
push 0x4372c8
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b08], eax
push 0x4372dc
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b0c], eax
push 0x4372f4
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b10], eax
push 0x43730c
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b14], eax
push 0x437328
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b18], eax
push 0x437334
mov eax, dword [0x452aa8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x612b1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437249
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b0fc
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.004041fc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b14b
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.0040446c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4428f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442944]
test si, 4
je 0x442908
or bl, 1
test si, 8
je 0x442912
or bl, 4
test si, 1
je 0x44291c
or bl, 8
test si, 2
je 0x442926
or bl, 0x10
test si, 0x10
je 0x442930
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44293f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442948
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442980]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442961
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442970
or bl, 4
test esi, 0x20000000
je 0x44297b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449044
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449056
add esp, 0xfffffff0
call fcn.004037a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419690
mov eax, dword [0x61136c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4493e8
mov eax, dword [0x611378]
mov dword [eax + 4], ebx
mov dword [eax], 0x4493f4
mov eax, ebx
call fcn.00449400
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4118a8]
call fcn.00403458
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4118a8]
call fcn.00403458
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4118a8]
call fcn.00403458
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4118a8]
call fcn.00403458
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4118a8]
call fcn.00403458
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, 0x445818
push eax
push 0
push 0
mov eax, dword [0x6114c0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b108]
call fcn.0041c570
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b108]
call fcn.0041c570
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b108]
call fcn.0041c570
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449850
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449718
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449718
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449718
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449193
call fcn.00403800
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4494fc
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 0x4496a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449688
mov dl, 1
mov eax, dword [0x411cc4]
call fcn.00403458
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041fc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449677
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.0043743c
test al, al
je 0x44966a
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, 0x4496b8
lea eax, [ebp - 0x254]
call fcn.00408ce8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44966a
xor eax, eax
push ebp
push 0x449663
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 0x4496f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44964c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040446c
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 0x44964c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040446c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44966a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44956d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415828
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 0x4496ae
lea eax, [ebp - 0x260]
call fcn.004041fc
ret

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

Disassembly:
push ecx
mov eax, dword [0x612b40]
cmp byte [eax + 0xa5], 0
jne 0x44a061
cmp dword [0x612b58], 0
jne 0x44a022
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449fac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x612b58], eax
cmp dword [0x612b54], 0
jne 0x44a03d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x612b54], eax
cmp dword [0x612b5c], 0
jne 0x44a061
push esp
push 0
push 0
push 0x449f50
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x612b5c], eax
pop edx
ret
Function at 0x44a6f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x612b40]
cmp dword [eax + 0x30], 0
je 0x44a79e
cmp dword [ebx + 0x94], 0
jne 0x44a798
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a684
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a798
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 0x44a75e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a798
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.00413c24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a76d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b2fc
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 0x44b331
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.004042ec
jmp 0x44b33e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404250
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c438
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c479
mov eax, esi
call fcn.00432bf4
test al, al
je 0x44c479
mov eax, dword [ebx + 0x84]
call fcn.00432994
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c479
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432994
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0xa66000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb12d90
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0xb37f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0xb52dec], eax
mov dword [0xb52cb0], 1
mov eax, dword [ebp + 0x14]
mov dword [0xb52cb4], eax
mov ecx, dword [ebp + 0x10]
mov dword [0xb52cb8], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0xb52cbc], eax
mov edx, dword [ebp + 8]
mov dword [0xb52cc0], edx
push 2
mov eax, dword [0xb52dec]
push eax
call fcn.00aaab20
add esp, 8
call fcn.00a84170
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0xa66174
call fcn.00a82380
push eax
lea ecx, [ebp - 0x68]
call fcn.00a66350
mov dword [ebp - 4], 0
call fcn.00a823a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00a66350
mov byte [ebp - 4], 1
xor ecx, ecx
cmp dword [ebp - 0x3c], 0
sete cl
movzx edx, cl
test edx, edx
jne 0xa66116
lea eax, [ebp - 0x4c]
push eax
push 0xb39edc
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00a661a0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 2
mov eax, dword [0xb39ed8]
push eax
push 0
mov ecx, dword [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00a665c0
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00a66510
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], 0x10
jb 0xa66127
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0xc4], edx
jmp 0xa66130
lea eax, [ebp - 0x68]
mov dword [ebp - 0xc4], eax
push 0x40010
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00a66510
mov byte [ebp - 4], 0
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.00a66510
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0xb52c44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00ad1fa3
mov esp, ebp
pop ebp
ret 0x10
Function at 0xa6da00
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0xb37f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00a6a700
add esp, 4
movzx edx, al
test edx, edx
je 0xa6da91
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.00ad2fc0
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0xa6da8f
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0xa6da8f
jmp 0xa6da91
jmp 0xa6da13
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00ad1fa3
mov esp, ebp
pop ebp
ret
Function at 0xa83780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0xa837ec
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0xa83833
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00ad6f88
add esp, 8
test eax, eax
jne 0xa83831
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0xa83835
jmp 0xa837e3
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0xaa8560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0xaa85c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0xaa85b7
mov edx, dword [0xb53350]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0xaa85ab
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xaa8590
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0xaa85b9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0xaaa640
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb175b8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0xb37f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsx eax, byte [0xb539b8]
test eax, eax
jne 0xaaa680
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0xaaa680
call fcn.00aaa490
movzx edx, byte [0xb539b1]
test edx, edx
jne 0xaaa743
movzx eax, byte [0xb539b0]
test eax, eax
jne 0xaaa743
cmp dword [0xb53abc], 0
je 0xaaa6e4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0xb53abc]
push edx
call fcn.00ab5180
add esp, 8
mov dword [ebp - 0x78], eax
push 0
mov eax, dword [ebp - 0x78]
push eax
push 0x186
mov ecx, dword [0xb53abc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0xb53abc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0xaaa743
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0xaaa743
push 0xb539b8
lea ecx, [ebp - 0x74]
call fcn.00ab0ad0
mov dword [ebp - 4], 0
push 0x10001
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00ab4f70
add esp, 0x10
xor ecx, ecx
cmp eax, 2
sete cl
mov byte [ebp - 0x79], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00a6a5a0
movzx edx, byte [ebp - 0x79]
test edx, edx
je 0xaaa743
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00ad1fa3
mov esp, ebp
pop ebp
ret
Function at 0xab1cc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb182e7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0xb37f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00ab0bb0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00ab0bb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00ab0bb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00ab15c0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00ab15c0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00ab15c0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0xab1fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb183d7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0xb37f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00ab0ad0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00ab0ad0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00ab0ad0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00ab15e0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00ab15e0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.00ab15e0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4