Function at 0x42c210
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, 0x68
test byte [rdx + 0x8a], 1
mov rdi, rcx
mov rbx, rdx
mov ebp, r8d
mov r12d, r9d
jne 0x42c2a8
cmp r8d, 2
jne 0x42c253
mov byte [rcx + 0x1a1], 1
or byte [rdx + 0x8a], 1
cmp word [rdx + 0x88], 0
jne 0x42c2a8
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x42c269
movzx eax, byte [rax + 0x13]
shr al, 1
and eax, 3
cmp al, 1
ja 0x42c2a8
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x42c2c0
mov r9, qword [rbx + 8]
mov rcx, rdi
mov r8d, dword [rbx + 0x80]
call qword [rdi + 0x410]
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x80], 0xffffffff
call fcn.004694f0
mov qword [rbx + 0x10], 0
nop dword [rax]
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rbx + 0x8c], 3
jne 0x42c3c0
cmp ebp, 4
jg 0x42c660
cmp ebp, 1
je 0x42c660
mov rax, qword [rdi + 0x490]
test rax, rax
je 0x42c3c0
mov rdx, qword [rdi + 0x28]
mov r8d, r12d
mov rcx, rdi
mov r9, qword [rbx + 8]
call rax
test rax, rax
mov rsi, rax
je 0x42c3c0
mov r9d, 1
mov r8d, 2
mov rcx, rdi
lea rdx, [0x00482200]
call fcn.00425020
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdx, rsi
mov r9d, 1
mov rcx, rdi
mov byte [rsi + rax], 0xa
mov r8, rax
xor esi, esi
call fcn.00425020
mov rdx, qword [rax + 0x18]
mov qword [rax + 0x28], rdx
movzx eax, byte [rbx + 0x8c]
and eax, 0xfffffffc
or eax, 1
mov byte [rbx + 0x8c], al
mov byte [rdi + 0x1a1], 1
or byte [rbx + 0x8a], 1
nop dword [rax]
movzx eax, byte [rbx + 0x8c]
and eax, 3
cmp qword [rbx + 0x10], 0
je 0x42c6a0
cmp al, 1
je 0x42c3ae
mov dword [rsp + 0x20], esi
mov r8, qword [rbx + 8]
cmp ebp, 6
mov rcx, rdi
setne r9b
xor edx, edx
movzx r9d, r9b
call fcn.00424700
mov eax, 1
jmp 0x42c2aa
or byte [rbx + 0x8c], 3
test byte [rbx + 0x8a], 4
jne 0x42c3e6
mov r8d, r12d
mov rdx, rbx
mov rcx, rdi
call fcn.0042b250
test al, al
je 0x42c2a8
mov rdx, qword [0x004eb350]
test rdx, rdx
je 0x42c4a5
cmp ebp, 2
je 0x42c460
cmp byte [rdx + 8], 0
je 0x42c4a5
mov rax, qword [rbx + 0x60]
xor r8d, r8d
add rdx, 0x10
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x48], r8w
lea rcx, [rsp + 0x30]
mov r9d, 0x20
mov qword [rsp + 0x30], rax
mov r8, qword [rdx - 0x10]
lea rax, [0x0042b320]
mov qword [rsp + 0x20], rax
call sub.msvcrt.dll_bsearch
test rax, rax
je 0x42c4a5
mov byte [rdi + 0x1a1], 1
or byte [rbx + 0x8a], 1
jmp 0x42c2a8
mov rax, qword [rbx + 0x60]
add rdx, 0x10
mov qword [rsp + 0x50], rbx
mov r9d, 0x20
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8, qword [rdx - 0x10]
mov eax, 0x100
mov word [rsp + 0x48], ax
lea rax, [0x0042b320]
mov qword [rsp + 0x20], rax
call sub.msvcrt.dll_bsearch
test rax, rax
jne 0x42c2a8
cmp byte [rdi + 0x1a1], 0
je 0x42c4c0
mov rsi, qword [rdi + 0x118]
test rsi, rsi
jne 0x42c5a1
nop
mov rax, qword [rdi]
test rax, rax
je 0x42c690
mov rdx, qword [rbx + 0x40]
test rdx, rdx
je 0x42c690
movzx r12d, byte [rdx + 0x14]
movzx eax, byte [rax + 0x69]
cmp r12b, al
cmovb r12d, eax
xor edx, edx
movzx esi, r12b
test esi, esi
setne dl
cmp dword [rdi + 0x518], edx
movzx eax, word [rbx + 0x88]
jle 0x42c518
test ax, ax
jne 0x42c518
mov rdx, qword [rbx + 8]
cmp byte [rdx], 0
jne 0x42c700
nop dword [rax]
and byte [rbx + 0x8a], 0xfb
add eax, 1
xor r9d, r9d
mov word [rbx + 0x88], ax
cmp byte [rdi + 0x4d7], 0
je 0x42c545
movzx r9d, byte [rdi + 0x54d]
xor r9d, 1
movzx r9d, r9b
mov rdx, qword [rbx + 0x28]
mov rcx, rdi
mov r8, qword [rbx + 0x60]
call fcn.00425020
mov byte [rax + 0x69], r12b
mov rdx, qword [rbx + 0x30]
mov qword [rax + 0x50], rbx
mov qword [rax + 0x28], rdx
mov byte [rdi + 0x1b8], 1
mov qword [rdi + 0x1a8], 0
jmp 0x42c378
mov ecx, dword [rsi + 0x84]
test ecx, ecx
jne 0x42c594
mov rax, qword [rbx + 0x70]
cmp qword [rsi + 0x70], rax
je 0x42c5d0
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x42c4c0
cmp rbx, rsi
je 0x42c594
cmp ebp, 2
je 0x42c580
test byte [rsi + 0x8a], 1
jne 0x42c580
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x42c4c0
cmp rbx, rsi
jne 0x42c5ab
jmp 0x42c594
mov r8, qword [rbx + 0x60]
cmp qword [rsi + 0x60], r8
jne 0x42c594
movzx eax, byte [rsi + 0x8a]
mov r13, rsi
mov r14, qword [rsi + 0x28]
shr al, 2
and eax, 1
test r14, r14
je 0x42c800
test al, al
je 0x42c770
mov rdx, qword [rbx + 0x28]
mov rcx, qword [r13 + 0x28]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x42c725
test r14, r14
je 0x42c594
test byte [rsi + 0x8a], 4
jne 0x42c594
mov rcx, qword [r13 + 0x30]
mov qword [r13 + 8], 0
call fcn.004694f0
mov rcx, qword [r13]
call fcn.004694f0
mov rcx, qword [r13 + 8]
call fcn.004694f0
mov rcx, r13
call fcn.004694f0
jmp 0x42c594
or byte [rbx + 0x8c], 3
test byte [rbx + 0x8a], 4
je 0x42c3d0
mov rdx, qword [0x004eb350]
test rdx, rdx
jne 0x42c3fb
jmp 0x42c4a5
xor r12d, r12d
xor edx, edx
xor esi, esi
jmp 0x42c4f4
cmp ebp, 2
jg 0x42c38d
mov r9, qword [rdi + 0x28]
mov edx, dword [r9 + 0x38]
cmp edx, 0x6fffffff
je 0x42c38d
sub edx, 1
cmp al, 1
mov dword [r9 + 0x38], edx
jne 0x42c391
mov eax, dword [r9 + 0xc]
xor r8d, r8d
mov edx, dword [r9 + 0x3c]
sub eax, 1
cdqe
shl rax, 5
add rax, qword [r9]
sub edx, dword [rax]
movzx ecx, byte [rax + 0xc]
mov eax, dword [rax + 0x18]
shr edx, cl
mov rcx, r9
lea edx, [rdx + rax - 1]
call fcn.004371b0
jmp 0x42c3ae
cmp qword [rdi + 0x120], rbx
je 0x42c810
mov rcx, qword [rdi + 0x308]
call fcn.0043f200
movzx eax, word [rbx + 0x88]
jmp 0x42c518
test r14, r14
je 0x42c2a8
test byte [rsi + 0x8a], 4
jne 0x42c2a8
mov rcx, qword [r13 + 0x30]
xor edx, edx
mov qword [r13 + 8], rdx
call fcn.004694f0
mov rcx, qword [r13]
call fcn.004694f0
mov rcx, qword [r13 + 8]
call fcn.004694f0
mov rcx, r13
call fcn.004694f0
jmp 0x42c2a8
mov r14, qword [rsi]
mov edx, 0x90
mov ecx, 1
mov r15, qword [rsi + 0x40]
call fcn.00457ce0
mov dword [rax + 0x80], 0xffffffff
mov r13, rax
mov rcx, r14
mov qword [rax + 0x40], r15
call fcn.00457de0
test byte [r13 + 0x8a], 4
movq xmm0, rax
movhps xmm0, qword [rsi + 8]
movups xmmword [r13], xmm0
jne 0x42c7c9
mov r8d, r12d
mov rdx, r13
mov rcx, rdi
call fcn.0042b250
test al, al
je 0x42c7e8
mov r8, qword [r13 + 0x60]
mov rax, qword [rbx + 0x60]
mov r14, qword [rsi + 0x28]
cmp rax, r8
jne 0x42c614
jmp 0x42c5ff
cmp qword [rsi + 0x28], 0
jne 0x42c61d
jmp 0x42c594
test al, al
je 0x42c7b7
jmp 0x42c5ff
cmp byte [rdi + 0x51f], 0
jne 0x42c518
jmp 0x42c70d