joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008b480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0xc], ebx
call fcn.100c13a0
mov esi, eax
mov dword [ebp - 0x18], esi
lea edi, [esi + 0x612718]
test edi, edi
je 0x1008b589
mov eax, dword [ebx]
xor edx, edx
dec eax
movq xmm0, qword [0x10243364]
mov ecx, 0xa
movq qword [ebp - 0x24], xmm0
div ecx
mov eax, dword [edi + 0x170]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [edx + edx*8]
mov ebx, dword [eax + ecx*8 + 4]
lea ecx, [esi + 0x383f63]
mov ax, word [ecx]
mov si, word [0x10243370]
mov word [ebp - 0x14], ax
mov al, byte [ecx + 2]
mov byte [ebp - 0xd], al
lea eax, [ebp - 8]
push eax
push 0x40
push 2
push ecx
call edi
mov eax, dword [ebp - 0x18]
push 0
push dword [ebp - 8]
add eax, 0x383f63
push 2
push eax
mov word [eax], si
call edi
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
add esi, 0x383f65
push esi
call edi
movzx eax, byte [ebp - 0x24]
push 0
push dword [ebp - 8]
mov byte [esi], al
push 1
push esi
call edi
mov ecx, dword [ebp - 0xc]
push ebx
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
call eax
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
add esp, 4
add ebx, 0x383f63
push eax
push 0x40
push 3
push ebx
call edi
mov ax, word [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov word [ebx], ax
mov al, byte [ebp - 0xd]
push 3
push ebx
mov byte [ebx + 2], al
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e823
mov esp, ebp
pop ebp
ret 4
Function at 0x1008b640
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102ac214]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax]
push edi
mov dword [ebx + 4], eax
mov eax, dword [0x102b0344]
mov dword [ebp - 0x20], ebx
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov dword [ebx], 0
call fcn.100c13a0
mov edi, eax
push 0x1c
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x383dd0]
call fcn.1001f0e8
push eax
mov dword [ebx + 0xc], eax
call esi
add esp, 8
cmp dword [edi + 0x612888], 0
jne 0x1008b7fc
movq xmm0, qword [0x10243364]
lea eax, [ebp - 0xc]
push eax
push 0x40
lea esi, [edi + 0xe5701]
movq qword [ebp - 0x1c], xmm0
mov di, word [esi]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov bx, word [ebp - 0x1c]
push 0
push dword [ebp - 0xc]
mov word [esi], bx
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
push ecx
add eax, 0xe577d
push 0x40
push 2
push eax
mov si, word [eax]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0xc]
add eax, 0xe577d
push 2
push eax
mov word [eax], bx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
add ecx, 0xe5a9c
mov ax, word [ecx + 4]
mov ebx, dword [ecx]
mov word [ebp - 0xa], ax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add ecx, 0xe5a9c
push 0
push dword [ebp - 8]
mov dword [ecx], eax
movzx eax, word [ebp - 0x18]
push 6
push ecx
mov word [ecx + 4], ax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x8929b4]
add eax, 0xe56f0
call eax
add esp, 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push 0x40
push 2
add eax, 0xe5701
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
add eax, 0xe5701
push 2
push eax
mov word [eax], di
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 2
mov edi, dword [ebp - 0x10]
add edi, 0xe577d
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push dword [ebp - 8]
mov word [edi], si
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 2
push edi
call esi
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push 0x40
push 6
add edi, 0xe5a9c
push edi
call esi
mov cx, word [ebp - 0xa]
push 0
push dword [ebp - 8]
mov dword [edi], ebx
push 6
push edi
mov word [edi + 4], cx
call esi
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e823
mov esp, ebp
pop ebp
ret
Function at 0x1008cef0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6362
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x18]
push 0
push str.slots
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 8
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push str.._slots_
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10007eb0
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008cf65
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000bc50
push 9
push str..playback
lea ecx, [ebp - 0x2c]
call fcn.1000bc50
push 0xb0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.10021e30
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xdc]
push 2
push eax
call fcn.1000afd0
mov dl, byte [ebp + 0x14]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.1000c6e0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x1008cfe2
nop word [eax + eax]
mov dl, byte [esi]
lea ecx, [ebp - 0xdc]
call fcn.1000c6e0
inc esi
cmp esi, edi
jne 0x1008cfd0
lea ecx, [ebp - 0xd8]
call fcn.1000b950
test eax, eax
jne 0x1008d01c
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.100099b0
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.1000ac30
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe0], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.1002010a
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x1008d0bc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008d0b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d11b
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test ecx, ecx
je 0x1008d0fe
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1008d0f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008d11b
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret 0x14
call fcn.1002d424
int3
Function at 0x1008e2f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.1008e100
mov edx, dword [edi + 0xc]
mov eax, dword [edi]
shl edx, 4
add edx, dword [edi + 0xc]
mov eax, dword [eax + edx*4 + 0x34]
call eax
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
shl esi, 4
add esi, dword [edi + 0xc]
mov ecx, dword [eax + esi*4 + 0x3c]
mov esi, dword [eax + esi*4 + 0x38]
mov dword [ebp - 0x18], ecx
cmp esi, ecx
je 0x1008e3da
push ebx
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1008e34a
mov ecx, dword [esi]
call fcn.100b9570
cmp eax, 0xffffffff
je 0x1008e3cd
imul edx, eax, 0x7c
mov eax, dword [0x102ac1c4]
mov dword [ebp - 0x14], edx
cmp byte [edx + eax + 0x78], 0
jne 0x1008e3cd
mov ecx, dword [edx + eax + 0x48]
mov ebx, dword [edx + eax + 0x54]
mov edi, dword [edx + eax + 0x4c]
mov dword [ebp - 0x10], ecx
lea eax, [ecx - 5]
cmp eax, 0x1b
ja 0x1008e3cd
lea eax, [ebp - 8]
push eax
push 0x40
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1008e3cd
push dword [ebp - 0x10]
push 0x90
push edi
call fcn.10021e30
add esp, 0xc
mov byte [edi], 0xe9
lea eax, [ebp - 0xc]
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1008e3cd
mov eax, dword [0x102ac1c4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax + 0x78], 1
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1008e340
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001e823
mov esp, ebp
pop ebp
ret
Function at 0x100987b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.100c13a0
lea edi, [eax + 0x4aa66c]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1f
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movups xmm0, xmmword [str.replay_02d.dat]
push 0
push dword [ebp - 8]
movups xmmword [edi], xmm0
push 0x1f
movq xmm0, qword [str.replay_list.dat]
movq qword [edi + 0x10], xmm0
mov eax, dword [0x10246e74]
mov dword [edi + 0x18], eax
mov ax, word [0x10246e78]
mov word [edi + 0x1c], ax
mov al, byte [0x10246e7a]
push edi
mov byte [edi + 0x1e], al
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001e823
mov esp, ebp
pop ebp
ret

Function at 0x10098830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
call fcn.100c13a0
lea ebx, [eax + 0x4aa66c]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1f
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movups xmm0, xmmword [edi]
push 0
push dword [ebp - 8]
movups xmmword [ebx], xmm0
push 0x1f
movq xmm0, qword [edi + 0x10]
movq qword [ebx + 0x10], xmm0
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [edi + 0x1c]
mov word [ebx + 0x1c], ax
mov al, byte [edi + 0x1e]
push ebx
mov byte [ebx + 0x1e], al
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001e823
mov esp, ebp
pop ebp
ret
Function at 0x100b0d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c86a7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x102a100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 7
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push str.Discord
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10007eb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
push 0
cmovae ecx, dword [ebp - 0x24]
add edi, 0x28
mov edx, edi
call fcn.1005c770
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 4
test al, al
je 0x100b0de0
push 1
push 0
push 0
push str.https:__discord.gg_j2mCX9s
push str.open
push 0
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100b0e1b
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b0e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0f73
push edx
push ecx
call fcn.1001ee69
add esp, 8
movss xmm1, dword [0x10294564]
xorps xmm0, xmm0
call fcn.10049450
push 5
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push str.Forum
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10007eb0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 0x10
mov edx, edi
push 0
cmovae ecx, dword [ebp - 0x24]
call fcn.1005c770
add esp, 4
test al, al
je 0x100b0e89
push 1
push 0
push 0
push str.https:__steamcommunity.com_app_586140_discussions_0_3195868146163014015_
push str.open
push 0
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x100b0ec4
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b0eba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0f78
push edx
push ecx
call fcn.1001ee69
add esp, 8
movss xmm1, dword [0x10294564]
xorps xmm0, xmm0
call fcn.10049450
push 6
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push str.GitHub
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10007eb0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
mov edx, edi
push 0
cmovae ecx, dword [ebp - 0x3c]
call fcn.1005c770
add esp, 4
test al, al
je 0x100b0f32
push 1
push 0
push 0
push str.https:__github.com_libreofficecalc_BBCF_Improvement_Mod_releases
push str.open
push 0
call esi
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x100b0f62
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b0f58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0f7d
push edx
push ecx
call fcn.1001ee69
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1002d424
call fcn.1002d424
call fcn.1002d424
int3
Function at 0x100b9440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov esi, ecx
lea eax, [ebx - 5]
cmp eax, 0x1b
ja 0x100b94b4
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b94b4
push ebx
push 0x90
push esi
call fcn.10021e30
add esp, 0xc
mov byte [esi], 0xe9
lea eax, [ebp - 0xc]
sub edi, esi
sub edi, 5
mov dword [esi + 1], edi
push eax
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b94b4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e823
mov esp, ebp
pop ebp
ret

Function at 0x100b9610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push eax
push 0x40
mov edi, edx
mov ebx, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b967f
xor eax, eax
test esi, esi
jle 0x100b9659
imul ebx, ebx, 0x7c
mov edx, dword [0x102ac1c4]
mov cl, byte [edi + eax]
add edx, ebx
mov byte [edx + eax + 0x58], cl
inc eax
cmp eax, esi
jl 0x100b9645
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b967f
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e823
mov esp, ebp
pop ebp
ret
Function at 0x100b9b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.100b9570
cmp eax, 0xffffffff
jne 0x100b9b2a
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
push esi
imul esi, eax, 0x7c
mov eax, dword [0x102ac1c4]
cmp byte [eax + esi + 0x78], 0
jne 0x100b9b4b
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e823
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [eax + esi + 0x48]
push dword [eax + esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100b9b67
xor al, al
jmp 0x100b9bb4
mov edx, dword [0x102ac1c4]
xor eax, eax
cmp dword [esi + edx + 0x48], eax
lea ecx, [esi + edx]
jle 0x100b9b9a
nop dword [eax + eax]
mov edx, dword [ecx + 0x4c]
mov cl, byte [ecx + eax + 0x58]
mov byte [eax + edx], cl
inc eax
mov edx, dword [0x102ac1c4]
cmp eax, dword [esi + edx + 0x48]
lea ecx, [esi + edx]
jl 0x100b9b80
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push dword [esi + edx + 0x48]
push dword [esi + edx + 0x4c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne al
mov ecx, dword [0x102ac1c4]
mov byte [esi + ecx + 0x78], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001e823
mov esp, ebp
pop ebp
ret

Function at 0x100b9c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x102a8880]
xor eax, eax
sub edx, esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x14], eax
lea ecx, [edx - 4]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100b9cdf
mov ebx, str.xxxx
sub ebx, dword [ebp + 8]
sub dword [ebp + 0x10], esi
nop dword [eax]
mov edi, dword [ebp + 8]
mov dl, 1
xor eax, eax
lea ecx, [eax + edi]
cmp byte [ebx + ecx], 0x3f
je 0x100b9c7b
mov cl, byte [ecx]
cmp cl, byte [esi + eax]
je 0x100b9c7b
xor cl, cl
jmp 0x100b9c7d
mov cl, 1
inc eax
and dl, cl
cmp eax, 4
jb 0x100b9c67
mov edi, dword [ebp + 0x10]
test dl, dl
je 0x100b9ccb
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b9cdc
mov ecx, esi
mov edx, 4
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100b9ca6
inc dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b9cdc
mov ecx, dword [ebp - 0x14]
dec edi
inc ecx
mov dword [ebp + 0x10], edi
inc esi
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x100b9c60
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e823
mov esp, ebp
pop ebp
ret
Function at 0x100b9d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sub eax, 0
je 0x100b9d9c
sub eax, 1
jne 0x100b9e70
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x100b9e90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b9e70
mov esi, dword [0x102a8988]
test esi, esi
jne 0x100b9dc6
push 0xc
call fcn.1001f0e8
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [0x102a8988], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
cmp byte [esi], 0
je 0x100b9e5f
push edi
mov edi, dword [esi + 4]
test edi, edi
je 0x100b9e21
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp byte [eax + 0xd], 0
jne 0x100b9e02
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x100b9df1
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 8]
call fcn.1001b990
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
je 0x100b9de4
mov ecx, edi
call fcn.1001b840
push 8
push edi
call fcn.1001ee69
mov dword [esi + 4], 0
add esp, 8
mov esi, dword [0x102a8988]
push 0xc
push esi
call fcn.1001ee69
mov eax, dword [0x102a8988]
add esp, 8
mov ecx, 0x8123
test esi, esi
cmovne eax, ecx
mov dword [0x102a8988], eax
call fcn.1008a750
call fcn.10067f90
mov dword [0x102b44b4], 0
mov dword [0x102b44bc], 0
pop edi
call fcn.100a1590
push dword [0x102a89b0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1001e823
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100ba430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8af8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x102a100c]
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, edx
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
call fcn.10019ce0
mov ecx, eax
test ecx, ecx
je 0x100ba5d2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x100ba4c2
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1001d1a0
mov esi, dword [ebp - 0x14]
push dword [ebp - 0xa0]
push 0x104
push esi
push dword [ebp - 0x9c]
push ebx
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.1002e75f
add esp, 8
test eax, eax
js 0x100ba5c8
cmp eax, dword [esi - 8]
jg 0x100ba5c8
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x84
mov word [esi + eax*2], cx
lea eax, [ebp - 0x98]
push ecx
push eax
call fcn.10021e30
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], eax
push 3
push esi
call fcn.1001d030
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x98]
mov ecx, edx
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ba560
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.10007eb0
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x100ba58b
push eax
call fcn.100285e5
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100ba5aa
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.1001e823
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10019bb0
push 0x80004005
call fcn.10019bb0
int3