joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4307f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43080c
cmp dword [esi + 4], 0
je 0x430839
test byte [ebx + 0x55], 1
jne 0x43082b
mov eax, ebx
call fcn.0042f3fc
test eax, eax
jne 0x43082b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x430949
mov edx, esi
mov eax, ebx
call fcn.00430314
jmp 0x430949
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x430942
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432660
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042d118
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004307f0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00432660
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430949
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436d58
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44e11c]
cmp byte [eax + 0xc], 0
je 0x436ec5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436ebe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fb64], 0
jne 0x436dac
push 0x436ecc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x436ed4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb64], eax
cmp dword [0x44db04], 0
jne 0x436ea7
push 0x436ee4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44db04], eax
cmp dword [0x44db04], 0
je 0x436ea7
push 0x436ef0
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb68], eax
push 0x436f00
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb6c], eax
push 0x436f14
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb70], eax
push 0x436f2c
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb74], eax
push 0x436f44
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb78], eax
push 0x436f58
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb7c], eax
push 0x436f70
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb80], eax
push 0x436f88
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb84], eax
push 0x436fa4
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb88], eax
push 0x436fb0
mov eax, dword [0x44db04]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436ec5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ad50
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.00403e2c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ad9f
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.0040409c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4424b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442504]
test si, 4
je 0x4424c8
or bl, 1
test si, 8
je 0x4424d2
or bl, 4
test si, 1
je 0x4424dc
or bl, 8
test si, 2
je 0x4424e6
or bl, 0x10
test si, 0x10
je 0x4424f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4424ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442508
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442540]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442521
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442530
or bl, 4
test esi, 0x20000000
je 0x44253b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448be8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448bfa
add esp, 0xfffffff0
call fcn.00403400
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418ef0
mov eax, dword [0x44ddf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x448f8c
mov eax, dword [0x44de04]
mov dword [eax + 4], ebx
mov dword [eax], 0x448f98
mov eax, ebx
call fcn.00448fa4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
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, 0x4453c0
push eax
push 0
push 0
mov eax, dword [0x44df44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a914]
call fcn.0041bd58
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a914]
call fcn.0041bd58
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a914]
call fcn.0041bd58
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004493c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4492a0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4492a0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4492a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448d37
call fcn.00403458
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449084
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 0x44922f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449210
mov dl, 1
mov eax, dword [0x411604]
call fcn.004030c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e2c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4491ff
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.004370b8
test al, al
je 0x4491f2
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, 0x449240
lea eax, [ebp - 0x254]
call fcn.0040879c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4491f2
xor eax, eax
push ebp
push 0x4491eb
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 0x449278
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4491d4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040409c
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 0x4491d4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040409c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4491f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4490f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004150e0
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 0x449236
lea eax, [ebp - 0x260]
call fcn.00403e2c
ret

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

