joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c56
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2001f
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b0da
mov dword [esp], 0x80000001
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call eax
sub esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402cf8
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xc2
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x402e53
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b0ec
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402e52
cmp dword [ebp - 0x10], 2
jne 0x402e1c
mov dword [esp], 4
call fcn.00403d72
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402d93
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xce
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x402e53
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004027b2
mov edx, eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40b0ec
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call eax
sub esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402e12
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xd5
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x402e53
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
jmp 0x402e53
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xdd
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x402e53
nop
cmp dword [ebp - 0xc], 0
je 0x402e64
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004026f2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402e7b
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov eax, dword [ebp - 0x20]
leave
ret
Function at 0x4032c1
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xd], 5
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x40330d
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
jmp 0x403310
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x28
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call eax
sub esp, 0xc
test eax, eax
jne 0x40336f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x16c
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x4034a6
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x4c
lea edx, [ebp - 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call eax
sub esp, 0x14
test eax, eax
jne 0x4033e0
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x172
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x4034a6
lea eax, [ebp - 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
lea eax, [ebp - 0x12]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
call eax
sub esp, 0x2c
test eax, eax
jne 0x40347f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x178
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x4034a6
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x6c]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_EqualSid]
call eax
sub esp, 8
test eax, eax
je 0x4034a5
mov dword [ebp - 0xc], 1
jmp 0x4034a6
nop
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4034be
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4034d5
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_FreeSid]
call eax
sub esp, 4
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x403c02
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jb 0x403c64
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x230
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x403d4e
mov dword [esp + 0x10], 0xf0000040
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call eax
sub esp, 0x14
test eax, eax
jne 0x403cd4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x236
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x403d4e
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov dword [esp + 8], edx
mov dword [esp + 4], 4
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
call eax
sub esp, 0xc
test eax, eax
jne 0x403d33
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x23c
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x403d4e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea ecx, [edx + 1]
mov edx, 0
div ecx
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403d6d
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x403d72
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x403dcb
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x250
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x403f0e
mov dword [esp + 0x10], 0xf0000040
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call eax
sub esp, 0x14
test eax, eax
jne 0x403e3e
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x256
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x403f0e
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00402588
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403e96
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x25d
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
jmp 0x403f0e
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
call eax
sub esp, 0xc
test eax, eax
jne 0x403f0a
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, eax
mov eax, dword [section..bss]
mov dword [esp + 0x14], 0x40b0c8
mov dword [esp + 0x10], 0x40b0d1
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x263
mov dword [esp + 4], 0xbb9
mov dword [esp], eax
call fcn.00405dca
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.004026f2
test eax, eax
je 0x403f0d
mov dword [ebp - 0xc], 0
jmp 0x403f0d
nop
jmp 0x403f0e
nop
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403f2d
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x2035e
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00011bae
add esp, 8
push 0x3fd14
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
call dword [sym.imp.MSVCRT.dll_rand]
add eax, 3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x20]
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00011ec4
add esp, 4
mov dword [ebp - 0x10], eax
push 0x3fd18
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x10], 0
jne 0x203e3
push 0x3fd1c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
jmp 0x204c7
push 0x3fd20
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00011d43
add esp, 8
mov dword [ebp - 8], eax
push str.456789
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 8], 0
je 0x20415
push 0x3fd28
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x20460
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
call dword [sym.imp.MSVCRT.dll_rand]
add eax, 3
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x30]
xor edx, edx
div dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
push 0x3fd2c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x10]
push edx
call fcn.00011794
add esp, 4
push 0x3fd30
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
jmp 0x204c7
push 0x3fd34
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [ebp - 8]
push 0x3fd38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x10], 0
jne 0x204b2
push 0x3fd3c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.MSVCRT.dll_rand]
add eax, 3
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x3c]
xor edx, edx
div dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
xor eax, eax
jmp 0x204c7
mov eax, dword [ebp - 0x10]
push eax
call fcn.00011794
add esp, 4
mov dword [ebp - 0x10], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x875260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b8516
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x8d0e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
test edi, edi
je 0x8752c6
mov dword [ebp - 4], 0
lea edx, [edi + 8]
xor al, al
xchg byte [edx], al
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x8752a7
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x8752b4
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x10
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.008a293c
add esp, 8
mov ecx, dword [esi + 4]
mov dword [esi + 8], 0
test ecx, ecx
je 0x8752d9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x8752e6
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esi + 0xc]
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x18], 0xffffffe8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xffffffe8
mov dword [esi + 0x28], 0xffffffe8
mov dword [esi + 0x2c], 0xffffffe8
mov dword [esi + 0x30], 0xffffffe8
mov dword [esi + 0x34], 0xffffffe8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x87cb70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b8e5c
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x8d0e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x87cbae
lea eax, [ecx - 7]
jmp 0x87cd88
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
push eax
push edi
push ecx
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_ReadFile_1]
test eax, eax
je 0x87cbed
cmp dword [ebp - 0xe4], edi
jne 0x87cbe6
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
jmp 0x87cd88
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov esi, eax
cmp esi, 0xe9
ja 0x87cc29
je case.0x87cc0e.109
cmp esi, 0xe8
ja case.0x87cc0e.1
movzx eax, byte [esi + 0x87cdbc]
jmp dword [eax*4 + 0x87cda8]
mov eax, 0xfffffff2
jmp 0x87cd88
mov eax, 0xffffffe7
jmp 0x87cd88
sub eax, 0x3e5
je case.0x87cc0e.0
sub eax, 0x313
je case.0x87cc0e.8
sub eax, 0x20
je case.0x87cc0e.8
push 0x8cb92c
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], 0x8cbcf8
call fcn.00886ac0
push esi
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0
call fcn.008869c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0087d8a0
mov ecx, eax
call fcn.0087d7d0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0087d760
mov ecx, eax
call fcn.0087d340
mov esi, eax
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xf4], 0x8cbcf8
cmovae ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.00886ac0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x114]
call fcn.00886370
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x87ccfa
mov esi, dword [esi]
push ecx
mov ecx, dword [0x8d361c]
push 0
push 0xbc
push esi
push dword [eax + 4]
call fcn.00895d10
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], 0x8cbcf8
test eax, eax
je 0x87cd2e
push eax
call fcn.008a61a1
add esp, 4
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x87cd41
push eax
call fcn.008a61a1
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.008762b0
lea ecx, [ebp - 0x28]
call fcn.008762b0
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x87cd64
push eax
call fcn.008a61a1
add esp, 4
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x87cd77
push eax
call fcn.008a61a1
add esp, 4
or eax, 0xffffffff
jmp 0x87cd88
mov eax, 0xfffffff6
jmp 0x87cd88
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.008a28ee
mov esp, ebp
pop ebp
ret 8
Function at 0x87fb10
Capabilities:
Hide thread from debugger

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b9318
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x8d0e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x8cbb08
push 0x8cbb20
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA_1]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress_1]
mov dword [ebp - 0x174], eax
test eax, eax
jne 0x87fb68
xor al, al
jmp 0x87fc84
cmp dword [ebx + 0x2c], 0
jne 0x87fc74
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0087fde0
mov ecx, eax
call fcn.0087fd10
mov edi, eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.0087fe50
mov ecx, eax
call fcn.00878d30
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push ecx
lea ecx, [ebp - 0x170]
call fcn.0087ff50
mov ecx, eax
call fcn.0087fed0
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x87fbcf
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x87fbd7
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x87fbdf
mov eax, dword [eax]
push 0x53
push edi
push 2
push 1
mov edx, esi
mov ecx, eax
call fcn.00879510
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp eax, 0x10
jb 0x87fc07
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00876670
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x87fc2e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00876670
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x87fc5c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00876670
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
push 0
push 0
push 0x11
push dword [ebx + 0x2c]
call eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.008a28ee
mov esp, ebp
pop ebp
ret
Function at 0x881110
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b9369
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x8d0e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW_1]
push eax
call dword [0x8d17c8]
mov esi, eax
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov ecx, ebx
push 0
mov dword [ebx], 0x8c748c
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.008773e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test esi, esi
je 0x881278
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
jle 0x88125c
mov dword [ebp - 0x30], 0x8cbcf8
nop dword [eax + eax]
mov eax, dword [esi + ebx*4]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte_1]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x8811eb
xor esi, esi
jmp 0x8811f6
push edi
call fcn.008a61a6
add esp, 4
mov esi, eax
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x20]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte_1]
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x88121d
lea eax, [edi - 1]
mov dword [ebp - 0x24], eax
jmp 0x88122b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
push eax
call fcn.008769f0
mov byte [ebp - 4], 0
test esi, esi
je 0x88124f
push esi
call fcn.008a61a1
add esp, 4
mov esi, dword [ebp - 0x14]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x8811c0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree_1]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x885e80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
cmp dword [0x8d17e0], 0
push ebx
push esi
push edi
je 0x885ec9
push 0
push 0x1c
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
xorps xmm0, xmm0
push eax
push 0
movups xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread_1]
push eax
call dword [0x8d17e0]
mov ecx, dword [esp + 0x20]
jmp 0x885ed0
mov ecx, dword fs:[0x18]
test ecx, ecx
je 0x885fb8
mov eax, dword [ecx + 8]
mov dword [0x8d3354], eax
mov eax, dword [ecx + 4]
cmp byte [0x8d3350], 0
mov dword [0x8d3358], eax
lea eax, [ebp + 4]
mov dword [0x8d335c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress_1]
mov dword [0x8d3360], eax
jne 0x885f12
push 1
call dword [0x8d17d4]
mov byte [0x8d3350], 1
call dword [0x8d17d0]
push 0
push 0x3e8
push dword [0x8d350c]
mov esi, eax
mov dword [esp + 0x20], 0
push dword [0x8d3508]
call fcn.008b7e90
push edx
push eax
push esi
push 0
call fcn.008b7e90
mov edi, dword [0x8d335c]
xor ecx, ecx
mov edx, dword [0x8d3354]
mov ebx, edi
sub ebx, edx
xor esi, esi
inc ebx
shr ebx, 1
cmp edx, edi
cmova ebx, ecx
test ebx, ebx
je 0x885f80
imul eax, eax, 0x19660d
lea edx, [edx + 2]
inc esi
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 8
mov word [edx - 2], cx
cmp esi, ebx
jb 0x885f64
mov edx, dword [0x8d3358]
add edx, 0xfffffffe
cmp edx, edi
jb 0x885faa
nop dword [eax]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov ecx, eax
shr ecx, 8
mov word [edx], cx
sub edx, 2
cmp edx, edi
jae 0x885f90
mov eax, dword [0x8d3360]
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId_1]
push 0x28
mov esi, eax
call fcn.008a2904
mov edi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [esp + 0x10], edi
mov dword [edi + 4], esi
mov dword [edi + 8], 0x8cbcf8
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0x8cbc04
movups xmmword [edi + 0x18], xmm0
mov esi, dword [edi + 0x18]
test esi, esi
jne 0x886015
push dword [edi + 4]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x88602b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess_1]
cmp dword [edi + 0x18], 0
jne 0x88602b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle_1]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret