Function at 0x100b65d0
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 0x1012995c
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x1014200c]
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 0x101324e7
push str.Code
push str.SecretCode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x100b6cc9
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 0x100b6670
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.1000b550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
push 1
push 0x10137cb0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
call fcn.1000b550
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 0x100b67cd
test ecx, ecx
jne 0x100b6719
xor edi, edi
jmp 0x100b67d0
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 0x100b67c7
mov ecx, dword [ebp - 0x150]
mov edx, edi
sub ecx, 4
jb 0x100b6761
nop
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100b6766
add edx, 4
add esi, 4
sub ecx, 4
jae 0x100b6750
cmp ecx, 0xfffffffc
je 0x100b679a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x100b6793
cmp ecx, 0xfffffffd
je 0x100b679a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x100b6793
cmp ecx, 0xfffffffe
je 0x100b679a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x100b6793
cmp ecx, 0xffffffff
je 0x100b679a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x100b679a
sbb eax, eax
or eax, 1
jmp 0x100b679c
xor eax, eax
test eax, eax
je 0x100b6841
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 0x100b6741
mov eax, dword [ebp - 0x138]
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x100b68f5
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.1000b550
mov byte [ebp - 4], 3
lea eax, [ebp - 0x178]
push eax
cmp dword [ebp - 0x17c], ebx
je 0x100b684c
mov ecx, ebx
call fcn.10081530
add ebx, 0x18
mov dword [ebp - 0x188], ebx
jmp 0x100b686a
sub edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x138]
jmp 0x100b67d0
push ebx
lea ecx, [ebp - 0x18c]
call fcn.100b6dd0
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 0x100b66d0
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b68e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b6aca
push edx
push ecx
call fcn.100d9e0f
add esp, 8
jmp 0x100b66c1
lea eax, [ebp - 0x148]
push eax
cmp dword [ebp - 0x17c], ebx
je 0x100b6910
mov ecx, ebx
call fcn.10081530
add ebx, 0x18
jmp 0x100b692e
push ebx
lea ecx, [ebp - 0x18c]
call fcn.100b6dd0
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 0x100b6a65
lea ebx, [ebp - 0x28]
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100b6990
sub ebx, ecx
nop dword [eax]
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 0x10
jb 0x100b69ac
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.10033700
add esp, 8
test al, al
jne 0x100b6c13
lea edx, [ebp - 0x20]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100b69d0
sub edx, ecx
mov ecx, esi
cmp edi, 0x10
jb 0x100b69e2
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.10033700
add esp, 8
test al, al
jne 0x100b6be3
lea edx, [ebp - 0x18]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100b6a00
sub edx, ecx
mov ecx, esi
cmp edi, 0x10
jb 0x100b6a12
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.10033700
add esp, 8
test al, al
jne 0x100b6b34
lea edx, [ebp - 0x30]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100b6a30
sub edx, ecx
mov ecx, esi
cmp edi, 0x10
jb 0x100b6a42
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x30]
push eax
call fcn.10033700
add esp, 8
test al, al
jne 0x100b6ad0
add esi, 0x18
cmp esi, dword [ebp - 0x180]
jne 0x100b69a0
movaps xmm0, xmmword [0x101397b0]
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 0x100b6c29
mov edx, dword [ebp - 0x160]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100b6c1f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b6c1f
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.100caf90
push 0x59b00e
push 0x59affa
push 0xe9
call fcn.100caf90
add esp, 0x18
jmp 0x100b6a90
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 0x100b6a90
push 0x100b64a0
push 0x561740
push 0xe9
call fcn.100caf90
push 0x100b6570
push 0x57ddd7
push 0xe9
call fcn.100caf90
add esp, 0x18
jmp 0x100b6a90
mov byte [0x1052084e], 1
jmp 0x100b6a90
push ecx
push edx
call fcn.100d9e0f
add esp, 8
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x100b6c65
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b6c5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b6c5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d9e0f
add esp, 8
mov ebx, dword [ebp - 0x18c]
test ebx, ebx
je 0x100b6cc9
mov edx, dword [ebp - 0x180]
push ecx
mov ecx, ebx
call fcn.100b6fd0
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 0x100b6cbf
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b6cbf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100d9e0f
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.100d9dfe
mov esp, ebp
pop ebp
ret