Function at 0x403200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x51a900]
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 - 0xd4], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 0xd4], 0
push dword [ebp - 0xd4]
call fcn.0040b720
add esp, 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00422160
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0xd5], al
cmp ecx, 7
jbe 0x4032ab
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40329b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403923
push ecx
push edx
call fcn.00471287
mov al, byte [ebp - 0xd5]
add esp, 8
test al, al
je 0x403928
call fcn.00420ec0
test al, al
je 0x403932
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push 0x14
mov dword [ebp - 4], 1
call fcn.0047129a
mov esi, eax
mov dword [esi], 1
mov dword [esi + 4], 2
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 0x14], esi
mov eax, 1
lock xadd dword [esi], eax
mov dword [ebp - 0xd4], esi
push 8
mov byte [ebp - 4], 3
call fcn.0047129a
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xdc], eax
mov dword [eax], esi
mov dword [eax + 4], 0x403020
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push 0
push eax
push 0x40bfc0
push 0
push 0
call fcn.0047e692
add esp, 0x20
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x403915
mov ecx, 0x5236d0
mov dword [ebp - 4], 0xffffffff
call fcn.00422bc0
cmp dword [0x5236d4], 0
jne 0x403969
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [0x5236d0], eax
or edi, 0xffffffff
mov eax, dword [0x5236d8]
mov dword [0x5236d4], ecx
lea esi, [edx - 2]
mov ecx, dword [ebp - 0x14]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], edx
mov dword [0x5236d8], ecx
test eax, eax
je 0x4033d4
lea ecx, [eax + 4]
mov edx, esi
lock xadd dword [ecx], edx
and edx, esi
cmp edx, 2
jne 0x4033d1
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4033d1
push 0x14
push eax
call fcn.00471287
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x403427
test edx, edx
je 0x4033ec
mov ecx, edx
call fcn.00422a80
cmp dword [ebp - 0x18], 0
je 0x40393c
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x403943
push 0
push ecx
push dword [ebp - 0x1c]
call fcn.0046f8dc
add esp, 0xc
test eax, eax
jne 0x40394a
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x403455
lea eax, [edx + 4]
lock xadd dword [eax], esi
and esi, 0xfffffffe
cmp esi, 2
jne 0x403455
lock xadd dword [edx], edi
cmp edi, 1
jne 0x403455
push 0x14
push edx
call fcn.00471287
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x403969
call fcn.0042cdb0
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.Dinity.json
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov esi, eax
movups xmmword [ebp - 0x40], xmm0
call fcn.0041a020
mov dword [ebp - 0xd4], 0xe
mov dword [ebp - 4], 6
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xdc], 0
push dword [ebp - 0xdc]
call fcn.0040b2b0
add esp, 4
mov byte [ebp - 4], 7
call fcn.004250c0
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.004222c0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xd4], 0x2e
push eax
lea ecx, [ebp - 0x88]
call fcn.00422800
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x70]
call fcn.004222c0
lea eax, [ebp - 0x40]
mov dword [ebp - 0xd4], 0x6e
push eax
lea ecx, [ebp - 0x70]
call fcn.00422800
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.00401cf0
lea ecx, [ebp - 0x70]
call fcn.00401890
lea ecx, [ebp - 0x88]
call fcn.00401890
lea ecx, [ebp - 0xb8]
call fcn.00401890
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40357e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403574
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403951
push ecx
push edx
call fcn.00471287
add esp, 8
call fcn.004241c0
mov esi, eax
cmp byte [esi], 0
jne 0x40359b
sub esp, 0xc
mov ecx, esi
call fcn.00424210
test al, al
je 0x40359b
mov byte [esi], 1
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x524ac4]
cmp eax, dword [esi + 4]
jle 0x4035e3
push 0x524ac4
call fcn.00471768
mov eax, dword [0x524ac4]
add esp, 4
cmp eax, 0xffffffff
jne 0x4035e3
push 0x49a180
call fcn.00471529
push 0x524ac4
call fcn.00471717
mov eax, dword [0x524ac4]
add esp, 8
cmp byte [0x51b398], 0
je 0x403645
cmp eax, dword [esi + 4]
jle 0x403621
push 0x524ac4
call fcn.00471768
add esp, 4
cmp dword [0x524ac4], 0xffffffff
jne 0x403621
push 0x49a180
call fcn.00471529
push 0x524ac4
call fcn.00471717
add esp, 8
sub esp, 0x28
mov ecx, 0x51b398
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [eax + 4], 0x4024c0
mov dword [eax + 0x24], eax
call fcn.00424660
jmp 0x4035a3
mov ecx, dword [0x5236d8]
test ecx, ecx
je 0x403654
call fcn.00422a80
call fcn.0042cdb0
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.Dinity.json
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov edi, eax
movups xmmword [ebp - 0x28], xmm0
call fcn.0041a020
mov dword [ebp - 0xd4], 0x18e
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0xd0]
mov byte [ebp - 0xdc], 0
push dword [ebp - 0xdc]
call fcn.0040b2b0
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.004250c0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.004222c0
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x58e
push eax
lea ecx, [ebp - 0xa0]
call fcn.00422800
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x58]
call fcn.004222c0
lea eax, [ebp - 0x28]
mov dword [ebp - 0xd4], 0xd8e
push eax
lea ecx, [ebp - 0x58]
call fcn.00422800
cmp dword [ebp - 0x44], 7
lea esi, [ebp - 0x58]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x18c], 0x4e36dc
cmova esi, dword [ebp - 0x58]
call fcn.0040afb0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xd4], 0x1d8e
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x190], eax
lea ecx, [ebp - 0x18c]
mov eax, dword [ebp - 0x18c]
add ecx, dword [eax + 4]
lea eax, [ebp - 0x188]
push ecx
push eax
call fcn.0040b020
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x190], eax
lea ecx, [ebp - 0x188]
call fcn.0040ae60
push ecx
push 2
mov byte [ebp - 4], 0x11
push esi
lea ecx, [ebp - 0x188]
call fcn.0040ada0
test eax, eax
jne 0x4037f3
mov eax, dword [ebp - 0x18c]
lea ecx, [ebp - 0x18c]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004208c0
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x190], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x18c]
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x180], 6
jne 0x403844
mov edx, edi
call fcn.00405190
lea ecx, [ebp - 0x18c]
call fcn.00402030
lea ecx, [ebp - 0x58]
call fcn.00401890
lea ecx, [ebp - 0xa0]
call fcn.00401890
lea ecx, [ebp - 0xd0]
call fcn.00401890
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4038a8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40389e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403956
push ecx
push edx
call fcn.00471287
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [0x5236d4]
mov dword [ebp - 0x14], 7
test eax, eax
je 0x4038f8
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [0x5236d4]
cmp ecx, eax
je 0x40395b
push 0
push ecx
push dword [0x5236d0]
call fcn.0046f8dc
add esp, 0xc
test eax, eax
jne 0x403962
xorps xmm0, xmm0
movlpd qword [0x5236d0], xmm0
xor eax, eax
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.00471279
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.0046f889
call fcn.0047619f
mov ecx, str.Cant_find_library
call fcn.004091a0
mov ecx, str.Cant_find_Settings_folder
call fcn.004091a0
push 1
call fcn.0046f889
push 5
call fcn.0046f889
push 2
call fcn.0046f889
call fcn.0047619f
call fcn.0047619f
push 5
call fcn.0046f889
push 2
call fcn.0046f889
call fcn.0047888b
int3