Function at 0x10006bb0
Capabilities:
Extract resource via kernel32 functions
Print debug messages
Set console window title
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10065070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], ecx
xor esi, esi
mov dword [ebp - 0xc8], esi
push 0x2c
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x9c], vtable.INI::File.0
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
call fcn.10045fe5
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x98], eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xe8], edi
push 0xa
push 0x3e8
mov byte [ebp - 4], 1
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10006e6f
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc4], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006ca5
sub eax, edx
mov dword [ebp - 0xc8], eax
lea esi, [eax + 1]
push esi
call fcn.1004633d
push esi
mov edi, eax
push 0
push edi
call sub.msvcrt.dll_memset
push esi
push dword [ebp - 0xc4]
mov dword [ebp - 0xe8], edi
push edi
call sub.msvcrt.dll_memcpy
push 8
mov dword [ebp - 0x188], 0x1005a25c
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10045fe5
mov esi, eax
push 1
mov byte [ebp - 4], 2
call fcn.1002e095
add esp, 0x24
mov dword [esi + 4], eax
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x144], esi
call fcn.1000a830
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], 0x1005a27c
mov dword [eax], edi
mov eax, dword [ebp - 0x15c]
mov dword [eax], edi
mov eax, dword [ebp - 0x14c]
mov dword [eax], ecx
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x188]
mov eax, dword [ebp - 0x188]
sub esp, 8
mov esi, 0x38
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc8], esi
mov eax, dword [eax + 8]
add eax, ecx
push eax
call fcn.100094a0
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 8]
mov dword [ebp + eax - 0x188], 0x1005a308
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x188], 0x1005a26c
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], 1
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x18c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
push ecx
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10003bf0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10006e54
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006e4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078ed
push ecx
push edx
call fcn.1004632f
add esp, 8
push str.PAYLOAD:_Config_load_from_RCDATA
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x188]
call fcn.10005a90
jmp 0x10006efd
movq xmm0, qword [str..config.ini]
mov eax, dword [0x1005a0d4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x9c]
call fcn.10003cc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc4], eax
cmp ecx, 0x10
jb 0x10006ef5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006ee5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078f2
push ecx
push edx
call fcn.1004632f
mov eax, dword [ebp - 0xc4]
add esp, 8
test eax, eax
jne 0x100078aa
mov eax, dword [0x1005a0e4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
movq xmm0, qword [str.PatchSettings]
mov al, byte [0x1005a0e8]
mov dword [ebp - 0x18], 0xd
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x1b], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000e350
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x98]
cmp byte [eax + 0xd], 0
jne 0x10006f73
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000e800
mov ecx, dword [ebp - 0x98]
test al, al
mov eax, dword [ebp - 0x44]
je 0x10006f75
mov eax, ecx
cmp eax, ecx
je 0x10006f87
mov esi, dword [eax + 0x28]
mov dword [ebp - 0xc4], esi
jmp 0x1000706c
push 0x44
call fcn.10045fe5
add esp, 4
mov dword [ebp - 0xc4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x28]
or esi, 0x40
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xc0], esi
push ecx
mov ecx, eax
mov dword [ebp - 0xc8], esi
call fcn.10003750
mov esi, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0xc0]
test al, 0x40
je 0x1000702f
mov ecx, dword [ebp - 0x2c]
and eax, 0xffffffbf
mov dword [ebp - 0xc0], eax
cmp ecx, 0x10
jb 0x1000702f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007025
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078f2
push ecx
push edx
call fcn.1004632f
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10009a90
mov dword [ebp - 0xa0], esi
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x98]
call fcn.1000dcd0
lea ecx, [ebp - 0xb8]
call fcn.100058f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100070a4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000709a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100078f2
push ecx
push edx
call fcn.1004632f
add esp, 8
mov dword [ebp - 0xd4], vtable.INI::Value.0
mov dword [ebp - 0xd0], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0xcc], 0
mov ax, word [0x1005a0f4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.DebugWindow]
mov al, byte [0x1005a0f6]
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0xd4]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.10003580
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.10002e50
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0xb9], al
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.1000a7b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd4], vtable.INI::Value.0
mov dword [ebp - 0xd0], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.1000a7b0
cmp byte [ebp - 0xb9], 0
je 0x100071d9
mov dword [ebp - 0xc8], 0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push str.Debug_Console
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0
call fcn.100477e0
mov esi, dword [sym.imp.msvcrt.dll_freopen_s]
push eax
push 0x1005a3dc
lea eax, [ebp - 0xc8]
push str.CONIN_
push eax
call esi
push 1
call fcn.100477e0
push eax
push 0x1005a368
lea eax, [ebp - 0xc8]
push str.CONOUT_
push eax
call esi
mov esi, dword [ebp - 0xc4]
add esp, 0x28
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0xd8], 0
mov ax, word [0x1005a100]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x20], ax
movq xmm0, qword [str.EnablePatch]
mov al, byte [0x1005a102]
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10003580
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.10002e50
lea ecx, [ebp - 0xd0]
mov byte [ebp - 0xb9], al
mov dword [ebp - 0xd4], vtable.INI::Value.0
mov dword [ebp - 0xd0], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.1000a7b0
cmp byte [ebp - 0xb9], 0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 1
je 0x1000783a
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0xd8], 0
mov eax, dword [0x1005a10c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], eax
movq xmm0, qword [str.PatchFileEcho]
mov al, byte [0x1005a110]
mov dword [ebp - 0x48], 0xd
mov dword [ebp - 0x44], 0xf
movq qword [ebp - 0x58], xmm0
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x4b], 0
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10003580
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.10002e50
lea ecx, [ebp - 0xd0]
mov byte [ebp - 0xb9], al
mov dword [ebp - 0xd4], vtable.INI::Value.0
mov dword [ebp - 0xd0], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.1000a7b0
mov byte [ebp - 4], 0x13
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0xd8], 0
mov ax, word [0x1005a11c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xa
movq xmm0, qword [str.PatchPacks]
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov word [ebp - 0x38], ax
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10003580
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0xc0]
or eax, 0x100
mov dword [ebp - 0xd4], vtable.INI::Array.0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xd0], vtable.INI::RefCountPtr_class_std::vector_class_INI::Value__class_std::allocator_class_INI::Value___.0
test ecx, ecx
jne 0x100073c8
xor esi, esi
mov dword [ebp - 0xcc], esi
jmp 0x100073f1
mov dword [ebp - 0xcc], 0
sub esp, 0x10
mov byte [ebp - 4], 0x19
push ecx
lea ecx, [ebp - 0xd4]
call fcn.10003010
mov eax, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xcc]
or eax, 0x80
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.INI::Value.0
mov dword [ebp - 0x48], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.1000a7b0
mov byte [ebp - 4], 0x1c
xor ecx, ecx
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xe4], ecx
test esi, esi
je 0x100075b4
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp ecx, eax
jae 0x100075b4
lea ecx, [ebp - 0xd0]
call fcn.10008f60
mov esi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp ecx, eax
jb 0x100074cf
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 4], 0x1e
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
imul eax, eax, 0xaaaaaaab
sub ecx, eax
lea eax, [ebp - 0xe0]
push eax
inc ecx
lea eax, [ebp - 0xec]
push ecx
push dword [esi + 4]
mov ecx, esi
push eax
call fcn.10008cc0
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov eax, dword [esi]
xorps xmm0, xmm0
add eax, dword [ebp - 0xc8]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x40]
mov eax, dword [eax + 8]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0xb4]
call fcn.10009a90
or dword [ebp - 0xc0], 3
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1000754a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007540
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007901
push ecx
push edx
call fcn.1004632f
add esp, 8
mov dl, byte [ebp - 0xb9]
push ecx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x20
call fcn.10011f40
mov byte [ebp - 4], 0x1d
add esp, 4
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x10
jb 0x100075a1
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007597
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007901
push ecx
push edx
call fcn.1004632f
add esp, 8
mov ecx, dword [ebp - 0xe4]
inc ecx
add dword [ebp - 0xc8], 0xc
jmp 0x10007422
mov dword [ebp - 0x4c], vtable.INI::Value.0
mov dword [ebp - 0x48], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [ebp - 0x44], 0
movq xmm0, qword [str.ExternalPath]
mov eax, dword [0x1005a128]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 0xf
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.10003580
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push ecx
mov ecx, eax
call fcn.10002d90
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe0], vtable.INI::Value.0
mov dword [ebp - 0xdc], vtable.INI::RefCountPtr_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
call fcn.1000a7b0
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 0
push 0x10059cce
call fcn.1000e5d0
add esp, 8
test al, al
jne 0x100077d6
cmp dword [0x10066e88], 8
mov eax, 0x10066e74
mov dword [0x10066e84], 0
cmovae eax, dword [0x10066e74]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x10066e84]
add ecx, 4
cmp ecx, eax
ja 0x100076be
cmp dword [0x10066e88], 8
mov eax, 0x10066e74
mov dword [0x10066e84], ecx
cmovae eax, dword [0x10066e74]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100076cd
sub ecx, eax
push 0
push ecx
mov ecx, 0x10066e74
call fcn.1000aa40
push 2
push ecx
call fcn.1000b1c0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.100015e0
mov ecx, eax
test ecx, ecx
je 0x100078f7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xc0], eax
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x28
call fcn.1000af60
test al, al
jne 0x10007736
test esi, esi
jne 0x1000771b
xor ecx, ecx
jmp 0x10007729
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007720
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xc0]
call fcn.1000b610
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0xc4]
call fcn.1000f760
add esp, 4
mov byte [ebp - 4], 0x2a
mov esi, dword [ebp - 0xc4]
push esi
call fcn.1000aab0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007779
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10007798
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10059cd4
call fcn.1000aab0
call fcn.1000c200
cmp dword [0x10066e88], 8
mov edx, 0x10066e74
push dword [0x10066e84]
cmovae edx, dword [0x10066e74]
mov ecx, eax
call fcn.1000dff0
push eax
call fcn.1000c4b0
mov esi, dword [ebp - 0xcc]
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1000780c
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10007802
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007901
push edx
push ecx
call fcn.1004632f
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
je 0x1000783a
add dword [esi + 0xc], 0xffffffff
jne 0x1000783a
mov ecx, esi
call fcn.1000b420
push 0x10
push esi
call fcn.1004632f
add esp, 8
test edi, edi
je 0x10007847
push edi
call fcn.10045f2b
add esp, 4
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], vtable.INI::File.0
push eax
call fcn.100056b0
lea ecx, [ebp - 0x90]
call fcn.10005860
mov eax, dword [ebp - 0x98]
push dword [eax + 4]
lea eax, [ebp - 0x98]
push eax
mov ecx, eax
call fcn.1000c6b0
push 0x2c
push dword [ebp - 0x98]
call fcn.1004632f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045f1d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10003ed0
mov ecx, eax
call fcn.10003830
push 0x10
push str.Config_load_failure
mov ecx, eax
call fcn.10009870
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0xb4]
call fcn.100058f0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10047960
call fcn.10047960
push 0x80004005
call fcn.10001320
call fcn.10047960
int3