joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10087110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c55b1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102a000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x3f800000
call fcn.1007a660
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008a550
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x102a000c]
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [0x102b34e4], 0
push esi
push edi
jne 0x1008a574
call fcn.1008a730
mov edi, dword [0x102a0b70]
lea eax, [esp + 8]
push eax
push dword [0x102b34f4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
movd xmm1, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 4], xmm1
movss dword [edi + 8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x102b34f8]
mov edx, dword [esp + 0x24]
sbb edx, dword [0x102b34fc]
call fcn.100c0ec0
mov edx, dword [0x102b3504]
mov ecx, dword [0x102b3500]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
call fcn.100c0ec0
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0xc], xmm1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [0x102b34f8], eax
mov dword [0x102b34fc], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xe1], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xe2], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xe4], 0
cmp byte [edi + 0x30b], 0
mov byte [edi + 0xe3], al
je 0x1008a692
cvttss2si eax, dword [edi + 0xcc]
mov dword [esp + 0x18], eax
cvttss2si eax, dword [edi + 0xd0]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x102b34f4]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [edi + 0xe0], 0
je 0x1008a6a3
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10068a50
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
Function at 0x1008c0e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5792
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x102a000c]
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.10007ee0
mov ecx, esi
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008c155
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000ba50
push 9
push str..playback
lea ecx, [ebp - 0x2c]
call fcn.1000ba50
push 0xb0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.10021e70
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xdc]
push 2
push eax
call fcn.1000adb0
mov dl, byte [ebp + 0x14]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.1000c4e0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x1008c1d2
nop word [eax + eax]
mov dl, byte [esi]
lea ecx, [ebp - 0xdc]
call fcn.1000c4e0
inc esi
cmp esi, edi
jne 0x1008c1c0
lea ecx, [ebp - 0xd8]
call fcn.1000b750
test eax, eax
jne 0x1008c20c
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.10009790
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.1000aa10
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.10020169
mov edx, dword [ebp - 0x18]
add esp, 4
cmp edx, 0x10
jb 0x1008c2ac
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c2a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c30b
push edx
push ecx
call fcn.1001eec9
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 0x1008c2ee
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1008c2e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c30b
push edx
push ecx
call fcn.1001eec9
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.1001e883
mov esp, ebp
pop ebp
ret 0x14
call fcn.1002d464
int3
Function at 0x1008d4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.1008d2f0
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 0x1008d5ca
push ebx
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1008d53a
mov ecx, dword [esi]
call fcn.100b8f00
cmp eax, 0xffffffff
je 0x1008d5bd
imul edx, eax, 0x7c
mov eax, dword [0x102b3494]
mov dword [ebp - 0x14], edx
cmp byte [edx + eax + 0x78], 0
jne 0x1008d5bd
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 0x1008d5bd
lea eax, [ebp - 8]
push eax
push 0x40
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1008d5bd
push dword [ebp - 0x10]
push 0x90
push edi
call fcn.10021e70
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 0x1008d5bd
mov eax, dword [0x102b3494]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax + 0x78], 1
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1008d530
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001e883
mov esp, ebp
pop ebp
ret
Function at 0x10099540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call fcn.100c0880
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 [0x10245fe8]
mov dword [edi + 0x18], eax
mov ax, word [0x10245fec]
mov word [edi + 0x1c], ax
mov al, byte [0x10245fee]
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.1001e883
mov esp, ebp
pop ebp
ret

Function at 0x100995c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
call fcn.100c0880
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.1001e883
mov esp, ebp
pop ebp
ret
Function at 0x100b06f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7ae3
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x102a000c]
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.10007ee0
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.1005c6e0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 4
test al, al
je 0x100b0780
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 0x100b07bb
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b07b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0913
push edx
push ecx
call fcn.1001eec9
add esp, 8
movss xmm1, dword [0x10293344]
xorps xmm0, xmm0
call fcn.100493c0
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.10007ee0
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.1005c6e0
add esp, 4
test al, al
je 0x100b0829
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 0x100b0864
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b085a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0918
push edx
push ecx
call fcn.1001eec9
add esp, 8
movss xmm1, dword [0x10293344]
xorps xmm0, xmm0
call fcn.100493c0
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.10007ee0
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.1005c6e0
add esp, 4
test al, al
je 0x100b08d2
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 0x100b0902
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b08f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b091d
push edx
push ecx
call fcn.1001eec9
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.1002d464
call fcn.1002d464
call fcn.1002d464
int3
Function at 0x100b8dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a000c]
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 0x100b8e44
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b8e44
push ebx
push 0x90
push esi
call fcn.10021e70
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 0x100b8e44
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
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.1001e883
mov esp, ebp
pop ebp
ret

Function at 0x100b8fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a000c]
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 0x100b900f
xor eax, eax
test esi, esi
jle 0x100b8fe9
imul ebx, ebx, 0x7c
mov edx, dword [0x102b3494]
mov cl, byte [edi + eax]
add edx, ebx
mov byte [edx + eax + 0x58], cl
inc eax
cmp eax, esi
jl 0x100b8fd5
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 0x100b900f
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
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.1001e883
mov esp, ebp
pop ebp
ret
Function at 0x100b9490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.100b8f00
cmp eax, 0xffffffff
jne 0x100b94ba
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
mov esp, ebp
pop ebp
ret
push esi
imul esi, eax, 0x7c
mov eax, dword [0x102b3494]
cmp byte [eax + esi + 0x78], 0
jne 0x100b94db
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e883
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 0x100b94f7
xor al, al
jmp 0x100b9544
mov edx, dword [0x102b3494]
xor eax, eax
cmp dword [esi + edx + 0x48], eax
lea ecx, [esi + edx]
jle 0x100b952a
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 [0x102b3494]
cmp eax, dword [esi + edx + 0x48]
lea ecx, [esi + edx]
jl 0x100b9510
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 [0x102b3494]
mov byte [esi + ecx + 0x78], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001e883
mov esp, ebp
pop ebp
ret

Function at 0x100b95b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x102a7960]
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 0x100b966f
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 0x100b960b
mov cl, byte [ecx]
cmp cl, byte [esi + eax]
je 0x100b960b
xor cl, cl
jmp 0x100b960d
mov cl, 1
inc eax
and dl, cl
cmp eax, 4
jb 0x100b95f7
mov edi, dword [ebp + 0x10]
test dl, dl
je 0x100b965b
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100b966c
mov ecx, esi
mov edx, 4
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x100b9636
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 0x100b966c
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 0x100b95f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e883
mov esp, ebp
pop ebp
ret
Function at 0x100b96d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sub eax, 0
je 0x100b971c
sub eax, 1
jne 0x100b97f0
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x100b9810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b97f0
mov esi, dword [0x102a79d0]
test esi, esi
jne 0x100b9746
push 0xc
call fcn.1001f148
mov esi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [0x102a79d0], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
cmp byte [esi], 0
je 0x100b97df
push edi
mov edi, dword [esi + 4]
test edi, edi
je 0x100b97a1
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp byte [eax + 0xd], 0
jne 0x100b9782
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x100b9771
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 8]
call fcn.1001c090
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
je 0x100b9764
mov ecx, edi
call fcn.1001bf40
push 8
push edi
call fcn.1001eec9
mov dword [esi + 4], 0
add esp, 8
mov esi, dword [0x102a79d0]
push 0xc
push esi
call fcn.1001eec9
mov eax, dword [0x102a79d0]
add esp, 8
mov ecx, 0x8123
test esi, esi
cmovne eax, ecx
mov dword [0x102a79d0], eax
call fcn.1008a6c0
call fcn.10067f00
mov dword [0x102b34ec], 0
mov dword [0x102b34f4], 0
pop edi
call fcn.100a1cb0
push dword [0x102a79f8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1001e883
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b9db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7f38
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x102a000c]
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.1001a3f0
mov ecx, eax
test ecx, ecx
je 0x100b9f52
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 0x100b9e42
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1001d7b0
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.1002e79f
add esp, 8
test eax, eax
js 0x100b9f48
cmp eax, dword [esi - 8]
jg 0x100b9f48
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.10021e70
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], eax
push 3
push esi
call fcn.1001d640
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 0x100b9ee0
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.10007ee0
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
cmp eax, ecx
je 0x100b9f0b
push eax
call fcn.10028625
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 0x100b9f2a
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.1001e883
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.1001a2c0
push 0x80004005
call fcn.1001a2c0
int3
Function at 0x100ba070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7fa3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x102a000c]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
call fcn.1001a3f0
mov ecx, eax
test ecx, ecx
je 0x100ba170
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 0x100ba0ea
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1001d7b0
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x104
push esi
push ebx
push edi
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.1002e79f
add esp, 8
test eax, eax
js 0x100ba166
cmp eax, dword [esi - 8]
jg 0x100ba166
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.1002f589
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, eax
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100ba148
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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.1001e883
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.1001a2c0
push 0x80004005
call fcn.1001a2c0
int3