joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c26ac
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 0x5c26f3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5c26d6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5c26e7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5c26f3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x5ce710
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5ce731
test edi, 0x40000
je 0x5ce74b
test bl, bl
jne 0x5ce7cc
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5ce7cc
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 0x5ce77e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5ce793
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5ce7a2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5ce7b3
cmp byte [esp + 2], 0
je 0x5ce7cc
cmp byte [esp + 2], 0
je 0x5ce7c4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5ce7cc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5cea70
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 0x5cea96
mov eax, esp
push eax
push 0x5cea38
call sub.user32.dll_EnumWindows
jmp 0x5ceaa9
mov eax, esp
push eax
push 0x5cea18
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5ceb6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x5ceb7e
or si, 1
test bl, 8
je 0x5ceb87
or si, 4
test bl, 1
je 0x5ceb90
or si, 8
test bl, 2
je 0x5ceb99
or si, 0x10
test bl, 0x10
je 0x5ceba2
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5cebb2
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5cebb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5cebd1
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5cebe1
or bx, 4
test esi, 0x20000000
je 0x5cebed
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5d8b2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5d8b3e
add esp, 0xfffffff0
call fcn.0040a308
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1c5c
mov eax, dword [0x6354dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x5d9000
mov eax, dword [0x6354ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x5d900c
mov eax, ebx
call fcn.005d9018
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5d2dd4
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x508d20]
call fcn.0050f89c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x508d20]
call fcn.0050f89c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x508d20]
call fcn.0050f89c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x508d20]
call fcn.0050f89c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x508d20]
call fcn.0050f89c
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005d95f8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5d9428
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5d9428
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5d9428
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5d9428
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5d9428
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5d8cbe
call fcn.0040a360
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5d91c4
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 0x5d9374
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5d9353
mov dl, 1
mov eax, dword [0x485988]
call fcn.004b13e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040bac8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5d9342
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.0054d808
test al, al
je 0x5d9335
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5d9384
lea eax, [ebp - 0x394]
call fcn.00427e74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5d9335
xor eax, eax
push ebp
push 0x5d932e
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 0x5d93f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5d9315
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c684
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5d9315
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d9335
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5d9235
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b130c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d937b
lea eax, [ebp - 0x3a0]
call fcn.0040bac8
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x63cbfc]
cmp byte [eax + 0xc5], 0
jne 0x5d9ffe
cmp dword [0x63cc20], 0
jne 0x5d9fbe
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x634790]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x63cc20], eax
cmp dword [0x63cc1c], 0
jne 0x5d9fd9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x63cc1c], eax
cmp dword [0x63cc24], 0
jne 0x5d9ffe
push esp
push 0
push 0
mov eax, dword [0x63478c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x63cc24], eax
pop edx
ret
Function at 0x5da3f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5da40f
add esp, 0xfffffff0
call fcn.0040a308
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1c5c
mov eax, dword [0x635354]
cmp byte [eax], 0
jne 0x5da43c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x635728]
cmp word [eax + 2], 0
jne 0x5da456
mov eax, dword [0x635728]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005dc8bc
mov eax, dword [0x635894]
cmp word [eax + 2], 0
jne 0x5da470
mov eax, dword [0x635894]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005dccd4
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x508d20]
call fcn.0050f89c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5dd280
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x50de90]
call fcn.00519e34
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5da660
mov eax, dword [0x63559c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051a350
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5dd56c
mov dl, 1
mov eax, dword [0x481c3c]
call fcn.00409ce4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x63559c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427c74
test eax, eax
je 0x5da583
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00427acc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00427c58
test eax, eax
je 0x5da59b
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 + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040c684
push ebx
push 0x5dc290
call fcn.005ceb50
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x635354]
cmp byte [eax], 0
jne 0x5da5ec
mov eax, ebx
call fcn.005da828
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005dd914
mov eax, ebx
call fcn.005de5cc
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5da657
call fcn.0040a360
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5dab58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5dabfa
cmp dword [ebx + 0xac], 0
jne 0x5dabf4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5daa98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5dabf4
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_GetWindowLongW
test al, 8
je 0x5dabba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5dabf4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004ac204
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5dabc9
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x63cbfc]
cmp dword [eax + 0x190], 0
je 0x5db0a5
test bl, bl
jne 0x5daff8
cmp dword [esi + 0xb4], 0
jne 0x5dafed
mov eax, esi
call fcn.005de41c
push eax
push 0x5dae3c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5dafbe
mov eax, dword [0x63cbfc]
cmp byte [eax + 0xeb], 0
je 0x5dafbe
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5daf9f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5dafbe
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5dafa7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5dafed
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac204
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5dafcd
inc dword [esi + 0xb4]
jmp 0x5db0a5
cmp dword [esi + 0xb4], 0
jle 0x5db0a5
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5db0a5
cmp dword [esi + 0x58], 0
je 0x5db05a
mov eax, dword [0x63cbfc]
cmp byte [eax + 0xeb], 0
je 0x5db05a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5db03b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5db05a
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5db043
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5db089
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac204
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5db069
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5caff0]
call fcn.0040eabc
pop edi
pop esi
pop ebx
ret
Function at 0x5dbe9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5dbef9
cmp byte [ebx + 0xeb], 0
jne 0x5dbef9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040bc60
mov eax, dword [esi]
test eax, eax
je 0x5dbee6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5dbf06
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040beb8
jmp 0x5dbf06
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040beb8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5ddb28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ddb99
mov eax, esi
call fcn.00547330
test al, al
je 0x5ddb99
mov eax, dword [ebx + 0x98]
call fcn.00546ec8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ddb99
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5ddb8a
push 0
mov eax, dword [ebx + 0x98]
call fcn.00546ec8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0053d200
jmp 0x5ddb99
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005dd934
pop esi
pop ebx
ret
Function at 0x5e64d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x94], 0
jne 0x5e655e
mov eax, dword [ebx + 8]
call fcn.00546ec8
mov ecx, eax
mov dl, 1
mov eax, dword [0x555d3c]
call fcn.00540a90
mov dword [ebx + 0x94], eax
mov esi, dword [ebx + 0x94]
xor edx, edx
mov eax, esi
call fcn.0055cc7c
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5e5da8
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.00546ec8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.00546ec8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa4], 0
jne 0x5e65e0
mov eax, dword [ebx + 8]
call fcn.00546ec8
mov ecx, eax
mov dl, 1
mov eax, dword [0x555d3c]
call fcn.00540a90
mov dword [ebx + 0xa4], eax
mov esi, dword [ebx + 0xa4]
mov dl, 1
mov eax, esi
call fcn.0055cc7c
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2d8], 0x5e5df4
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00546ec8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa4]
call fcn.00546ec8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5e665e
mov eax, dword [ebx + 8]
call fcn.00546ec8
mov ecx, eax
mov dl, 1
mov eax, dword [0x556830]
call fcn.00540a90
mov dword [ebx + 0x9c], eax
mov esi, dword [ebx + 0x9c]
mov byte [esi + 0x2b0], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00546ec8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.00546ec8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5eeb98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x63d038], 0
jne 0x5eebaf
call fcn.005eeb54
mov eax, edi
dec eax
test eax, eax
jl 0x5eebd7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x63cc38]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5eebb9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5f1c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5f1c61
dec al
je 0x5f1c9c
dec al
je 0x5f1ce0
dec al
je 0x5f1d52
jmp 0x5f1ded
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5f1ded
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f1c71
jmp 0x5f1ded
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f1ded
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f1cac
jmp 0x5f1ded
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f1ded
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x5f1d13
xor edx, edx
mov dword [esp + 4], edx
jmp 0x5f1d28
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x5f1d40
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x5f1cf0
jmp 0x5f1ded
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f1ded
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x5f1db9
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.005eebe0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5f1d6e
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x603cd8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x603d06
mov eax, ebx
call fcn.00604794
cmp dword [ebx + 0x40], 0
je 0x603cff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x603d77
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x603d69
cmp dword [ebx + 8], 0
je 0x603d28
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x603d3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x603d69
cmp dword [ebx + 8], 0
je 0x603d1b
cmp eax, 3
je 0x603d4d
dec eax
jne 0x603d1b
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 0x603d1b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x603d1b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x603d95
cmp dword [ebx + 0x14], 0xcc
je 0x603d95
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00603da0
pop ebx
ret