Function at 0x408b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cf28
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x48f1ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0xa0], edi
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
lea ecx, [edi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00408290
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call fcn.00446173
mov dword [ebp - 0x94], eax
xor ecx, ecx
mov byte [ebp - 4], 3
push ecx
push ecx
push 0xd
push str.config32.json
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x90], 4
call fcn.00446190
mov esi, eax
test edx, edx
jne 0x4092b2
mov ecx, dword [ebp - 0x1c]
cmp esi, ecx
ja 0x408c42
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x408c4f
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.0040bbb0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push esi
cmovae eax, dword [ebp - 0x2c]
push eax
push 0xd
push str.config32.json
push dword [ebp - 0x94]
call fcn.00446190
mov dword [ebp - 0x98], eax
test edx, edx
jne 0x4092e0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x90], 0xb
push eax
push 0x104
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0040bbb0
nop
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
push ecx
mov dword [ebp - 0x48], ecx
call fcn.004461c4
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x94], edx
cmp esi, ecx
ja 0x408ced
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], esi
cmovae eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x408d02
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x44]
push 0
push eax
call fcn.0040bbb0
mov edx, dword [ebp - 0x94]
cmp esi, dword [ebp - 0x48]
jae 0x408cb0
mov byte [ebp - 4], 5
test edx, edx
jne 0x409311
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.00408620
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x74]
call fcn.0040a700
push eax
lea ecx, [ebp - 0x8c]
call fcn.00408620
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x90], 0x1b
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x408d83
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408d79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40931c
push edx
push ecx
call fcn.0045fc1f
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x5c]
call fcn.00408620
lea eax, [ebp - 0x5c]
cmp edi, eax
je 0x408dcb
mov ecx, edi
call fcn.00409a90
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [edi + 0x10], xmm0
jmp 0x408e05
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x408e05
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408dfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409321
push edx
push ecx
call fcn.0045fc1f
add esp, 8
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x408e46
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409326
push edx
push ecx
call fcn.0045fc1f
add esp, 8
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x408e84
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408e7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40932b
push edx
push ecx
call fcn.0045fc1f
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x408ed6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ecc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409330
push edx
push ecx
call fcn.0045fc1f
add esp, 8
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x408ee0
mov eax, dword [edi]
push 0x478080
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00461860
mov eax, dword [ebp - 0x90]
add esp, 0xc
test eax, eax
jne 0x408f11
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
jmp 0x408fb5
push 2
push 0
push eax
call sub.msvcrt.dll_fseek
push dword [ebp - 0x90]
call sub.msvcrt.dll_ftell
push 0
push 0
push dword [ebp - 0x90]
mov esi, eax
call sub.msvcrt.dll_fseek
add esp, 0x1c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xa
test esi, esi
jne 0x408f5e
mov dword [ebp - 0x1c], esi
mov byte [ebp + esi - 0x2c], 0
jmp 0x408f69
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040b8f0
push dword [ebp - 0x90]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call sub.msvcrt.dll_fread
push dword [ebp - 0x90]
call sub.msvcrt.dll_fclose
movups xmm0, xmmword [ebp - 0x2c]
add esp, 0x14
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0xb
mov eax, esp
lea ecx, [ebp - 0x6c]
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x44]
push eax
push ecx
call fcn.004069b0
mov cl, byte [edi + 0x18]
add esp, 0x38
mov al, byte [ebp - 0x6c]
mov byte [edi + 0x18], al
mov eax, dword [ebp - 0x64]
mov edx, dword [edi + 0x24]
mov byte [ebp - 0x48], cl
mov byte [ebp - 0x6c], cl
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x24], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.0040c290
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x409073
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40903d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409335
push edx
push ecx
call fcn.0045fc1f
add esp, 8
jmp 0x409073
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 2
lea esi, [edi + 0x18]
push eax
mov ecx, esi
call fcn.0040d610
cmp byte [esi], 1
jne 0x409131
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ecx
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x4090f4
nop dword [eax]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x4090be
mov eax, dword [eax]
push 7
push str.plugins
push ecx
push eax
call fcn.00403fa0
add esp, 0x10
test eax, eax
jns 0x4090de
mov esi, dword [esi + 8]
mov eax, dword [ebp - 0x90]
jmp 0x4090e8
mov eax, esi
mov esi, dword [esi]
mov dword [ebp - 0x90], eax
cmp byte [esi + 0xd], 0
je 0x4090b0
mov ecx, dword [ebp - 0x94]
cmp eax, ecx
je 0x409129
mov ecx, dword [eax + 0x20]
add eax, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x409106
mov eax, dword [eax]
push 7
push str.plugins
push ecx
push eax
call fcn.00403fa0
add esp, 0x10
test eax, eax
jg 0x409123
mov eax, dword [ebp - 0x90]
jmp 0x40912b
mov ecx, dword [ebp - 0x94]
mov eax, ecx
mov dword [ebp - 0x68], eax
lea esi, [edi + 0x18]
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.0040d610
push eax
lea ecx, [ebp - 0x6c]
call fcn.004027a0
test al, al
je 0x40924a
sub esp, 0x10
mov dword [ebp - 0x94], esp
mov ecx, esp
push 0
mov byte [ebp - 4], 0xf
call fcn.00408290
push 7
push str.plugins
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0040bee0
mov al, byte [esi]
mov byte [ebp - 4], 0x11
test al, al
jne 0x4091d4
push 8
mov byte [esi], 1
call fcn.0045fbef
mov esi, eax
add esp, 4
lea eax, [ebp - 0x99]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
mov ecx, esi
mov byte [ebp - 4], 0x12
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040ab80
mov dword [esi], eax
mov al, byte [edi + 0x18]
mov dword [edi + 0x20], esi
lea esi, [edi + 0x18]
mov byte [ebp - 4], 0x11
cmp al, 1
jne 0x409268
mov esi, dword [esi + 8]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
push eax
mov ecx, esi
call fcn.004029c0
push eax
add eax, 0x10
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00403c70
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x40923e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40933a
push edx
push ecx
call fcn.0045fc1f
add esp, 8
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 2
call fcn.0040a2c0
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 - 0x14]
xor ecx, ebp
call fcn.0045fc2d
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004118a0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x8c]
push str.cannot_use_operator___with_a_string_argument_with
push eax
call fcn.00404120
push esi
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x13
push 0x131
push eax
call fcn.00404d90
add esp, 0x1c
lea eax, [ebp - 0xe4]
push 0x486880
push eax
call sub.msvcrt.dll__CxxThrowException
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0040b390
add esp, 8
lea ecx, [ebp - 0xb4]
push dword [eax + 4]
push dword [eax]
call fcn.00409800
push 0x4867c0
lea eax, [ebp - 0xb4]
push eax
call sub.msvcrt.dll__CxxThrowException
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.0040b390
add esp, 8
lea ecx, [ebp - 0xc8]
push dword [eax + 4]
push dword [eax]
call fcn.00409800
push 0x4867c0
lea eax, [ebp - 0xc8]
push eax
call sub.msvcrt.dll__CxxThrowException
push edx
push str.current_path__
call fcn.0040b4e0
call fcn.00461650
call fcn.00461650
call fcn.00461650
call fcn.00461650
call fcn.00461650
call fcn.00461650
call fcn.00461650
int3