joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30001f2d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push esi
push 0x8000000
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x30001f87
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x30001f72
call esi
mov esi, eax
jmp 0x3000210f
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x3000210f
mov eax, dword [0x30007054]
cmp eax, esi
push ebx
push edi
mov dword [ebp + 8], 0x4400
jne 0x300020f4
mov esi, 0x2000
mov edi, 0x30009060
mov ebx, 0x30007060
cmp dword [ebp + 8], 0xfffffff
jae 0x300020d0
push esi
push edi
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x300020a9
cmp eax, dword [ebp + 8]
jne 0x300020cb
push 0
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x300020a9
cmp dword [ebp - 8], 0
je 0x300020cb
mov eax, dword [ebp + 8]
sub eax, 0x4400
neg eax
sbb eax, eax
and eax, esi
push eax
push ebx
push dword [ebp - 8]
push edi
call sub.SCNPST32.dll_RCVR_CountBlocks32_16
add dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
sub eax, 0x4400
neg eax
sbb eax, eax
and eax, esi
push eax
push ebx
push dword [ebp - 8]
push edi
call sub.SCNPST64.dll_RCVR_CountBlocks64_16
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jbe 0x3000206f
test eax, eax
jbe 0x30002051
mov ecx, eax
jmp 0x30002054
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
cmp eax, 0x64
jb 0x30002092
xor eax, eax
inc eax
mov dword [0x30007058], eax
mov dword [0x30007054], eax
jmp 0x30002097
cmp dword [ebp - 4], 0
jbe 0x3000207a
mov ecx, dword [ebp - 4]
jmp 0x3000207d
xor ecx, ecx
inc ecx
xor edx, edx
div ecx
cmp eax, 0x64
jb 0x30002092
and dword [0x30007058], 0
xor eax, eax
inc eax
jmp 0x30002068
mov eax, dword [0x30007054]
cmp dword [ebp - 8], esi
jb 0x300020d0
add dword [ebp + 8], esi
test eax, eax
je 0x30001fac
jmp 0x300020d0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x300020b9
call esi
jmp 0x30002102
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x30002104
mov eax, dword [0x30007054]
test eax, eax
jne 0x300020f4
mov ecx, dword [ebp - 0xc]
test ecx, ecx
ja 0x300020e0
cmp dword [ebp - 4], eax
jbe 0x300020f4
xor eax, eax
inc eax
cmp dword [ebp - 4], ecx
mov dword [0x30007054], eax
sbb ecx, ecx
inc ecx
mov dword [0x30007058], ecx
neg eax
sbb eax, eax
and eax, 0x7ffbf6fd
add eax, 0x80040903
mov esi, eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x3000225a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x300016bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x10
pop ecx
mov esi, 0x30001560
lea edi, [ebp - 0x8c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x30007010]
mov edx, dword [ebp + 8]
and dword [ebp - 0xa4], 0
cmp eax, 0xffffffff
movsb byte es:[edi], byte [esi]
push 0xe
pop ecx
mov esi, 0x30001528
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x3000151c
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x90], edx
movsb byte es:[edi], byte [esi]
jne 0x300023f5
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebx
push 4
pop esi
lea eax, [ebp - 0x94]
push eax
push 1
push 0
lea eax, [ebp - 0x8c]
push eax
mov ebx, 0x80000001
push ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], esi
call edi
test eax, eax
jne 0x30002347
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x3000232f
cmp dword [ebp - 0x98], esi
jne 0x3000232f
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
jmp 0x30002339
mov dword [ebp - 0xa4], 1
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x30002351
mov dword [ebp - 0xa4], 1
cmp dword [ebp - 0xa4], 0
je 0x300023e5
lea eax, [ebp - 0x94]
push eax
push 1
push 0
lea eax, [ebp - 0x48]
push eax
push ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], esi
call edi
test eax, eax
jne 0x300023d7
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x300023bb
cmp dword [ebp - 0x98], esi
jne 0x300023bb
mov eax, dword [ebp - 0xa0]
jmp 0x300023c1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ecx, dword [ebp - 0x90]
push dword [ebp - 0x94]
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x300023e5
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov dword [0x30007010], eax
pop ebx
jmp 0x300023f7
mov dword [edx], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.30004df0
leave
ret 4
Function at 0x3000271d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x300016bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x3000bda0], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x28], esi
je 0x30002874
push 8
push dword [0x3000be4c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x3000276b
mov eax, dword [eax + 0xc]
test eax, eax
je 0x3000276b
push eax
push 0x3000bd98
push esi
call dword [sym.imp.USER32.dll_FillRect]
push edi
push 0x3f2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x38]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x20
lea eax, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x3000bda0]
cmp eax, dword [ebp - 0x38]
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
jl 0x30002823
push 2
call edi
push eax
push dword [ebp - 0x28]
call esi
push 0xffffff
push dword [ebp - 0x28]
call ebx
mov eax, dword [0x3000bda0]
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
push 6
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [0x3000bda0]
cmp eax, dword [ebp - 0x30]
jge 0x30002873
push 0xf
call edi
push eax
push dword [ebp - 0x28]
call esi
push 0
push dword [ebp - 0x28]
call ebx
mov eax, dword [0x3000bda0]
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
push 6
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.30004df0
leave
ret 8
Function at 0x30004ba8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x3000bda8
push 0xc
call sub.OLMAPI32.dll_Ordinal_259
test eax, eax
jge 0x30004bc5
xor eax, eax
jmp 0x30004cea
push ebx
push esi
push edi
push dword [0x3000700c]
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
push dword [0x30007008]
call edi
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x30004c93
cmp eax, ebx
jne 0x30004c93
push dword [0x30007004]
call fcn.30005995
test eax, eax
je 0x30004ce5
call fcn.300021dd
mov esi, dword [ebp + 8]
push 0x300016ac
push esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x3000495c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 5
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0xc], eax
mov eax, dword [0x30007008]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 8], ebx
call fcn.30002fd2
test ax, ax
je 0x30004ce5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x3000b060
call fcn.30002ddd
push dword [ebp + 0x14]
push ebx
push esi
call fcn.30003573
cmp dword [0x3000be54], ebx
je 0x30004c8e
call fcn.30002160
xor eax, eax
inc eax
jmp 0x30004ce7
push 0x80
mov esi, 0x3000bc98
push esi
push 0x80f2
push dword [0x3000bda8]
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
push ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x30004ce5
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [ebp - 0x54], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x30004ce5
cmp dword [ebp - 0x4c], 2
jne 0x30004ce5
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x30004df0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x300016bc]
jne 0x300051ef
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3000bf88], eax
mov dword [0x3000bf84], ecx
mov dword [0x3000bf80], edx
mov dword [0x3000bf7c], ebx
mov dword [0x3000bf78], esi
mov dword [0x3000bf74], edi
mov word [0x3000bfa0], ss
mov word [0x3000bf94], cs
mov word [0x3000bf70], ds
mov word [0x3000bf6c], es
mov word [0x3000bf68], fs
mov word [0x3000bf64], gs
pushfd
pop dword [0x3000bf98]
mov eax, dword [ebp]
mov dword [0x3000bf8c], eax
mov eax, dword [ebp + 4]
mov dword [0x3000bf90], eax
lea eax, [ebp + 8]
mov dword [0x3000bf9c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3000bed8], 0x10001
mov eax, dword [0x3000bf90]
mov dword [0x3000be8c], eax
mov dword [0x3000be80], 0xc0000409
mov dword [0x3000be84], 1
mov eax, dword [0x300016bc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x30007018]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x3000bed0], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x300016f0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x3000bed0], 0
jne 0x300052df
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x30005591
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x300016bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x474], eax
push 0x105
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor esi, esi
cmp eax, esi
jne 0x300055cd
xor eax, eax
jmp 0x300056f3
add eax, eax
lea ecx, [ebp + eax - 0x260]
cmp word [ecx], 0x5c
je 0x300055e9
mov word [ecx], 0x5c
mov word [ebp + eax - 0x25e], si
push ebx
push edi
push 0x106
lea eax, [ebp - 0x260]
push eax
mov edi, 0x300017f8
push edi
call fcn.30005566
push 8
push esi
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
jne 0x30005629
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, esi
je 0x300056db
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x300017e4
push ebx
call edi
push 0x300017c4
push ebx
mov dword [ebp - 0x478], eax
call edi
cmp eax, esi
mov dword [ebp - 0x470], eax
je 0x300056db
cmp dword [ebp - 0x474], esi
mov ebx, 0x300017b0
mov edi, 0x30001760
je 0x300056b3
cmp dword [ebp - 0x478], esi
je 0x300056db
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x474]
call dword [ebp - 0x478]
cmp eax, esi
jne 0x300056ac
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push esi
push esi
lea eax, [ebp - 0x54]
push eax
push esi
push ebx
push edi
mov dword [ebp - 0x46c], 0x104
call dword [ebp - 0x470]
cmp eax, esi
je 0x300056df
cmp eax, 0x642
je 0x300056df
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x468]
push eax
push esi
push esi
push esi
push esi
push ebx
push edi
mov dword [ebp - 0x46c], 0x104
call dword [ebp - 0x470]
test eax, eax
je 0x300056df
xor eax, eax
jmp 0x300056f1
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x3000c1b4], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.30004df0
leave
ret 4
Function at 0x30005790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x300016bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x300016f8
push 0x80000002
mov dword [ebp - 0x214], ebx
xor esi, esi
mov dword [ebp - 0x218], 0x208
mov word [ebp - 0x210], bx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push 0x3000187c
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x214], ebx
je 0x3000581b
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
cmp eax, ebx
je 0x30005846
cmp eax, 0x208
ja 0x30005846
shr eax, 1
mov esi, eax
je 0x30005846
lea eax, [ebp + esi*2 - 0x212]
cmp word [eax], 0x5c
je 0x30005846
dec esi
dec eax
dec eax
cmp esi, ebx
jne 0x30005839
push dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
mov word [ebp + esi*2 - 0x210], bx
call fcn.30005702
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.30004df0
leave
ret 4

