Function at 0x140031ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x140
mov r12, qword [rcx + 0x10]
mov rbp, qword [rcx + 0x18]
mov rdi, rcx
mov rsi, rdx
cmp rbp, r12
je 0x140031bc4
mov rbx, r12
nop word [rax + rax]
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x140031b11
call fcn.140279770
mov rcx, qword [rbx + 0xe8]
test rcx, rcx
je 0x140031b22
call fcn.140279770
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x140031b33
call fcn.140279770
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x140031b44
call fcn.140279770
mov rcx, qword [rbx + 0x90]
test rcx, rcx
je 0x140031b55
call fcn.140279770
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140031b66
call fcn.140279770
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140031b74
call fcn.140279770
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140031b82
call fcn.140279770
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140031b90
call fcn.140279770
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140031b9e
call fcn.140279770
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140031da0
call fcn.140279770
add rbx, 0x118
cmp rbp, rbx
jne 0x140031b00
mov qword [rdi + 0x18], r12
mov rax, qword [rsi]
mov rdx, qword [str.pools]
mov rcx, rsi
call qword [rax + 0x28]
cmp word [rax + 0xe], 4
jne 0x140031c83
mov ebp, dword [rax]
lea r12, [rsp + 0x20]
movabs rbx, 0xffffffffffff
and rbx, qword [rax + 8]
shl rbp, 4
add rbp, rbx
cmp rbp, rbx
jne 0x140031d8d
nop dword [rax]
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [str.donate_level]
mov rcx, rsi
call qword [rax + 0x50]
cmp eax, 0x63
ja 0x140031c22
mov dword [rdi], eax
mov rax, qword [rsi]
mov rdx, qword [str.donate_over_proxy]
mov r8d, 1
mov rcx, rsi
call qword [rax + 0x50]
cmp eax, 2
jbe 0x140032070
mov rax, qword [rsi]
mov rdx, qword [str.retries]
xor r8d, r8d
mov rcx, rsi
call qword [rax + 0x50]
lea edx, [rax - 1]
cmp edx, 0x3e7
ja 0x140031c62
mov dword [rdi + 4], eax
mov rax, qword [rsi]
mov rdx, qword [str.retry_pause]
xor r8d, r8d
mov rcx, rsi
call qword [rax + 0x50]
lea edx, [rax - 1]
cmp edx, 0xe0f
ja 0x140031c83
mov dword [rdi + 8], eax
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, rbx
mov rcx, r12
call fcn.14002a9a0
cmp qword [rsp + 0x108], 0
je 0x140031cbd
cmp word [rsp + 0x128], 0
jne 0x140031db8
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x140031ccf
call fcn.140279770
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x140031ce1
call fcn.140279770
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140031cf3
call fcn.140279770
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x140031d05
call fcn.140279770
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140031d17
call fcn.140279770
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140031d29
call fcn.140279770
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140031d3b
call fcn.140279770
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140031d4d
call fcn.140279770
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140031d5c
call fcn.140279770
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140031d6b
call fcn.140279770
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140031d80
call fcn.140279770
nop word [rax + rax]
add rbx, 0x10
cmp rbp, rbx
je 0x140031c08
cmp word [rbx + 0xe], 3
jne 0x140031d80
jmp 0x140031c98
add rbx, 0x118
cmp rbp, rbx
jne 0x140031b00
jmp 0x140031bc0
mov rdx, qword [rdi + 0x18]
cmp rdx, qword [rdi + 0x20]
je 0x140032080
mov eax, dword [rsp + 0x20]
add rdx, 0x118
mov dword [rdx - 0x118], eax
movzx eax, byte [rsp + 0x24]
mov byte [rdx - 0x114], al
mov eax, dword [rsp + 0x28]
mov dword [rdx - 0x110], eax
mov rax, qword [rsp + 0x2c]
mov qword [rdx - 0x10c], rax
movzx eax, byte [rsp + 0x38]
mov byte [rdx - 0x100], al
mov eax, dword [rsp + 0x3c]
mov dword [rdx - 0xfc], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], 0
mov qword [rdx - 0xf8], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
mov qword [rdx - 0xf0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], 0
mov qword [rdx - 0xe8], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
mov qword [rdx - 0xe0], rax
movzx eax, word [rsp + 0x60]
mov word [rdx - 0xd8], ax
mov eax, dword [rsp + 0x68]
mov dword [rdx - 0xd0], eax
mov rax, qword [rsp + 0x70]
mov qword [rdx - 0xc8], rax
mov rax, qword [rsp + 0x78]
mov qword [rdx - 0xc0], rax
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x78], 0
mov qword [rdx - 0xb8], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], 0
mov qword [rdx - 0xb0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], 0
mov qword [rdx - 0xa8], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x90], 0
mov qword [rdx - 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], 0
mov qword [rdx - 0x98], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], 0
mov qword [rdx - 0x90], rax
mov rax, qword [rsp + 0xb0]
movdqu xmm0, xmmword [rsp + 0xb8]
mov qword [rsp + 0xa8], 0
mov qword [rdx - 0x88], rax
movups xmmword [rdx - 0x80], xmm0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xb0], 0
mov qword [rdx - 0x70], rax
movzx eax, byte [rsp + 0xd0]
mov qword [rsp + 0xb8], 0
mov byte [rdx - 0x68], al
mov eax, dword [rsp + 0xd4]
mov dword [rdx - 0x64], eax
mov rax, qword [rsp + 0xd8]
mov qword [rdx - 0x60], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xd8], 0
mov qword [rdx - 0x58], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xe0], 0
mov qword [rdx - 0x50], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xe8], 0
mov qword [rdx - 0x48], rax
movzx eax, word [rsp + 0xf8]
mov qword [rsp + 0xf0], 0
mov word [rdx - 0x40], ax
movzx eax, byte [rsp + 0x100]
mov byte [rdx - 0x38], al
mov eax, dword [rsp + 0x104]
mov dword [rdx - 0x34], eax
mov rax, qword [rsp + 0x108]
mov qword [rdx - 0x30], rax
mov rax, qword [rsp + 0x110]
mov qword [rdx - 0x28], rax
mov rax, qword [rsp + 0x118]
mov qword [rdx - 0x20], rax
mov rax, qword [rsp + 0x120]
mov qword [rdx - 0x18], rax
movzx eax, word [rsp + 0x128]
mov word [rdx - 0x10], ax
mov eax, dword [rsp + 0x130]
mov dword [rdx - 8], eax
mov qword [rdi + 0x18], rdx
jmp 0x140031ce1
mov dword [rdi + 0xc], eax
jmp 0x140031c41
lea rcx, [rdi + 0x10]
mov r8, r12
call fcn.14023ccc0
jmp 0x140031cbd