Function at 0x140248220
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 + reloc.mfc90u.dll_CRecordset::BuildSQL]
jg 0x1402482b5
mov dword [rsp + 0xc0], 1
jmp 0x1402482c0
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rax + reloc.mfc90u.dll_CAsyncSocket::Bind]
mov eax, dword [rsp + 0x28]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
jmp 0x1402482f8
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 0x14024854d
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 0x140248365
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x70], rax
jge 0x140248365
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 0x14024836a
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 0x1402483ad
mov rax, qword [rsp + 0x40]
mov dword [rax + reloc.mfc90u.dll_AfxOleLockApp], 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 0x140248415
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x90], rax
jge 0x140248415
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 0x14024841a
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 + 0xa0]
call fcn.140001270
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 + 0x880]
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 0x1402484ec
mov eax, dword [rsp + 0x30]
sub eax, 4
cmp dword [rsp + 0x48], eax
jl 0x140248517
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 + 0xa0]
cmp dword [rsp + 0x24], 0
je 0x14024852d
mov rax, qword [rsp + 0x40]
mov dword [rax + reloc.mfc90u.dll_AfxOleLockApp], 1
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x40]
call qword [rax + 0xc8]
jmp 0x1402482ed
add rsp, 0xd8
pop rdi
pop rsi
ret