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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5072be
add esp, 0xfffffff0
call fcn.004054e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00450c1c
mov eax, dword [0x5756e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5076f0
mov eax, dword [0x5756f4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5076fc
mov eax, ebx
call fcn.00507708
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
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, 0x5020e0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x45f400]
call fcn.00465400
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x45f400]
call fcn.00465400
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x45f400]
call fcn.00465400
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x45f400]
call fcn.00465400
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x45f400]
call fcn.00465400
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.00507d00
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x507b1c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x507b1c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x507b1c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x507b1c
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x507b1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x50743b
call fcn.0040553c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5078bc
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 0x507a67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x507a48
mov dl, 1
mov eax, dword [0x439e10]
call fcn.004482a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00406b14
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x507a37
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.0049343c
test al, al
je 0x507a2a
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, 0x507a78
lea eax, [ebp - 0x394]
call fcn.0041f364
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x507a2a
xor eax, eax
push ebp
push 0x507a23
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 0x507ae8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x507a0c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004076c4
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 0x507a0c
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004076c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x507a2a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x50792d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004481e4
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 0x507a6e
lea eax, [ebp - 0x3a0]
call fcn.00406b14
ret

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

Disassembly:
push ecx
mov eax, dword [0x57b2f4]
cmp byte [eax + 0xb1], 0
jne 0x508692
cmp dword [0x57b314], 0
jne 0x508652
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x575550]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x57b314], eax
cmp dword [0x57b310], 0
jne 0x50866d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x57b310], eax
cmp dword [0x57b318], 0
jne 0x508692
push esp
push 0
push 0
mov eax, dword [0x57554c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x57b318], eax
pop edx
ret
Function at 0x5089a8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5089bf
add esp, 0xfffffff0
call fcn.004054e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00450c1c
mov eax, dword [0x5755c4]
cmp byte [eax], 0
jne 0x5089ec
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5758a4]
cmp word [eax + 2], 0
jne 0x508a06
mov eax, dword [0x5758a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0050ab34
mov eax, dword [0x5759d0]
cmp word [eax + 2], 0
jne 0x508a20
mov eax, dword [0x5759d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0050ad38
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x45f400]
call fcn.00465400
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x50b2b0
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
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 [0x463ce0]
call fcn.0046e970
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x508c04
mov eax, dword [0x575780]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046ee04
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x50b598
mov dl, 1
mov eax, dword [0x43669c]
call fcn.00404ea8
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x575780]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041f178
test eax, eax
je 0x508b34
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041ef28
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041f15c
test eax, eax
je 0x508b4c
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, pe_nt_image_headers32
call fcn.004076c4
push ebx
push 0x50a518
call fcn.004fe63c
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5755c4]
cmp byte [eax], 0
jne 0x508b9d
mov eax, ebx
call fcn.00508dc4
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.0050b7cc
mov eax, ebx
call fcn.0050c3f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x508bfa
call fcn.0040553c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5090ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x50918e
cmp dword [ebx + 0x98], 0
jne 0x509188
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x509028
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x509188
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 0x50914e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x509188
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.00443c80
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x50915d
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x57b2f4]
cmp dword [eax + 0x178], 0
je 0x509511
test bl, bl
jne 0x50945f
cmp dword [esi + 0xa0], 0
jne 0x509454
mov eax, esi
call fcn.0050c248
push eax
push 0x5092b8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x509425
mov eax, dword [0x57b2f4]
cmp byte [eax + 0xd7], 0
je 0x509425
mov eax, dword [esi + 0xdc]
call fcn.00408780
mov edi, eax
cmp edi, 0
jl 0x509425
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 0x50940e
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x509454
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443c80
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x509434
inc dword [esi + 0xa0]
jmp 0x509511
cmp dword [esi + 0xa0], 0
jle 0x509511
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x509511
cmp dword [esi + 0x48], 0
je 0x5094bc
mov eax, dword [0x57b2f4]
cmp byte [eax + 0xd7], 0
je 0x5094bc
mov eax, dword [esi + 0xdc]
call fcn.00408780
mov edi, eax
cmp edi, 0
jl 0x5094bc
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 0x5094a5
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5094eb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.00443c80
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5094cb
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 [0x4fb000]
call fcn.0040892c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x50a164
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 0x50a1cf
cmp byte [ebx + 0xd7], 0
jne 0x50a1cf
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.00406c9c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x50a1bc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x50a1dc
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406ef4
jmp 0x50a1dc
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.00406ef4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x50b9b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x50ba22
mov eax, esi
call fcn.0048d4b8
test al, al
je 0x50ba22
mov eax, dword [ebx + 0x88]
call fcn.0048d10c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x50ba22
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x50ba16
push 0
mov eax, dword [ebx + 0x88]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00483f74
jmp 0x50ba22
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.0050b7ec
pop esi
pop ebx
ret
Function at 0x5121a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x51221a
mov eax, dword [ebx + 8]
call fcn.0048d10c
mov ecx, eax
mov dl, 1
mov eax, dword [0x499eec]
call fcn.00487594
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0049f00c
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x511ab4
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x512290
mov eax, dword [ebx + 8]
call fcn.0048d10c
mov ecx, eax
mov dl, 1
mov eax, dword [0x499eec]
call fcn.00487594
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0049f00c
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x511b00
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5122fc
mov eax, dword [ebx + 8]
call fcn.0048d10c
mov ecx, eax
mov dl, 1
mov eax, dword [0x49a928]
call fcn.00487594
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048d10c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0048d10c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ad07c]
jne 0x401cdf
repz ret
jmp fcn.00402a42

Function at 0x4083ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ad07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405dcd
and dword [ebp - 0x14], 0
cmp dword [0x4afe68], 0
mov dword [ebp - 0x18], eax
jne 0x40846d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408515
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408515
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4afe68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4afe6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4afe70], eax
call edi
push eax
call esi
mov dword [0x4afe78], eax
test eax, eax
je 0x40846d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4afe74], eax
mov eax, dword [0x4afe74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4084c6
cmp dword [0x4afe78], ecx
je 0x4084c6
push eax
call esi
push dword [0x4afe78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4084c6
test ebx, ebx
je 0x4084c6
call edi
test eax, eax
je 0x4084bd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4084bd
test byte [ebp - 8], 1
jne 0x4084c6
or dword [ebp + 0x10], 0x200000
jmp 0x4084f9
mov eax, dword [0x4afe6c]
cmp eax, dword [ebp - 0x18]
je 0x4084f9
push eax
call esi
test eax, eax
je 0x4084f9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084f9
mov eax, dword [0x4afe70]
cmp eax, dword [ebp - 0x18]
je 0x4084f9
push eax
call esi
test eax, eax
je 0x4084f9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4afe68]
call esi
test eax, eax
je 0x408515
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408517
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0xc99226
Capabilities:
Execute syscall

Disassembly:
dec esp
mov edx, ecx
syscall
ret

Function at 0xc99f45
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header

Disassembly:
push ebp
mov ebp, esp
btc ecx, 0x24
lahf
shr dl, 0x62
lea esp, [esp - 0x50]
mov edx, dword [ebp + 8]
xor ax, di
movzx eax, dx
shr cx, 0x93
mov eax, dword [edx + 0x38]
rol cx, 0xd5
bts ecx, esp
mov ecx, dword [edx + 0x3c]
jmp 0xca171d
mov dword [ebp - 0x2c], ecx
movsx cx, bh
mov ecx, dword [edx + 0x24]
jmp 0xc9fa61
dec eax
test sp, di
mov dword [ebp - 0x50], eax
xchg al, ah
mov eax, dword [edx]
clc
mov dword [ebp - 0x48], eax
lahf
cmp esi, esp
bsf ax, ax
mov eax, dword [edx + 0x28]
cmp edi, 0x3af76fdf
mov dword [ebp - 0x34], eax
add eax, 0x671b3c39
mov eax, dword [edx + 0x2c]
cmc
clc
push esi
cmc
mov esi, dword [edx + 0x20]
mov dword [ebp - 0x20], eax
movzx ax, cl
mov eax, dword [edx + 0x18]
push edi
inc di
btc di, di
btr edi, esp
mov edi, dword [edx + 0x10]
cmc
stc
mov dword [ebp - 0xc], ecx
xor ecx, esi
shr ecx, cl
mov ecx, dword [edx + 0x30]
clc
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], edi
add dx, di
mov dword [ebp - 0x18], ebx
movzx edx, dx
btr dx, 0x82
bts edx, edi
mov dword [ebp - 0x44], ecx
shr dh, 0xfa
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
movsx eax, cx
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x3c], eax
btr ax, bx
mov dword [ebp - 0x38], ecx
mov eax, ebp
xchg ah, ah
mov ecx, dword [edx + 0x44]
mov dword [ebp - 0x40], ecx
setg ah
bswap ax
ror ah, cl
mov ecx, dword [edx + 8]
sub ax, 0x77d1
sar ax, 0x6d
mov eax, 1
shl eax, cl
mov ch, dh
movzx cx, al
bswap cx
mov ecx, dword [edx + 4]
jmp 0xd3420e
dec eax
test bx, ax
mov dword [ebp - 0x4c], eax
sub ah, 0xdc
adc al, 0x9a
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x14]
jmp 0xc9caa5
push ebx
mov ebx, dword [edx + 0x34]
jmp 0xd3286b

Function at 0xca7cb4
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
jmp 0x14f0174
sysenter
ret
Function at 0x10005d00
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x1006b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10005d81
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [esi]
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
push 4
push esi
call edi
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10005d50
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0xcc]
push 0
push dword [ebp - 0xd0]
mov dword [esi], eax
push 4
push esi
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10049dd9
mov esp, ebp
pop ebp
ret 4

Function at 0x10005da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1006b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10005de7
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10005dc4
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10049dd9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10049dd9
mov esp, ebp
pop ebp
ret 4

Function at 0x10005e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b4ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1006b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x1006b524], 0x10
mov eax, 0x1006b510
cmovae eax, dword [0x1006b510]
cmp byte [eax], 0
je 0x10005f1a
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x10005f1a
cmp dword [0x1006b1ac], 0x10
mov eax, 0x1006b198
cmovae eax, dword [0x1006b198]
cmp byte [eax], 0
je 0x10005f1a
mov esi, 0x10070860
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x10005e76
mov edx, 0x1006d040
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10005e90
mov ecx, dword [0x100710ec]
mov edx, 0x1006b510
cmp dword [0x1006b524], 0x10
push 0x10070860
cmovae edx, dword [0x1006b510]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10005f1a
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1005f958]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10005eed
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x10005ed0
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x10072c2c]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x10072c2c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10005f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b4dd
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1006b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae esi, dword [ebp + 8]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10005f70
sub esi, ecx
push esi
call fcn.1004a636
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x10005f9b
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x10005f90
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10005fd1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005fc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005fc7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004a628
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x100073e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1006b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
js 0x10007417
nop
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, edi
jle 0x10007400
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10049dd9
mov esp, ebp
pop ebp
ret 8

Function at 0x10007720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ebx, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [edi], ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.10049dd9
mov esp, ebp
pop ebp
ret 8