joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59d030
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 0x59d18f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x67161c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4ebb94]
call fcn.004ed254
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x59d165
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004ed33c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00409f5c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x59d1a8
call fcn.0040a10c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004ed5c8
test al, al
je 0x59d14f
lea ecx, [ebp - 4]
mov edx, 0x59d21c
mov eax, dword [ebp - 0xc]
call fcn.004ede50
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042bf7c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x59d14f
xor edx, edx
push ebp
push 0x59d148
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x59d234
mov eax, dword [ebp - 8]
push eax
call fcn.004116e4
test eax, eax
je 0x59d131
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x59d131
call fcn.0059cfbc
test eax, eax
je 0x59d121
mov eax, dword [ebx + 0x50]
jmp 0x59d124
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x67161c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d14f
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 0x59d16c
mov eax, dword [ebp - 0xc]
call fcn.00407524
ret

Function at 0x59d298
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 0x59d2df
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x59d2c2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x59d2d3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x59d2df
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5a798c
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 0x5a79b3
test edi, 0x40000
je 0x5a79cd
test bl, bl
jne 0x5a7a5c
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5a7a5c
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 0x5a7a00
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5a7a1c
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x5a7a32
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 0x5a7a43
cmp byte [esp + 2], 0
je 0x5a7a5c
cmp byte [esp + 2], 0
je 0x5a7a54
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5a7a5c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5a7d0c
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 0x5a7d32
mov eax, esp
push eax
push 0x5a7cd4
call sub.user32.dll_EnumWindows
jmp 0x5a7d45
mov eax, esp
push eax
push 0x5a7cb4
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 0x5a7e08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5a7e58]
test bl, 4
je 0x5a7e1c
or si, 1
test bl, 8
je 0x5a7e25
or si, 4
test bl, 1
je 0x5a7e2e
or si, 8
test bl, 2
je 0x5a7e37
or si, 0x10
test bl, 0x10
je 0x5a7e40
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a7e50
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5a7e5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5a7e98]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a7e77
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a7e87
or bx, 4
test esi, 0x20000000
je 0x5a7e93
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5b0b84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5b0b96
add esp, 0xfffffff0
call fcn.00407b20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1908
mov eax, dword [0x685f68]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b0fc4
mov eax, dword [0x685f78]
mov dword [eax + 4], ebx
mov dword [eax], 0x5b0fd0
mov eax, ebx
call fcn.005b0fdc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
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, 0x5ab914
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f2550]
call fcn.004f8550
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4f2550]
call fcn.004f8550
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f2550]
call fcn.004f8550
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4f2550]
call fcn.004f8550
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f2550]
call fcn.004f8550
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.005b15cc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b13e8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b13e8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b13e8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b13e8
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5b13e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b0d13
call fcn.00407b78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5b1188
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 0x5b1333
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x5b1314
mov dl, 1
mov eax, dword [0x48dd58]
call fcn.004b00ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004091a4
lea eax, [ebp - 0x114]
push eax
push pe_nt_image_headers32
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5b1303
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.005294bc
test al, al
je 0x5b12f6
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, 0x5b1344
lea eax, [ebp - 0x394]
call fcn.00425258
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5b12f6
xor eax, eax
push ebp
push 0x5b12ef
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 0x5b13b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5b12d8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00409f5c
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 + pe_nt_image_headers32]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x5b12d8
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.00409f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b12f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5b11f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004affe8
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 0x5b133a
lea eax, [ebp - 0x3a0]
call fcn.004091a4
ret

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

Disassembly:
push ecx
mov eax, dword [0x68c39c]
cmp byte [eax + 0xb1], 0
jne 0x5b1f5e
cmp dword [0x68c3bc], 0
jne 0x5b1f1e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x671734]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x68c3bc], eax
cmp dword [0x68c3b8], 0
jne 0x5b1f39
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x68c3b8], eax
cmp dword [0x68c3c0], 0
jne 0x5b1f5e
push esp
push 0
push 0
mov eax, dword [0x671730]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x68c3c0], eax
pop edx
ret
Function at 0x5b2278
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b228f
add esp, 0xfffffff0
call fcn.00407b20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1908
mov eax, dword [0x685e1c]
cmp byte [eax], 0
jne 0x5b22bc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x68615c]
cmp word [eax + 2], 0
jne 0x5b22d6
mov eax, dword [0x68615c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b4460
mov eax, dword [0x686288]
cmp word [eax + 2], 0
jne 0x5b22f0
mov eax, dword [0x686288]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b4664
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4f2550]
call fcn.004f8550
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5b4bdc
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
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 [0x4f6e30]
call fcn.00501b90
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x5b24d4
mov eax, dword [0x686014]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00502020
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5b4ec4
mov dl, 1
mov eax, dword [0x48a5a4]
call fcn.004074f4
mov dword [ebx + 0x9c], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x686014]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042506c
test eax, eax
je 0x5b2404
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00424ea8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00425050
test eax, eax
je 0x5b241c
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.00409f5c
push ebx
push 0x5b3e3c
call fcn.005a7dec
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x685e1c]
cmp byte [eax], 0
jne 0x5b246d
mov eax, ebx
call fcn.005b2694
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.005b510c
mov eax, ebx
call fcn.005b5d38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b24ca
call fcn.00407b78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b29cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5b2a78
cmp dword [ebx + 0x98], 0
jne 0x5b2a72
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b2904
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x5b2a72
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 0x5b2a38
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b2a72
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.004aba00
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b2a47
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x68c39c]
cmp dword [eax + 0x178], 0
je 0x5b2dfd
test bl, bl
jne 0x5b2d4b
cmp dword [esi + 0xa0], 0
jne 0x5b2d40
mov eax, esi
call fcn.005b5b88
push eax
push 0x5b2ba4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x5b2d11
mov eax, dword [0x68c39c]
cmp byte [eax + 0xd7], 0
je 0x5b2d11
mov eax, dword [esi + 0xdc]
call fcn.0040b150
mov edi, eax
cmp edi, 0
jl 0x5b2d11
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 0x5b2cfa
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b2d40
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004aba00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b2d20
inc dword [esi + 0xa0]
jmp 0x5b2dfd
cmp dword [esi + 0xa0], 0
jle 0x5b2dfd
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x5b2dfd
cmp dword [esi + 0x48], 0
je 0x5b2da8
mov eax, dword [0x68c39c]
cmp byte [eax + 0xd7], 0
je 0x5b2da8
mov eax, dword [esi + 0xdc]
call fcn.0040b150
mov edi, eax
cmp edi, 0
jl 0x5b2da8
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 0x5b2d91
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b2dd7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004aba00
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b2db7
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 [0x5a46ec]
call fcn.0040b364
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5b3a58
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x5b3ab5
cmp byte [ebx + 0xd7], 0
jne 0x5b3ab5
push 0x100
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.0040932c
mov eax, dword [esi]
test eax, eax
je 0x5b3aa2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b3ac2
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00409584
jmp 0x5b3ac2
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00409584
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5b52f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x5b5362
mov eax, esi
call fcn.005233ac
test al, al
je 0x5b5362
mov eax, dword [ebx + 0x88]
call fcn.00522ff8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b5362
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5b5356
push 0
mov eax, dword [ebx + 0x88]
call fcn.00522ff8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00519ce4
jmp 0x5b5362
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.005b512c
pop esi
pop ebx
ret
Function at 0x5c94e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test ebx, ebx
je 0x5c9509
mov ecx, 0x2d15
mov edx, 0x5c958c
mov eax, 0x5c95e8
call fcn.00408ff0
test esi, esi
je 0x5c951b
mov dword [0x68c400], 0x13
xor eax, eax
jmp 0x5c9575
test edi, edi
jne 0x5c9533
mov ecx, 0x2d1a
mov edx, 0x5c958c
mov eax, 0x5c95e8
call fcn.00408ff0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5c9553
sub eax, 4
je 0x5c9553
mov ecx, 0x2d1b
mov edx, 0x5c958c
mov eax, 0x5c95e8
call fcn.00408ff0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_CreateThread_1
cmp dword [ebp + 8], 0
je 0x5c9575
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x5d3664
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push esi
push edi
mov byte [ebx + 0x10], 1
mov eax, dword [ebp + 8]
mov esi, edx
push eax
mov edi, ecx
mov edx, dword [ebp + 0xc]
push edx
push edi
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push ebx
call fcn.005cd96c
add esp, 0x1c
test edi, edi
jne 0x5d36a8
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push ebx
call fcn.005cd96c
add esp, 0x14
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x650c80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
mov eax, str.etilqs_
call fcn.00644e74
mov dword [esp + 4], eax
mov esi, dword [ebx + 8]
lea ebp, [esi + 2]
mov eax, ebp
cdq
push edx
push eax
call fcn.0064cd6c
mov ebx, eax
test ebx, ebx
jne 0x650cba
mov eax, 0xc0a
jmp 0x650f8d
mov edx, dword [esp + 4]
add edx, 0xf
mov ecx, esi
sub ecx, edx
mov dword [esp + 8], ecx
call fcn.00650c50
test eax, eax
je 0x650d62
mov eax, dword [0x671944]
call fcn.00644e74
test eax, eax
jle 0x650d4e
mov edx, dword [0x671944]
mov dl, byte [edx + eax - 1]
cmp dl, 0x2f
je 0x650cff
mov ecx, dword [0x671944]
cmp dl, 0x5c
je 0x650cff
inc eax
cmp eax, dword [esp + 8]
jle 0x650d38
mov eax, 0xb
call fcn.00631a0c
call fcn.00631a48
mov eax, ebx
call fcn.0064ca48
push 0
push 0x12ba
mov ecx, str.winGetTempname1
xor edx, edx
mov eax, 1
call fcn.0064f2e8
jmp 0x650f8d
mov edx, dword [0x671944]
push edx
push 0x680a0e
push ebx
push esi
call fcn.00644c64
add esp, 0x10
mov eax, 0xb
call fcn.00631a0c
call fcn.00631a48
jmp 0x650eb1
mov eax, esi
add eax, eax
xor edx, edx
push edx
push eax
call fcn.0064cd6c
mov edi, eax
test edi, edi
jne 0x650d86
mov eax, ebx
call fcn.0064ca48
mov eax, 0xc0a
jmp 0x650f8d
push edi
push esi
call dword [0x680064]
test eax, eax
jne 0x650dc3
mov eax, edi
call fcn.0064ca48
mov eax, ebx
call fcn.0064ca48
push 0
push 0x131f
call dword [0x68001c]
mov edx, eax
mov ecx, str.winGetTempname2
mov eax, 0x190a
call fcn.0064f2e8
jmp 0x650f8d
mov eax, edi
call fcn.0064eee8
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x650dfe
mov edx, dword [esp + 0xc]
push edx
push 0x680a0e
push ebx
push esi
call fcn.00644c64
add esp, 0x10
mov eax, dword [esp + 0xc]
call fcn.0064ca48
mov eax, edi
call fcn.0064ca48
jmp 0x650eb1
mov eax, edi
call fcn.0064ca48
mov eax, ebx
call fcn.0064ca48
mov eax, 0xc0a
jmp 0x650f8d
mov eax, dword [esp + 8]
mov edx, ebx
inc eax
call fcn.00650c04
test eax, eax
jne 0x650ee5
mov eax, ebx
call fcn.0064ca48
push 0
push 0x1351
mov ecx, str.winGetTempname4
xor edx, edx
mov eax, 1
call fcn.0064f2e8
jmp 0x650f8d
mov eax, ebx
call fcn.00644e74
mov edx, dword [esp + 4]
add edx, eax
add edx, 0x11
cmp ebp, edx
jge 0x650f1a
mov eax, ebx
call fcn.0064ca48
push 0
push 0x1363
mov ecx, str.winGetTempname5
xor edx, edx
mov eax, 1
call fcn.0064f2e8
jmp 0x650f8d
push str.etilqs_
lea edx, [eax + ebx]
push edx
add ebp, 0xfffffff0
sub ebp, eax
push ebp
call fcn.00644c64
add esp, 0xc
mov eax, ebx
call fcn.00644e74
mov edi, eax
mov eax, 0xf
mov edx, edi
add edx, ebx
call fcn.00649518
call dword [0x67ffb0]
mov esi, eax
xor ebp, ebp
lea ecx, [ebx + edi]
mov eax, esi
xor edx, edx
and al, 0xff
add byte [ecx], al
xor eax, eax
mov al, byte [ecx]
push ecx
shr esi, 8
mov ecx, 0x3e
div ecx
pop ecx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [ecx], al
inc ebp
inc ecx
inc edi
cmp ebp, 0xf
jb 0x650f55
mov byte [ebx + edi], 0
xor eax, eax
mov byte [ebx + edi + 1], 0
mov edx, dword [esp]
mov dword [edx], ebx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret