Function at 0x409bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b4d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4771ac]
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 - 0x90], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x78], 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
push 0
mov byte [edi], 0
call fcn.0040a490
lea esi, [edi + 0x10]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 4], 1
mov word [esi], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x94], eax
call fcn.0043528a
mov dword [ebp - 0x98], 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 - 0x78], 4
call fcn.004352a7
mov ecx, eax
mov dword [ebp - 0xa8], ecx
test edx, edx
jne 0x40a130
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
ja 0x409c9c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x409caf
push 0
sub eax, edx
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040d1a0
mov ecx, dword [ebp - 0xa8]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
push 0xd
push str.config32.json
push dword [ebp - 0x98]
call fcn.004352a7
mov dword [ebp - 0x9c], eax
test edx, edx
jne 0x40a15e
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 4
push eax
call fcn.0040d900
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040bb50
add esp, 0x10
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00409650
lea eax, [ebp - 0x44]
cmp esi, eax
je 0x409d2f
mov ecx, esi
call fcn.0040af00
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x10], xmm0
jmp 0x409d69
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x409d69
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a18f
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x409da7
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a194
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edx, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x409df9
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409def
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a199
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x409e4b
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a19e
push edx
push ecx
call fcn.0044eddd
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x409e53
mov esi, dword [esi]
push 0x464050
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.004505c0
mov eax, dword [ebp - 0x78]
add esp, 0xc
test eax, eax
jne 0x409e7e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
jmp 0x409f16
push 2
push 0
push eax
call sub.msvcrt.dll_fseek
push dword [ebp - 0x78]
call sub.msvcrt.dll_ftell
push 0
push 0
push dword [ebp - 0x78]
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], 8
test esi, esi
jne 0x409ec5
mov dword [ebp - 0x1c], esi
mov byte [ebp + esi - 0x2c], 0
jmp 0x409ed0
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040cee0
push dword [ebp - 0x78]
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 - 0x78]
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], 9
mov eax, esp
lea ecx, [ebp - 0x88]
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x44]
push eax
push ecx
call fcn.00407200
mov cl, byte [edi]
add esp, 0x38
mov al, byte [ebp - 0x88]
mov byte [edi], al
mov eax, dword [ebp - 0x80]
mov edx, dword [edi + 0xc]
mov byte [ebp - 0x98], cl
mov byte [ebp - 0x88], cl
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xa
call fcn.0040dbb0
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x409fea
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409fab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1a3
push edx
push ecx
call fcn.0044eddd
add esp, 8
jmp 0x409fea
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0040d800
cmp byte [edi], 1
jne 0x40a08d
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov eax, edi
mov dword [ebp - 0x78], eax
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x40a055
nop dword [eax + eax]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x40a02e
mov eax, dword [eax]
push 7
push str.plugins
push ecx
push eax
call fcn.004042f0
add esp, 0x10
test eax, eax
jns 0x40a048
mov esi, dword [esi + 8]
jmp 0x40a04c
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x40a020
mov eax, dword [ebp - 0x78]
cmp edi, eax
je 0x40a07f
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x40a067
mov eax, dword [eax]
push 7
push str.plugins
push ecx
push eax
call fcn.004042f0
add esp, 0x10
test eax, eax
jle 0x40a081
mov eax, dword [ebp - 0x78]
mov edi, eax
mov dword [ebp - 0x84], edi
mov edi, dword [ebp - 0x90]
lea eax, [ebp - 0xa4]
mov ecx, edi
push eax
call fcn.0040d800
push eax
lea ecx, [ebp - 0x88]
call fcn.00402580
test al, al
je 0x40a112
push 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xd
mov byte [ebp - 0x88], 0
call fcn.0040a490
push str.plugins
mov ecx, edi
mov byte [ebp - 4], 0xe
call fcn.00402630
mov esi, eax
mov al, byte [ebp - 0x88]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x80]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x98], cl
mov byte [ebp - 0x88], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x98]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xf
call fcn.0040dbb0
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.0044edeb
mov esp, ebp
pop ebp
ret
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.0040c9c0
add esp, 8
lea ecx, [ebp - 0xbc]
push dword [eax + 4]
push dword [eax]
call fcn.0040ac70
push 0x471320
lea eax, [ebp - 0xbc]
push eax
call sub.msvcrt.dll__CxxThrowException
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040c9c0
add esp, 8
lea ecx, [ebp - 0xd0]
push dword [eax + 4]
push dword [eax]
call fcn.0040ac70
push 0x471320
lea eax, [ebp - 0xd0]
push eax
call sub.msvcrt.dll__CxxThrowException
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
int3