joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c00d0
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 0x4c00f6
mov eax, esp
push eax
push 0x4c0098
call sub.user32.dll_EnumWindows
jmp 0x4c0109
mov eax, esp
push eax
push 0x4c0078
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]

Function at 0x4c01cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4c021c]
test bl, 4
je 0x4c01e0
or si, 1
test bl, 8
je 0x4c01e9
or si, 4
test bl, 1
je 0x4c01f2
or si, 8
test bl, 2
je 0x4c01fb
or si, 0x10
test bl, 0x10
je 0x4c0204
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c0214
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4c0220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4c025c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c023b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c024b
or bx, 4
test esi, 0x20000000
je 0x4c0257
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4c8e20
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4c8e32
add esp, 0xfffffff0
call fcn.00405344
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f178
mov eax, dword [0x6dcb0c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c927c
mov eax, dword [0x6dcb18]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c9288
mov eax, ebx
call fcn.004c9294
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4c3bc8
push eax
push 0
push 0
mov eax, dword [0x6dcd04]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x449b44]
call fcn.0044fe18
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x449b44]
call fcn.0044fe18
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x449b44]
call fcn.0044fe18
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x449b44]
call fcn.0044fe18
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x449b44]
call fcn.0044fe18
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004c97ec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c965c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c965c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c965c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c965c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c965c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c8fad
call fcn.0040539c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c93fc
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 0x4c95a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4c958a
mov dl, 1
mov eax, dword [0x42adc0]
call fcn.00436bf0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004069c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4c9579
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.004aba5c
test al, al
je 0x4c956c
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, 0x4c95b8
lea eax, [ebp - 0x394]
call fcn.0041395c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4c956c
xor eax, eax
push ebp
push 0x4c9565
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 0x4c9628
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4c954e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406bc4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4c954e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c956c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4c946f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00436b2c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c95b0
lea eax, [ebp - 0x3a0]
call fcn.004069b4
ret

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

Disassembly:
push ecx
mov eax, dword [0x6e228c]
cmp byte [eax + 0xad], 0
jne 0x4ca17a
cmp dword [0x6e22a4], 0
jne 0x4ca13a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x631888]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6e22a4], eax
cmp dword [0x6e22a0], 0
jne 0x4ca155
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x6e22a0], eax
cmp dword [0x6e22a8], 0
jne 0x4ca17a
push esp
push 0
push 0
mov eax, dword [0x631884]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x6e22a8], eax
pop edx
ret
Function at 0x4ca4a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ca4b7
add esp, 0xfffffff0
call fcn.00405344
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043f178
mov eax, dword [0x6dc9f8]
cmp byte [eax], 0
jne 0x4ca4e4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x6dccd8]
cmp word [eax + 2], 0
jne 0x4ca4fe
mov eax, dword [0x6dccd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc598
mov eax, dword [0x6dcdf0]
cmp word [eax + 2], 0
jne 0x4ca518
mov eax, dword [0x6dcdf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004cc7a8
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x449b44]
call fcn.0044fe18
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ccd58
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44dfdc]
call fcn.004592f0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ca6f8
mov eax, dword [0x6dcb9c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00459784
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4cd040
mov dl, 1
mov eax, dword [0x4287f8]
call fcn.00404de0
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6dcb9c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00413794
test eax, eax
je 0x4ca629
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00413578
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413778
test eax, eax
je 0x4ca641
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406bc4
push ebx
push 0x4cbf68
call fcn.004c01b0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x6dc9f8]
cmp byte [eax], 0
jne 0x4ca692
mov eax, ebx
call fcn.004ca86c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004cd26c
mov eax, ebx
call fcn.004cdea0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ca6ef
call fcn.0040539c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cab40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4cabe2
cmp dword [ebx + 0x94], 0
jne 0x4cabdc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4caa8c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4cabdc
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 0x4caba2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4cabdc
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.004335cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4cabb1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6e228c]
cmp dword [eax + 0x170], 0
je 0x4caf65
test bl, bl
jne 0x4caeb3
cmp dword [esi + 0x9c], 0
jne 0x4caea8
mov eax, esi
call fcn.004cdcf0
push eax
push 0x4cad0c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4cae79
mov eax, dword [0x6e228c]
cmp byte [eax + 0xd3], 0
je 0x4cae79
mov eax, dword [esi + 0xd8]
call fcn.00407fe8
mov edi, eax
cmp edi, 0
jl 0x4cae79
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4cae62
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4caea8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004335cc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4cae88
inc dword [esi + 0x9c]
jmp 0x4caf65
cmp dword [esi + 0x9c], 0
jle 0x4caf65
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4caf65
cmp dword [esi + 0x44], 0
je 0x4caf10
mov eax, dword [0x6e228c]
cmp byte [eax + 0xd3], 0
je 0x4caf10
mov eax, dword [esi + 0xd8]
call fcn.00407fe8
mov edi, eax
cmp edi, 0
jl 0x4caf10
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4caef9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4caf3f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004335cc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4caf1f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4be088]
call fcn.004081a8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4cbbb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4cbc1f
cmp byte [ebx + 0xd3], 0
jne 0x4cbc1f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406b00
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4cbc0c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4cbc2c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004069c4
jmp 0x4cbc2c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004069c4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4cd454
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4cd4c2
mov eax, esi
call fcn.004a5968
test al, al
je 0x4cd4c2
mov eax, dword [ebx + 0x84]
call fcn.004a55bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4cd4c2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4cd4b6
push 0
mov eax, dword [ebx + 0x84]
call fcn.004a55bc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0049c590
jmp 0x4cd4c2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004cd28c
pop esi
pop ebx
ret

Function at 0x4e5198
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, edx
push esp
push 0
push 0
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, 0x80000000
sete al
neg al
sbb eax, eax
test eax, eax
je 0x4e51ce
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00406bc4
jmp 0x4e51d7
mov eax, ebx
xor edx, edx
call fcn.004069c4
add esp, 0x20c
pop ebx
ret

Function at 0x4e52b4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x4e531f
inc ebx
mov dword [ebp - 4], ebx
mov esi, edx
inc byte [eax + 0x100]
movzx edx, byte [eax + 0x100]
movzx edx, byte [eax + edx]
add byte [eax + 0x101], dl
movzx ebx, byte [eax + 0x101]
movzx ebx, byte [eax + ebx]
push ebx
movzx ebx, byte [eax + 0x100]
lea edi, [eax + ebx]
pop ebx
mov byte [edi], bl
movzx ebx, byte [eax + 0x101]
mov byte [eax + ebx], dl
movzx ebx, byte [eax + 0x100]
add dl, byte [eax + ebx]
movzx edx, dl
movzx edx, byte [eax + edx]
xor dl, byte [esi]
mov byte [ecx], dl
inc ecx
inc esi
dec dword [ebp - 4]
jne 0x4e52c9
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x4ea1b8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4ea1cc
add esp, 0xfffffff0
call fcn.00405344
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00404de0
push esi
push 0x4ea7d0
call fcn.00440934
mov dword [esi + 0x448], eax
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [esi + 0x444], eax
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [esi + 4], eax
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [esi + 8], eax
push 0xfa0
lea eax, [esi + 0x41c]
push eax
call sub.KERNEL32.DLL_InitializeCriticalSectionAndSpinCount
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x440], eax
mov eax, dword [ebp - 0x10]
add eax, eax
add eax, eax
sub eax, 2
mov dword [esi + 0x10], eax
cmp eax, 0x100
jle 0x4ea25b
mov dword [esi + 0x10], pe_nt_image_headers32
mov eax, esi
test bl, bl
je 0x4ea270
call fcn.0040539c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4eaffc
Capabilities:
Access peb ldr_data

Disassembly:
call sub.KERNEL32.DLL_GetCurrentThreadId
mov ecx, eax
call fcn.004eaf58
cmp eax, ecx
je 0x4eb0ac
mov eax, dword [0x6e2328]
call fcn.004ea340
mov eax, 0x6e236c
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
pop edx
mov eax, 0x6e232c
mov dword [eax], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebp
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
xor eax, eax
push ebp
push 0x4eb0a4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push edx
mov ecx, 0x4eaeb0
push ecx
call fcn.004e9348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
mov eax, 0x6e232c
mov ebp, dword [eax + 0xc]
mov ecx, dword [eax + 0x38]
dec ecx
js 0x4eb081
mov eax, dword [eax + 0x3c]
mov edx, ecx
shl edx, 2
add eax, edx
mov edx, dword [eax]
add eax, 0xfffffffc
push edx
dec ecx
jns 0x4eb078
mov eax, 0x6e232c
mov edx, dword [eax + 0x10]
push edx
mov eax, 0x6e232c
mov ebx, dword [eax + 0x2c]
mov edi, dword [eax + 0x30]
mov esi, dword [eax + 0x34]
mov eax, 0x6e236c
push eax
call sub.KERNEL32.DLL_LeaveCriticalSection
ret
inc dword [0x6e2330]
ret

Function at 0x602cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x602d1d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp edi, ebx
jbe 0x602d0f
push 0
push 0x20
mov eax, ebx
xor edx, edx
call fcn.00407bec
movzx eax, byte [eax + str.05531b19bb846b18c09f979eeb429ad3Z]
xor byte [esi + ebx], al
inc ebx
cmp edi, ebx
ja 0x602cf3
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x602d27
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x603490
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004069ac
mov eax, dword [ebp - 8]
call fcn.004069ac
xor eax, eax
push ebp
push 0x603514
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00406a50
mov esi, eax
push esi
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
push 0
push esi
call sub.KERNEL32.DLL_SetFileAttributesW
push 1
push esi
mov eax, dword [ebp - 4]
call fcn.00406a50
push eax
call sub.KERNEL32.DLL_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x6034f9
push edi
push esi
call sub.KERNEL32.DLL_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60351b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004069bc
ret
Function at 0x603f84
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
xor eax, eax
push ebp
push 0x604097
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406a18
lea edx, [ebp - 0xc]
mov eax, 0x1a
call fcn.004e5198
mov dl, 1
mov eax, dword [0x446418]
call fcn.0044761c
mov esi, eax
mov edx, 0x80000001
mov eax, esi
call fcn.00447704
mov edx, 0x6040b8
mov eax, esi
call fcn.00447980
test al, al
je 0x604068
mov edi, 1
mov ebx, 0x6cb114
mov edx, dword [ebx]
mov eax, esi
call fcn.00448804
test al, al
je 0x60405b
lea ecx, [ebp - 4]
mov edx, dword [ebx]
mov eax, esi
call fcn.0044827c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004132c4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00411b0c
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00411b0c
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.0040741c
test eax, eax
jle 0x60405b
mov eax, dword [ebp - 4]
call fcn.00412fcc
test al, al
je 0x60405b
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004069c4
jmp 0x604061
add ebx, 4
dec edi
jne 0x603ff3
mov eax, esi
call fcn.004476d4
mov eax, esi
call fcn.00404e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60409e
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004069bc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004069bc
ret
Function at 0x60780c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x60783a
mov eax, ebx
call fcn.006082c0
cmp dword [ebx + 0x40], 0
je 0x607833
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6078ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x60789d
cmp dword [ebx + 8], 0
je 0x60785c
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 0x60786e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x60789d
cmp dword [ebx + 8], 0
je 0x60784f
cmp eax, 3
je 0x607881
dec eax
jne 0x60784f
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 0x60784f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x60784f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6078c9
cmp dword [ebx + 0x14], 0xcc
je 0x6078c9
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.006078d4
pop ebx
ret

Function at 0x61b94c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x6e2394
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x61b96e
shr eax, 1
xor eax, 0xedb88320
jmp 0x61b970
shr eax, 1
dec edx
jne 0x61b95c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x61b955
mov byte [0x6e2794], 1
pop esi
pop ebx
ret

Function at 0x61b98c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6e2794], 0
jne 0x61b9a3
call fcn.0061b94c
mov eax, edi
dec eax
test eax, eax
jl 0x61b9cb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6e2394]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x61b9ad
mov eax, ebx
pop edi
pop esi
pop ebx
ret