Function at 0x100b7f50
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Execute shellcode via indirect call
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b32c
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x1014300c]
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
xor eax, eax
mov dword [ebp - 0x18c], 0
xor ebx, ebx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x184], eax
push str.._Settings.ini
push 0x100
mov dword [ebp - 4], eax
lea eax, [ebp - 0x130]
push eax
push 0x101334f7
push str.Code
push str.SecretCode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x100b8649
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x148], bl
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b7ff0
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.1000c820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
push 1
push 0x10138cc0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
call fcn.1000c820
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x160]
nop word [eax + eax]
cmp dword [ebp - 0x14c], 0x10
lea esi, [ebp - 0x160]
mov ecx, dword [ebp - 0x150]
lea edx, [ebp - 0x148]
cmovae esi, eax
cmp dword [ebp - 0x134], 0x10
mov eax, dword [ebp - 0x138]
cmovae edx, dword [ebp - 0x148]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], edx
cmp ecx, eax
ja 0x100b814d
test ecx, ecx
jne 0x100b8099
xor edi, edi
jmp 0x100b8150
sub eax, ecx
movsx ecx, byte [esi]
inc eax
mov dword [ebp - 0x180], ecx
add eax, edx
mov dword [ebp - 0x18], eax
sub eax, edx
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100b8147
mov ecx, dword [ebp - 0x150]
mov edx, edi
sub ecx, 4
jb 0x100b80e1
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100b80e6
add edx, 4
add esi, 4
sub ecx, 4
jae 0x100b80d0
cmp ecx, 0xfffffffc
je 0x100b811a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x100b8113
cmp ecx, 0xfffffffd
je 0x100b811a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x100b8113
cmp ecx, 0xfffffffe
je 0x100b811a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x100b8113
cmp ecx, 0xffffffff
je 0x100b811a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x100b811a
sbb eax, eax
or eax, 1
jmp 0x100b811c
xor eax, eax
test eax, eax
je 0x100b81c1
mov eax, dword [ebp - 0x18]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x180]
push edi
call sub.VCRUNTIME140.dll_memchr
mov esi, dword [ebp - 0x20]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100b80c1
mov eax, dword [ebp - 0x138]
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x100b8275
cmp eax, edi
mov dword [ebp - 0x168], 0
mov ecx, edi
mov dword [ebp - 0x164], 0xf
cmovb ecx, eax
mov byte [ebp - 0x178], 0
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push ecx
cmovae eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x178]
push eax
call fcn.1000c820
mov byte [ebp - 4], 3
lea eax, [ebp - 0x178]
push eax
cmp dword [ebp - 0x17c], ebx
je 0x100b81cc
mov ecx, ebx
call fcn.10082a80
add ebx, 0x18
mov dword [ebp - 0x188], ebx
jmp 0x100b81ea
sub edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x138]
jmp 0x100b8150
push ebx
lea ecx, [ebp - 0x18c]
call fcn.100b8750
mov eax, dword [ebp - 0x184]
mov ebx, dword [ebp - 0x188]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x150]
add edx, edi
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x134], 0x10
cmovae ecx, dword [ebp - 0x148]
sub eax, edx
mov dword [ebp - 0x138], eax
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x100b8050
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b8266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b844a
push edx
push ecx
call fcn.100db7d1
add esp, 8
jmp 0x100b8041
lea eax, [ebp - 0x148]
push eax
cmp dword [ebp - 0x17c], ebx
je 0x100b8290
mov ecx, ebx
call fcn.10082a80
add ebx, 0x18
jmp 0x100b82ae
push ebx
lea ecx, [ebp - 0x18c]
call fcn.100b8750
mov eax, dword [ebp - 0x184]
mov ebx, dword [ebp - 0x188]
mov dword [ebp - 0x17c], eax
mov esi, dword [ebp - 0x18c]
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x28], 0x3973374a
mov word [ebp - 0x24], 0x7150
mov byte [ebp - 0x22], 0
mov dword [ebp - 0x20], 0x6c6c6548
mov word [ebp - 0x1c], 0x216f
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x18], 0x2a262347
mov word [ebp - 0x14], 0x3738
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x30], 0x64436241
mov word [ebp - 0x2c], 0x6645
mov byte [ebp - 0x2a], 0
cmp esi, ebx
je 0x100b83e5
lea ebx, [ebp - 0x28]
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100b8310
sub ebx, ecx
nop dword [eax]
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 0x10
jb 0x100b832c
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.10034b30
add esp, 8
test al, al
jne 0x100b8593
lea edx, [ebp - 0x20]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100b8350
sub edx, ecx
mov ecx, esi
cmp edi, 0x10
jb 0x100b8362
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.10034b30
add esp, 8
test al, al
jne 0x100b8563
lea edx, [ebp - 0x18]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100b8380
sub edx, ecx
mov ecx, esi
cmp edi, 0x10
jb 0x100b8392
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.10034b30
add esp, 8
test al, al
jne 0x100b84b4
lea edx, [ebp - 0x30]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100b83b0
sub edx, ecx
mov ecx, esi
cmp edi, 0x10
jb 0x100b83c2
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x30]
push eax
call fcn.10034b30
add esp, 8
test al, al
jne 0x100b8450
add esi, 0x18
cmp esi, dword [ebp - 0x180]
jne 0x100b8320
movaps xmm0, xmmword [0x1013a7b0]
lea eax, [ebp - 0x174]
push 0x10
push str.Error
push eax
push 0
movups xmmword [ebp - 0x174], xmm0
mov byte [ebp - 0x164], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14c]
cmp eax, 0x10
jb 0x100b85a9
mov edx, dword [ebp - 0x160]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100b859f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b859f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x5ad691
call esi
mov eax, 0x5ad691
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 5
push 0x5ad691
call esi
push 0x59b00e
push 0x59affa
push 0xe8
call fcn.100cc920
push 0x59b00e
push 0x59affa
push 0xe9
call fcn.100cc920
add esp, 0x18
jmp 0x100b8410
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x958d4f
call esi
lea eax, [ebp - 0x18]
mov dword [0x958d4f], 0xcaed
push eax
push dword [ebp - 0x18]
push 4
push 0x958d4f
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x958d88
call esi
lea eax, [ebp - 0x18]
mov dword [0x958d88], 0xcaed
push eax
push dword [ebp - 0x18]
push 4
push 0x958d88
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x958dbe
call esi
lea eax, [ebp - 0x18]
mov dword [0x958dbe], 0xcaed
push eax
push dword [ebp - 0x18]
push 4
push 0x958dbe
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x958dda
call esi
lea eax, [ebp - 0x18]
mov dword [0x958dda], 0xcaed
push eax
push dword [ebp - 0x18]
push 4
push 0x958dda
call esi
jmp 0x100b8410
push 0x100b7e20
push 0x561740
push 0xe9
call fcn.100cc920
push 0x100b7ef0
push 0x57ddd7
push 0xe9
call fcn.100cc920
add esp, 0x18
jmp 0x100b8410
mov byte [0x1052185e], 1
jmp 0x100b8410
push ecx
push edx
call fcn.100db7d1
add esp, 8
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x100b85e5
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b85db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b85db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100db7d1
add esp, 8
mov ebx, dword [ebp - 0x18c]
test ebx, ebx
je 0x100b8649
mov edx, dword [ebp - 0x180]
push ecx
mov ecx, ebx
call fcn.100b8950
mov ecx, dword [ebp - 0x17c]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x100b863f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b863f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100db7d1
add esp, 8
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.100db7c0
mov esp, ebp
pop ebp
ret