Disassembly:
push ecx
mov eax, dword [0x44fbb0]
cmp byte [eax + 0xa5], 0
jne 0x449bd5
cmp dword [0x44fbc8], 0
jne 0x449b96
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449b20
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc8], eax
cmp dword [0x44fbc4], 0
jne 0x449bb1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44fbc4], eax
cmp dword [0x44fbcc], 0
jne 0x449bd5
push esp
push 0
push 0
push 0x449ac4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fbcc], eax
pop edx
ret
Function at 0x449ccc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449ce3
add esp, 0xfffffff0
call fcn.00403400
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418ef0
mov eax, dword [0x44df30]
cmp word [eax + 2], 0
jne 0x449d0b
mov eax, dword [0x44df30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b3a4
mov eax, dword [0x44dfd8]
cmp word [eax + 2], 0
jne 0x449d25
mov eax, dword [0x44dfd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b59c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4111e8]
call fcn.004030c4
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b0c4]
call fcn.00420d9c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449eac
mov eax, dword [0x44de58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042116c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bb3c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bdd8
test eax, eax
je 0x449e1a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408190
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be00
test eax, eax
je 0x449e2e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040409c
mov eax, dword [0x44dd5c]
cmp byte [eax], 0
jne 0x449e62
mov eax, ebx
call fcn.00449fd4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044bd18
mov eax, ebx
call fcn.0044c6dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449ea2
call fcn.00403458
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a254
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a2fe
cmp dword [ebx + 0x94], 0
jne 0x44a2f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a1e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a2f8
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 0x44a2be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a2f8
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.00413550
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a2cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ae60
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 0x44ae95
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.00403f1c
jmp 0x44aea2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e80
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44bef4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44bf35
mov eax, esi
call fcn.004328c0
test al, al
je 0x44bf35
mov eax, dword [ebx + 0x84]
call fcn.00432660
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44bf35
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432660
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x404b60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.004720f0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x805]
call fcn.004048b0
lea ecx, [ebp - 0x805]
mov edi, eax
call fcn.004047d0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x80c], esi
test esi, esi
je 0x404c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404c26
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x404c13
push 0
push 0
push 0x1400
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x404c43
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x404c50
lea edx, [ebp - 0x80c]
push edx
push eax
call fcn.00404400
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d79a
mov esp, ebp
pop ebp
ret
Function at 0x404cf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a3c
call fcn.0044d7b0
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0
push 2
mov dword [ebp - 0x1a34], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404ef6
push edi
push 0x228
lea eax, [ebp - 0x1a2c]
push 0
push eax
call fcn.004720f0
add esp, 0xc
mov dword [ebp - 0x1a30], 0x22c
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x404ef2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1a3c], eax
cmp eax, dword [ebp - 0x1a28]
je 0x404ed7
push dword [ebp - 0x1a34]
lea eax, [ebp - 0x1a0c]
push eax
call fcn.004a3628
add esp, 8
test eax, eax
jne 0x404ed7
push 0x800
push eax
lea eax, [ebp - 0x1804]
push eax
call fcn.004720f0
add esp, 0xc
push dword [ebp - 0x1a28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x404ea6
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004720f0
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x404e9b
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.004720f0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.0047291a
add esp, 0x14
test eax, eax
je 0x404e63
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x404e63
lea ecx, [ebp - 0x1004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e50
lea eax, [ebp - 0x1004]
jmp 0x404e81
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e70
lea eax, [ebp - 0x804]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x1804]
push 0x400
push eax
call fcn.004a3548
add esp, 0x10
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x404eac
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x1a28]
mov dword [ebp - 0x1a38], ecx
cmp dword [esi + 8], eax
je 0x404ec8
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x404ed7
lea ecx, [ebp - 0x1a38]
push ecx
push eax
mov ecx, esi
call fcn.004042a0
lea eax, [ebp - 0x1a30]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x1a3c]
jne 0x404d71
push ebx
call edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d79a
mov esp, ebp
pop ebp
ret 8
Function at 0x406790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x550204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x555e70
mov dword [ebp - 0xe0], 0x630061
lea esi, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0x690074
push edi
mov dword [ebp - 0xd8], 0x6e006f
mov edx, 0x6e
mov dword [ebp - 0xd4], 0x7b003d
sub esi, eax
mov dword [ebp - 0xd0], 0x630061
mov dword [ebp - 0xcc], 0x690074
mov dword [ebp - 0xc8], 0x6e006f
mov dword [ebp - 0xc4], 0x23007d
mov dword [ebp - 0xc0], 0x700061
mov dword [ebp - 0xbc], 0x760070
mov dword [ebp - 0xb8], 0x720065
mov dword [ebp - 0xb4], 0x7b003d
mov dword [ebp - 0xb0], 0x650076
mov dword [ebp - 0xac], 0x7d0072
mov dword [ebp - 0xa8], 0x6d0023
mov dword [ebp - 0xa4], 0x640069
mov dword [ebp - 0xa0], 0x7b003d
mov dword [ebp - 0x9c], 0x69006d
mov dword [ebp - 0x98], 0x7d0064
mov dword [ebp - 0x94], 0x6d0023
mov dword [ebp - 0x90], 0x64006f
mov dword [ebp - 0x8c], 0x650076
mov dword [ebp - 0x88], 0x3d0072
mov dword [ebp - 0x84], 0x6d007b
mov dword [ebp - 0x80], 0x64006f
mov dword [ebp - 0x7c], 0x650076
mov dword [ebp - 0x78], 0x7d0072
mov dword [ebp - 0x74], 0x700023
mov dword [ebp - 0x70], 0x640069
mov dword [ebp - 0x6c], 0x7b003d
mov dword [ebp - 0x68], 0x690070
mov dword [ebp - 0x64], 0x7d0064
mov dword [ebp - 0x60], 0x740023
mov dword [ebp - 0x5c], 0x700079
mov dword [ebp - 0x58], 0x3d0065
mov dword [ebp - 0x54], 0x74007b
mov dword [ebp - 0x50], 0x700079
mov dword [ebp - 0x4c], 0x7d0065
mov dword [ebp - 0x48], 0x610023
mov dword [ebp - 0x44], 0x330035
mov dword [ebp - 0x40], 0x340063
mov dword [ebp - 0x3c], 0x630061
mov dword [ebp - 0x38], 0x630062
mov dword [ebp - 0x34], 0x350061
mov dword [ebp - 0x30], 0x390033
mov dword [ebp - 0x2c], 0x370065
mov dword [ebp - 0x28], 0x650037
mov dword [ebp - 0x24], 0x630030
mov dword [ebp - 0x20], 0x370031
mov dword [ebp - 0x1c], 0x350065
mov dword [ebp - 0x18], 0x610032
mov dword [ebp - 0x14], 0x330032
mov dword [ebp - 0x10], 0x310037
mov dword [ebp - 0xc], 0x650066
mov dword [ebp - 8], 0x32
lea ecx, [edx + 0x7fffff90]
test ecx, ecx
je 0x40699f
movzx ecx, word [esi + eax]
test cx, cx
je 0x40699f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x406981
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d79a
mov esp, ebp
pop ebp
ret