Function at 0x140031450
Capabilities:
Read file on windows

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x20a0]
mov eax, 0x21a0
call fcn.140096ce0
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x21c0], rbx
mov qword [rsp + 0x21c8], rsi
mov qword [rsp + 0x21d0], rdi
mov qword [rsp + 0x21d8], r12
mov rax, qword [0x140105358]
xor rax, rsp
mov qword [rbp + 0x2090], rax
mov r8d, 0x12c
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x360]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400314c5
movsxd rcx, eax
test eax, eax
jle 0x1400314e9
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x1400314e9
dec eax
dec rcx
test rcx, rcx
jg 0x1400314d5
inc eax
movsxd rcx, eax
cmp rcx, 0x12c
jae 0x140031912
mov byte [rbp + rcx + 0x360], 0
lea rcx, [rbp + 0x360]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140031510
mov rax, qword [str.epools.txt]
mov qword [rcx], rax
movzx eax, word [0x1400d7158]
mov word [rcx + 8], ax
movzx eax, byte [0x1400d715a]
mov byte [rcx + 0xa], al
xor esi, esi
mov qword [rbp + 0x348], rsi
mov dword [rbp + 0x340], esi
mov word [rsp + 0x40], si
lea rax, [rbp + 0x360]
mov qword [rsp + 0x30], rax
mov byte [rbp + 0x350], sil
xor eax, eax
mov dword [rbp + 0x351], eax
mov byte [rbp + 0x355], al
lea rcx, [rbp + 0x350]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], al
jne 0x140031577
movzx eax, word [0x1400daa6c]
mov word [rcx], ax
lea rcx, [rbp + 0x350]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140031593
movzx eax, word [0x1400daa74]
mov word [rcx], ax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.14008691c
mov qword [rbp + 0x348], rax
test rax, rax
je 0x1400315e9
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14008c320
mov dword [rbp + 0x340], 1
jmp 0x1400315f7
call fcn.140087430
cmp dword [rax], 0
jne 0x1400318f3
mov rdi, qword [rbp + 0x348]
test rdi, rdi
jne 0x140031608
mov rbx, rsi
jmp 0x14003164b
mov rcx, rdi
call fcn.14008ad3c
mov edi, eax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbp + 0x348]
call fcn.14008bb14
mov rcx, qword [rbp + 0x348]
call fcn.14008ad3c
movsxd rbx, eax
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbp + 0x348]
call fcn.14008bb14
mov rdi, qword [rbp + 0x348]
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.140085e1c
mov r15, rax
test rdi, rdi
je 0x14003169a
test byte [rbp + 0x340], 1
je 0x14003169a
movsxd r8, ebx
mov r9, rdi
mov edx, 1
mov rcx, rax
call fcn.1400883bc
cmp eax, ebx
je 0x14003169a
mov rcx, qword [rbp + 0x348]
call fcn.14008880c
test eax, eax
jne 0x14003169a
mov rcx, qword [rbp + 0x348]
call fcn.140088834
movsxd r14, ebx
mov byte [r14 + r15], 0
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x1400316cb
call fcn.140088070
mov rcx, qword [rbp + 0x348]
call fcn.140086bc4
mov qword [rbp + 0x348], rsi
mov word [rsp + 0x40], si
mov rax, rsi
test ebx, ebx
js 0x1400318ea
nop word [rax + rax]
lea edi, [rsi + 1]
lea rbx, [rax + 1]
cmp rbx, r14
jg 0x140031701
nop dword [rax]
cmp byte [rbx + r15], 0x20
jl 0x140031701
inc edi
inc rbx
cmp rbx, r14
jle 0x1400316f0
mov ecx, edi
sub ecx, esi
mov r12, rbx
sub r12, rax
movsxd r8, ecx
movsxd rdx, esi
add rdx, r15
lea rcx, [rbp + 0xc90]
call fcn.140084c70
cmp r12, 0x1000
jae 0x1400318e4
mov byte [rbp + r12 + 0xc90], 0
lea rcx, [rbp + 0xc90]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140031741
test rax, rax
je 0x1400318c6
movzx eax, byte [rbp + 0xc90]
cmp al, 0x3b
je 0x1400318c6
cmp al, 0x23
je 0x1400318c6
lea rdx, [0x1400d7aa0]
lea rcx, [rbp + 0xc90]
call fcn.140085ed4
test rax, rax
je 0x1400317b7
lea rcx, [rbp + 0xc90]
call fcn.14002dda0
mov rdx, rax
lea r8, [rbp + 0xc90]
sub r8, rax
nop dword [rax + rax]
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400317a0
mov rcx, rax
call fcn.140085b44
lea r8, [rbp + 0x890]
lea rdx, str.POOL:
lea rcx, [rbp + 0xc90]
call fcn.1400311d0
lea r8, [rbp + 0x1c90]
lea rdx, str.WALLET:
lea rcx, [rbp + 0xc90]
call fcn.1400311d0
lea r8, [rbp + 0xa90]
lea rdx, str.PSW:
lea rcx, [rbp + 0xc90]
call fcn.1400311d0
lea r8, [rbp + 0x690]
lea rdx, str.ESM:
lea rcx, [rbp + 0xc90]
call fcn.1400311d0
lea r8, [rbp + 0x490]
lea rdx, str.ALLPOOLS:
lea rcx, [rbp + 0xc90]
call fcn.1400311d0
lea r8, [rbp + 0x1e90]
lea rdx, str.ALLCOINS:
lea rcx, [rbp + 0xc90]
call fcn.1400311d0
lea rcx, [rbp + 0x690]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140031860
test rax, rax
je 0x14003187a
lea rcx, [rbp + 0x690]
call fcn.1400860b4
lea rcx, [rbp + 0x490]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140031885
test rax, rax
jne 0x140031898
or eax, 0xffffffff
jmp 0x1400318a4
lea rcx, [rbp + 0x490]
call fcn.1400860b4
mov byte [rsp + 0x20], 1
mov r9d, eax
lea r8, [rbp + 0xa90]
lea rdx, [rbp + 0x1c90]
lea rcx, [rbp + 0x890]
call fcn.1400301e0
lea esi, [rdi + 1]
lea rax, [rbx + 1]
cmp rax, r14
jg 0x1400318ea
cmp byte [rax + r15], 0x20
jge 0x1400316e0
inc esi
inc rax
jmp 0x1400318cd
call fcn.1400861e0
int3
mov rcx, r15
call fcn.140085b44
nop
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x140031918
call fcn.140088070
mov rcx, qword [rbp + 0x348]
call fcn.140086bc4
jmp 0x140031918
call fcn.1400861e0
int3
mov rcx, qword [rbp + 0x2090]
xor rcx, rsp
call fcn.140084a30
lea r11, [rsp + 0x21a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret