Function at 0x140031070
Capabilities:
Read file on windows

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x20a0]
mov eax, 0x21a0
call fcn.140096900
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 0x1400310e5
movsxd rcx, eax
test eax, eax
jle 0x140031109
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x140031109
dec eax
dec rcx
test rcx, rcx
jg 0x1400310f5
inc eax
movsxd rcx, eax
cmp rcx, 0x12c
jae 0x140031532
mov byte [rbp + rcx + 0x360], 0
lea rcx, [rbp + 0x360]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140031130
mov rax, qword [str.epools.txt]
mov qword [rcx], rax
movzx eax, word [0x1400d70b8]
mov word [rcx + 8], ax
movzx eax, byte [0x1400d70ba]
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 0x140031197
movzx eax, word [0x1400da98c]
mov word [rcx], ax
lea rcx, [rbp + 0x350]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400311b3
movzx eax, word [0x1400da994]
mov word [rcx], ax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.14008653c
mov qword [rbp + 0x348], rax
test rax, rax
je 0x140031209
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14008bf40
mov dword [rbp + 0x340], 1
jmp 0x140031217
call fcn.140087050
cmp dword [rax], 0
jne 0x140031513
mov rdi, qword [rbp + 0x348]
test rdi, rdi
jne 0x140031228
mov rbx, rsi
jmp 0x14003126b
mov rcx, rdi
call fcn.14008a95c
mov edi, eax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbp + 0x348]
call fcn.14008b734
mov rcx, qword [rbp + 0x348]
call fcn.14008a95c
movsxd rbx, eax
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbp + 0x348]
call fcn.14008b734
mov rdi, qword [rbp + 0x348]
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.14008597c
mov r15, rax
test rdi, rdi
je 0x1400312ba
test byte [rbp + 0x340], 1
je 0x1400312ba
movsxd r8, ebx
mov r9, rdi
mov edx, 1
mov rcx, rax
call fcn.140087fdc
cmp eax, ebx
je 0x1400312ba
mov rcx, qword [rbp + 0x348]
call fcn.14008842c
test eax, eax
jne 0x1400312ba
mov rcx, qword [rbp + 0x348]
call fcn.140088454
movsxd r14, ebx
mov byte [r14 + r15], 0
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x1400312eb
call fcn.140087c90
mov rcx, qword [rbp + 0x348]
call fcn.1400867e4
mov qword [rbp + 0x348], rsi
mov word [rsp + 0x40], si
mov rax, rsi
test ebx, ebx
js 0x14003150a
nop word [rax + rax]
lea edi, [rsi + 1]
lea rbx, [rax + 1]
cmp rbx, r14
jg 0x140031321
nop dword [rax]
cmp byte [rbx + r15], 0x20
jl 0x140031321
inc edi
inc rbx
cmp rbx, r14
jle 0x140031310
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.1400847d0
cmp r12, 0x1000
jae 0x140031504
mov byte [rbp + r12 + 0xc90], 0
lea rcx, [rbp + 0xc90]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140031361
test rax, rax
je 0x1400314e6
movzx eax, byte [rbp + 0xc90]
cmp al, 0x3b
je 0x1400314e6
cmp al, 0x23
je 0x1400314e6
lea rdx, [0x1400d7a00]
lea rcx, [rbp + 0xc90]
call fcn.140085a34
test rax, rax
je 0x1400313d7
lea rcx, [rbp + 0xc90]
call fcn.14002da60
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 0x1400313c0
mov rcx, rax
call fcn.1400856a4
lea r8, [rbp + 0x890]
lea rdx, str.POOL:
lea rcx, [rbp + 0xc90]
call fcn.140030df0
lea r8, [rbp + 0x1c90]
lea rdx, str.WALLET:
lea rcx, [rbp + 0xc90]
call fcn.140030df0
lea r8, [rbp + 0xa90]
lea rdx, str.PSW:
lea rcx, [rbp + 0xc90]
call fcn.140030df0
lea r8, [rbp + 0x690]
lea rdx, str.ESM:
lea rcx, [rbp + 0xc90]
call fcn.140030df0
lea r8, [rbp + 0x490]
lea rdx, str.ALLPOOLS:
lea rcx, [rbp + 0xc90]
call fcn.140030df0
lea r8, [rbp + 0x1e90]
lea rdx, str.ALLCOINS:
lea rcx, [rbp + 0xc90]
call fcn.140030df0
lea rcx, [rbp + 0x690]
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140031480
test rax, rax
je 0x14003149a
lea rcx, [rbp + 0x690]
call fcn.140085c14
lea rcx, [rbp + 0x490]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400314a5
test rax, rax
jne 0x1400314b8
or eax, 0xffffffff
jmp 0x1400314c4
lea rcx, [rbp + 0x490]
call fcn.140085c14
mov byte [rsp + 0x20], 1
mov r9d, eax
lea r8, [rbp + 0xa90]
lea rdx, [rbp + 0x1c90]
lea rcx, [rbp + 0x890]
call fcn.14002fe90
lea esi, [rdi + 1]
lea rax, [rbx + 1]
cmp rax, r14
jg 0x14003150a
cmp byte [rax + r15], 0x20
jge 0x140031300
inc esi
inc rax
jmp 0x1400314ed
call fcn.140085d40
int3
mov rcx, r15
call fcn.1400856a4
nop
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x140031538
call fcn.140087c90
mov rcx, qword [rbp + 0x348]
call fcn.1400867e4
jmp 0x140031538
call fcn.140085d40
int3
mov rcx, qword [rbp + 0x2090]
xor rcx, rsp
call fcn.140084590
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