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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51d88b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x70bf24], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x47136c]
call fcn.004724b8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x51d861
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004725a0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00408364
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x51d8a4
call fcn.00408514
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0047282c
test al, al
je 0x51d84b
lea ecx, [ebp - 4]
mov edx, 0x51d918
mov eax, dword [ebp - 0xc]
call fcn.004730b4
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00429b84
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x51d84b
xor edx, edx
push ebp
push 0x51d844
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x51d930
mov eax, dword [ebp - 8]
push eax
call fcn.0040ee20
test eax, eax
je 0x51d82d
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x51d82d
call fcn.0051d6b8
test eax, eax
je 0x51d81d
mov eax, dword [ebx + 0x50]
jmp 0x51d820
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x70bf24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d84b
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d868
mov eax, dword [ebp - 0xc]
call fcn.00405738
ret

Function at 0x51d994
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x51d9db
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51d9be
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51d9cf
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x51d9db
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x527f74
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x527f9b
test edi, 0x40000
je 0x527fb5
test bl, bl
jne 0x528044
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x528044
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x527fe8
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x528004
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x52801a
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x52802b
cmp byte [esp + 2], 0
je 0x528044
cmp byte [esp + 2], 0
je 0x52803c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x528044
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5282f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x52831e
mov eax, esp
push eax
push 0x5282c0
call sub.user32.dll_EnumWindows
jmp 0x528331
mov eax, esp
push eax
push 0x5282a0
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5283f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x528444]
test bl, 4
je 0x528408
or si, 1
test bl, 8
je 0x528411
or si, 4
test bl, 1
je 0x52841a
or si, 8
test bl, 2
je 0x528423
or si, 0x10
test bl, 0x10
je 0x52842c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52843c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x528448
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x528484]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x528463
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x528473
or bx, 4
test esi, 0x20000000
je 0x52847f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x531124
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x531136
add esp, 0xfffffff0
call fcn.00405d78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045bdc0
mov eax, dword [0x7109b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x531564
mov eax, dword [0x7109d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x531570
mov eax, ebx
call fcn.0053157c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
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 + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x52bee0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4770c8]
call fcn.0047d26c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4770c8]
call fcn.0047d26c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4770c8]
call fcn.0047d26c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4770c8]
call fcn.0047d26c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4770c8]
call fcn.0047d26c
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.00531b74
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x531990
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x531990
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x531990
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x531990
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x531990
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5312b3
call fcn.00405dd0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x531730
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5318db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x5318bc
mov dl, 1
mov eax, dword [0x4421bc]
call fcn.00451450
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407460
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5318ab
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.004b500c
test al, al
je 0x53189e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5318ec
lea eax, [ebp - 0x394]
call fcn.00422640
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x53189e
xor eax, eax
push ebp
push 0x531897
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x53195c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x531880
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00408364
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
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 + 0x44]
jne 0x531880
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00408364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53189e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5317a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0045138c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5318e2
lea eax, [ebp - 0x3a0]
call fcn.00407460
ret

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

Disassembly:
push ecx
mov eax, dword [0x717384]
cmp byte [eax + 0xb1], 0
jne 0x532506
cmp dword [0x7173a4], 0
jne 0x5324c6
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x70c03c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7173a4], eax
cmp dword [0x7173a0], 0
jne 0x5324e1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x7173a0], eax
cmp dword [0x7173a8], 0
jne 0x532506
push esp
push 0
push 0
mov eax, dword [0x70c038]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x7173a8], eax
pop edx
ret
Function at 0x532820
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x532837
add esp, 0xfffffff0
call fcn.00405d78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045bdc0
mov eax, dword [0x710618]
cmp byte [eax], 0
jne 0x532864
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x710e94]
cmp word [eax + 2], 0
jne 0x53287e
mov eax, dword [0x710e94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00534a14
mov eax, dword [0x711168]
cmp word [eax + 2], 0
jne 0x532898
mov eax, dword [0x711168]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00534c18
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4770c8]
call fcn.0047d26c
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x535190
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x47b9a8]
call fcn.004868b8
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x532a7c
mov eax, dword [0x710b3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00486d48
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x535478
mov dl, 1
mov eax, dword [0x43ea48]
call fcn.00405708
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x710b3c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042243c
test eax, eax
je 0x5329ac
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422198
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00422420
test eax, eax
je 0x5329c4
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00408364
push ebx
push 0x5343ec
call fcn.005283d8
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x710618]
cmp byte [eax], 0
jne 0x532a15
mov eax, ebx
call fcn.00532c3c
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.005356c0
mov eax, ebx
call fcn.005362ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x532a72
call fcn.00405dd0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x532f74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x533020
cmp dword [ebx + 0x98], 0
jne 0x53301a
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x532eac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x53301a
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x532fe0
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x53301a
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.0044ce24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x532fef
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x533240
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x717384]
cmp dword [eax + 0x178], 0
je 0x5333a5
test bl, bl
jne 0x5332f3
cmp dword [esi + 0xa0], 0
jne 0x5332e8
mov eax, esi
call fcn.0053613c
push eax
push 0x53314c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x5332b9
mov eax, dword [0x717384]
cmp byte [eax + 0xd7], 0
je 0x5332b9
mov eax, dword [esi + 0xdc]
call fcn.004094f4
mov edi, eax
cmp edi, 0
jl 0x5332b9
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5332a2
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5332e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0044ce24
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5332c8
inc dword [esi + 0xa0]
jmp 0x5333a5
cmp dword [esi + 0xa0], 0
jle 0x5333a5
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x5333a5
cmp dword [esi + 0x48], 0
je 0x533350
mov eax, dword [0x717384]
cmp byte [eax + 0xd7], 0
je 0x533350
mov eax, dword [esi + 0xdc]
call fcn.004094f4
mov edi, eax
cmp edi, 0
jl 0x533350
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x533339
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x53337f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.0044ce24
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x53335f
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x524d78]
call fcn.004096a0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x533ff8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x534063
cmp byte [ebx + 0xd7], 0
jne 0x534063
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004075e8
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x534050
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x534070
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407840
jmp 0x534070
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00407840
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x5358a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x535916
mov eax, esi
call fcn.004af02c
test al, al
je 0x535916
mov eax, dword [ebx + 0x88]
call fcn.004aec78
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x535916
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x53590a
push 0
mov eax, dword [ebx + 0x88]
call fcn.004aec78
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.004a5a94
jmp 0x535916
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.005356e0
pop esi
pop ebx
ret
Function at 0x5d6ffc
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x5d7124
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.005d6ee8
mov eax, dword [esi]
call fcn.004094ec
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41a2d0]
call fcn.004096a0
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00404888
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00404888
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004094ec
mov dword [ebp - 0xc], eax
mov eax, dword [0x711474]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.005c6088
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.004050e0
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004094ec
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.005c6064
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.005c5e1c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.005c6080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d712b
lea eax, [ebp - 4]
mov edx, dword [0x41a2d0]
call fcn.004097c4
ret

Function at 0x5f1cc8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.0040843c
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5f1ced
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.004082a8
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x5f1d0c
mov eax, ebx
mov edx, dword [esp]
call fcn.0040843c
pop ecx
pop edx
pop ebx
ret

Function at 0x619484
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x619497
add esp, 0xfffffff0
call fcn.00405d78
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x619510
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00405708
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x18], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.006199e8
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.00407840
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov edx, 0x619540
call fcn.00408514
mov ecx, esi
mov dl, 1
mov eax, dword [0x618a90]
call fcn.00619f70
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x619517
lea eax, [ebp - 4]
call fcn.00407460
ret
Function at 0x61976c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor edx, edx
push ebp
push 0x619817
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00619f64
mov ebx, eax
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.00407840
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00421f8c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00407840
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 8]
call fcn.00407840
test edi, edi
je 0x6197d9
mov edx, edi
mov eax, ebx
call fcn.0061ad30
jmp 0x6197e6
lea eax, [ebx + 0x14]
mov edx, 0x619838
call fcn.00407840
test esi, esi
je 0x6197f4
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.00407840
lea eax, [ebx + 0x18]
mov edx, 0x61985c
call fcn.00407840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61981e
lea eax, [ebp - 0xc]
call fcn.00407460
ret
Function at 0x64778c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x6477dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x6477c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6477b4
jmp 0x6477dd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x6477c5
pop ebx
mov esp, ebp
pop ebp
ret