Function at 0x409cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b4bd
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
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 - 0x9c], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x90], 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
push 0
mov byte [edi], 0
call fcn.0040a690
xor eax, eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 7
mov dword [ebp - 4], 1
mov word [edi + 0x10], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x94], eax
call fcn.0043528a
mov dword [ebp - 0x60], 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.004352a7
mov esi, eax
test edx, edx
jne 0x40a326
mov ecx, dword [ebp - 0x1c]
cmp esi, ecx
ja 0x409db7
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 0x409dc4
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.0040cec0
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 - 0x60]
call fcn.004352a7
mov dword [ebp - 0x64], eax
test edx, edx
jne 0x40a354
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x90], 0xb
push eax
push 0x104
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.0040cec0
nop
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
push ecx
mov dword [ebp - 0x94], ecx
call fcn.004352db
mov ecx, dword [ebp - 0x4c]
mov esi, eax
mov dword [ebp - 0x60], edx
cmp esi, ecx
ja 0x409e5d
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x4c], esi
cmovae eax, dword [ebp - 0x5c]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x409e6f
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x5c]
push 0
push eax
call fcn.0040cec0
mov edx, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x94]
jae 0x409e20
mov byte [ebp - 4], 5
test edx, edx
jne 0x40a382
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00409770
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x44]
call fcn.0040ba40
push eax
lea ecx, [ebp - 0x8c]
call fcn.00409770
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x90], 0x1b
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x409ef3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409ee9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a38d
push edx
push ecx
call fcn.0044eddd
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x74]
call fcn.00409770
lea esi, [edi + 0x10]
lea eax, [ebp - 0x74]
cmp esi, eax
je 0x409f3e
mov ecx, esi
call fcn.0040ac80
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [esi + 0x10], xmm0
jmp 0x409f78
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x409f78
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a392
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x409fb9
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409faf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a397
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x409ff7
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409fed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a39c
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x40a049
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a03f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3a1
push edx
push ecx
call fcn.0044eddd
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x40a051
mov esi, dword [esi]
push 0x464050
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.004505c0
mov eax, dword [ebp - 0x90]
add esp, 0xc
test eax, eax
jne 0x40a082
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
jmp 0x40a126
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 0x40a0cf
mov dword [ebp - 0x1c], esi
mov byte [ebp + esi - 0x2c], 0
jmp 0x40a0da
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040cc00
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 - 0x5c], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x4c], 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 - 0x3c]
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x5c]
push eax
push ecx
call fcn.004074b0
mov cl, byte [edi]
add esp, 0x38
mov al, byte [ebp - 0x3c]
mov byte [edi], al
mov eax, dword [ebp - 0x34]
mov edx, dword [edi + 0xc]
mov byte [ebp - 0x94], cl
mov byte [ebp - 0x3c], cl
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.0040d630
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x40a1f1
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3a6
push edx
push ecx
call fcn.0044eddd
add esp, 8
jmp 0x40a1f1
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0040e990
cmp byte [edi], 1
jne 0x40a292
mov eax, dword [edi + 8]
mov edi, dword [eax]
mov eax, edi
mov dword [ebp - 0x90], eax
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x40a25a
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x40a230
mov eax, dword [eax]
push 7
push str.plugins
push ecx
push eax
call fcn.004045a0
add esp, 0x10
test eax, eax
jns 0x40a24a
mov esi, dword [esi + 8]
jmp 0x40a24e
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x40a222
mov eax, dword [ebp - 0x90]
cmp edi, eax
je 0x40a287
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x40a26c
mov eax, dword [eax]
push 7
push str.plugins
push ecx
push eax
call fcn.004045a0
add esp, 0x10
test eax, eax
jle 0x40a289
mov eax, dword [ebp - 0x90]
mov edi, eax
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x9c]
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.0040e990
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402560
test al, al
je 0x40a308
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0040a690
push str.plugins
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00402610
mov esi, eax
mov al, byte [ebp - 0x3c]
mov cl, byte [esi]
mov byte [esi], al
mov eax, dword [ebp - 0x34]
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x94], cl
mov byte [ebp - 0x3c], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.0040d630
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 - 0x34]
push eax
call fcn.0040c6e0
add esp, 8
lea ecx, [ebp - 0xb0]
push dword [eax + 4]
push dword [eax]
call fcn.0040a9f0
push 0x4711f4
lea eax, [ebp - 0xb0]
push eax
call sub.msvcrt.dll__CxxThrowException
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0040c6e0
add esp, 8
lea ecx, [ebp - 0xc4]
push dword [eax + 4]
push dword [eax]
call fcn.0040a9f0
push 0x4711f4
lea eax, [ebp - 0xc4]
push eax
call sub.msvcrt.dll__CxxThrowException
push edx
push str.current_path__
call fcn.0040c830
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
int3