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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0xb0]
mov rsi, qword [rsp + 0xf0]
add rsi, 0x5c
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x28]
lea rsi, [rsp + 0xb0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x28]
add eax, 4
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
add eax, 3
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x30]
sub eax, 4
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x34]
sub eax, 4
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov rax, qword [rsp + 0xf0]
cmp ecx, dword [rax + 0x59c]
jg 0x14023d555
mov dword [rsp + 0xc0], 1
jmp 0x14023d560
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rax + 0x580]
mov eax, dword [rsp + 0x28]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
jmp 0x14023d598
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
movsxd rax, dword [rsp + 0x38]
cmp rax, qword [rsp + 0x58]
jge 0x14023d7ed
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xf0]
add rax, 0x20
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x70], 0
jl 0x14023d605
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x70], rax
jge 0x14023d605
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x70]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x60], rax
jmp 0x14023d60a
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x14023d64d
mov rax, qword [rsp + 0x40]
mov dword [rax + AfxOleUnlockControl], 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x78]
sub ecx, 1
mov rax, qword [rsp + 0x40]
mov dword [rax + 0x98], ecx
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x98]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x90], 0
jl 0x14023d6b5
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x90], rax
jge 0x14023d6b5
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x90]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x80], rax
jmp 0x14023d6ba
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xa4]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x4c], eax
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0xa8]
call fcn.1400012b8
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc8]
call qword [rax + 0x8e0]
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 0x18]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
add eax, 4
cmp dword [rsp + 0x50], eax
jle 0x14023d78c
mov eax, dword [rsp + 0x30]
sub eax, 4
cmp dword [rsp + 0x48], eax
jl 0x14023d7b7
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0xa8]
cmp dword [rsp + 0x24], 0
je 0x14023d7cd
mov rax, qword [rsp + 0x40]
mov dword [rax + AfxOleUnlockControl], 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0xd0]
jmp 0x14023d58d
add rsp, 0xd8
pop rdi
pop rsi
ret