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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov rcx, rsi
call fcn.0041ebc0
mov edi, dword [rsi + 0x38]
lea ecx, [rdi - 6]
and ecx, 0xfffffffb
jne 0x419241
cmp byte [rbx + 0x81], 0
je 0x4190d1
xor eax, eax
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [0x005b92f0]
mov edx, eax
mov rcx, qword [r13]
call fcn.0043a880
test eax, eax
jne 0x419320
mov eax, dword [rsi + 0x38]
cmp eax, 0xa
jne 0x419243
cmp byte [rbx + 0x7a], 1
sbb edi, edi
and edi, 2
add edi, 4
mov dword [rsi + 0x38], edi
mov edx, dword [rbx + 0xd8]
test edx, edx
jg 0x419267
cmp byte [rbx + 0x40], 0
mov ecx, dword [rsi + 0x3c]
je 0x419127
cmp dword [rsi + 0x38], 6
je 0x4192c0
test ecx, ecx
je 0x419172
cmp dword [rbx + 0x7c], ecx
je 0x419172
mov rdx, qword [rbx + 0xb0]
call qword [rbx + 0xa8]
test eax, eax
je 0x4190bb
mov r8d, dword [rbx + 0x58]
test r8d, r8d
jg 0x419510
movsxd rdx, dword [rsi + 0x3c]
mov rax, qword [rbx + 0x48]
mov edx, dword [rax + rdx*4]
test edx, edx
je 0x419500
mov dword [rsi + 0x38], edx
cmp edx, 1
jne 0x419175
jmp 0x4190bb
mov edx, dword [rsi + 0x38]
cmp edx, 8
jne 0x4192cf
add dword [rbx + 0xd8], 1
movsxd rax, dword [rsi + 0x38]
cmp eax, 0xd
je 0x419280
cmp eax, 3
je 0x419280
cmp eax, 4
jne 0x4191a9
cmp edi, 6
je 0x4194f0
add dword [rbx + rax*4 + 8], 1
mov qword [rsi + 0x30], 0
mov rdx, rsi
lea rax, [rsi + 0x30]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
call fcn.0041f890
mov rdx, rsi
mov rcx, rbx
call qword [rbx + 0x88]
mov rcx, qword [rbx]
call fcn.0041f670
cmp byte [rbx + 0x77], 0
jne 0x419430
mov rdx, rsi
mov rcx, rbx
call qword [rbx + 0x98]
cmp byte [rbx + 0xdf], 0
jne 0x419342
mov edx, dword [rsi + 0x38]
mov rcx, rbx
call fcn.00418b70
mov qword [rsi + 0x30], 0
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x419230
mov rdx, qword [rsi + 0x28]
cmp byte [rdx + 0x81], 0
je 0x4194e0
sub dword [rbx + 0xd8], 1
mov eax, 1
jmp 0x4190bd
mov eax, edi
cmp eax, 8
jne 0x4192e0
cmp byte [rbx + 0xdc], 0
jne 0x4190bb
mov edx, dword [rbx + 0xd8]
test edx, edx
jle 0x419114
cmp edx, 2
jg 0x490edf
mov rcx, qword [rbx]
call fcn.0041f750
nop
jmp 0x490edf
mov ecx, dword [rbx + 0x18]
test ecx, ecx
jle 0x419332
cmp byte [rbx + 0x78], 0
je 0x41958d
mov r9, qword [rbx + 0xa0]
test r9, r9
je 0x41919b
mov r8, qword [rsi + 8]
mov rcx, rbx
mov rdx, qword [rsi]
call r9
movsxd rax, dword [rsi + 0x38]
jmp 0x41919b
test ecx, ecx
mov dword [rsi + 0x38], 4
jne 0x41912b
xor edx, edx
mov rcx, rbx
call fcn.00418b00
jmp 0x41917e
mov edx, dword [rbx + 0xd8]
test edx, edx
jle 0x419114
cmp eax, 3
jne 0x419310
cmp edx, 1
jne 0x419267
mov rcx, qword [rbx]
call fcn.0041f750
jmp 0x419114
cmp eax, 0xd
je 0x4192f3
jmp 0x419267
cmp byte [rbx + 0x82], 0
jne 0x4190eb
jmp 0x4190bb
mov edx, dword [rbx + 0x1c]
test edx, edx
jg 0x41928b
jmp 0x419295
mov rdi, qword [rbx]
mov r15, qword [rsi + 0x28]
test rdi, rdi
je 0x490f23
test r15, r15
je 0x490f0b
mov eax, dword [r15 + 0x58]
test eax, eax
je 0x4194d3
lea rax, [r15 + 0x58]
xor ebp, ebp
lea r14, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r13, [rsp + 0x40]
jmp 0x41940d
mov rcx, qword [r15 + 0x78]
lea rdx, [rcx + rdx*8 - 0x10]
mov r12, qword [rdx]
mov rcx, r13
add ebp, 1
mov edx, dword [r12]
call fcn.00421b30
lea rdx, str.fix_it:
mov rcx, rdi
call fcn.0041f630
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.00418f60
mov edx, dword [r12 + 4]
mov rcx, r14
call fcn.00421b30
mov edx, dword [rsp + 0x6c]
mov rcx, rdi
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x28], edx
mov edx, dword [rsp + 0x68]
mov dword [rsp + 0x20], edx
lea rdx, str.:_i:_i__i:_i:
call fcn.004209f0
mov rdx, qword [r12 + 8]
mov rcx, rdi
call fcn.00418f60
mov rcx, rdi
call fcn.0041f0d0
cmp dword [r15 + 0x58], ebp
jbe 0x4194d0
cmp ebp, 1
movsxd rdx, ebp
jg 0x419381
mov rax, qword [rsp + 0x38]
lea rdx, [rax + rdx*8 + 8]
jmp 0x41938a
mov edx, dword [rsi + 0x3c]
mov r8d, edi
mov rcx, rbx
mov r9d, dword [rsi + 0x38]
call qword [rbx + 0xb8]
test rax, rax
mov rbp, rax
je 0x4191e7
mov rdi, qword [rbx]
lea rdx, [0x004dc608]
mov rcx, rdi
call fcn.0041f630
movsxd rdx, dword [rsi + 0x38]
lea rax, [0x004dc940]
mov r12, qword [rax + rdx*8]
mov rcx, r12
call sub.msvcrt.dll_strlen
movzx ecx, byte [rdi + 0x43]
mov rdx, r12
mov r8, rax
call fcn.0041a280
mov rcx, rdi
mov rdx, rax
call fcn.0041f630
mov rdx, rbp
mov rcx, rdi
call fcn.0041f630
movzx ecx, byte [rdi + 0x43]
call fcn.0041a2f0
mov rcx, rdi
mov rdx, rax
call fcn.0041f630
mov rcx, rdi
mov edx, 0x5d
call fcn.0041f130
mov rcx, rbp
call sub.msvcrt.dll_free
jmp 0x4191e7
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.0041ede0
jmp 0x419200
call fcn.0041d720
jmp 0x419230
add dword [rbx + 0x38], 1
jmp 0x4191ae
mov edx, dword [rsi + 0x38]
jmp 0x419168
xor edx, edx
mov rcx, rsi
call fcn.0041ebc0
mov ebp, dword [rbx + 0x58]
mov r14d, eax
sub ebp, 1
js 0x419152
mov r13, qword [0x005b92f0]
jmp 0x419544
test eax, eax
je 0x419580
cmp dword [rsi + 0x3c], eax
je 0x419580
sub ebp, 1
js 0x419152
mov rdx, qword [rbx + 0x50]
movsxd rax, ebp
mov r8d, r14d
lea rax, [rax + rax*2]
mov rcx, qword [r13]
lea r12, [rax*4]
mov edx, dword [rdx + rax*4]
call fcn.0043ac60
test eax, eax
js 0x41953b
mov rax, qword [rbx + 0x50]
add rax, r12
mov edx, dword [rax + 8]
mov eax, dword [rax + 4]
cmp edx, 0xf
jne 0x419532
mov ebp, eax
jmp 0x41953b
test edx, edx
je 0x419152
jmp 0x419165
mov rcx, rsi
xor edx, edx
call fcn.0041ebc0
lea rcx, [rsp + 0x60]
mov edx, eax
call fcn.00421b30
mov esi, dword [rsp + 0x68]
mov ecx, 2
mov rbx, qword [rsp + 0x60]
call qword [fcn.0048c230]
lea rdx, str._s:_d:_confused_by_earlier_errors__bailing_out_n
mov rcx, rax
mov r9d, esi
mov r8, rbx
call fcn.00418ad0
mov ecx, 4
call sub.msvcrt.dll_exit
nop word cs:[rax + rax]