Function at 0x30005870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x300016bc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor esi, esi
push esi
push 0x30001828
push 0x80000002
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x30001808
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x218]
shr eax, 1
cmp dword [ebp - 0x214], esi
mov word [ebp + eax*2 - 0x210], si
je 0x300058f8
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x105
lea eax, [ebp - 0x210]
push eax
push 0x30001898
call fcn.30005566
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
pop esi
jne 0x3000592a
push 0x3000188c
call fcn.30005790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.30004df0
leave
ret
Function at 0x4043ff
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004186ba
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004186ba
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x40447b
mov eax, dword [0x5ce9c0]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0xd
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x4044a7
push 6
call fcn.004186cc
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x12
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x4044d5
push 6
call fcn.004186cc
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x13
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x404501
push 6
call fcn.004186cc
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x14
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x404590
push 6
call fcn.004186cc
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x15
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x4045b5
push 6
call fcn.004186cc
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x4045bd
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004186ae
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004186ae
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4083a5
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.004186ba
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004186ba
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.004186ba
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x41a640
call fcn.004186b4
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x40845e
mov eax, 0
jmp 0x4085a2
cmp dword [ebp + 0xc], 0
jne 0x40848a
mov dword [ebp - 0x18], esp
mov eax, 0x17
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x408487
push 6
call fcn.004186cc
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4084b2
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4084ac
push ebx
call fcn.004186ae
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x18
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x4084dd
push 6
call fcn.004186cc
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4a7801
mov eax, 0x19
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x408509
push 6
call fcn.004186cc
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x1a
call fcn.004186d2
cmp dword [ebp - 0x18], esp
je 0x40859d
push 6
call fcn.004186cc
add esp, 4
jmp 0x4085a2
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004186ae
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004186ae
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004186ae
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5db220]
xor edx, edx
cmp eax, edx
jne 0x43b2b6
xor eax, eax
mov byte [eax + 0x5db120], al
inc eax
cmp eax, 0x100
jl 0x43b29e
mov dword [0x5db220], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5db120
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43b347
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43b31a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43b2e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43b3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43b413
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43b3fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret