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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov rax, rsp
sub rsp, 0xb8
mov qword [rax - 8], rbx
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov rdi, qword [rcx]
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov rax, qword [rcx + 0x1c0]
test rax, rax
mov rbx, rcx
mov esi, r9d
cmovne rbx, rax
test rdi, rdi
mov r15, r8
mov r14, rdx
mov r13, rcx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x30], rbx
je 0x4df0da
cmp byte [rdi + 0x50], 0
jne 0x4df1cd
cmp byte [rdi + 0x14a], 0
je 0x4df0da
cmp word [rdi + 0x148], 0x28
jae 0x4df11d
inc dword [rdi + 0x158]
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x4df15e
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4df0f5
call qword [0x0072d0f8]
lea rdx, [rsp + 0x28]
mov ecx, Ordinal_41
call fcn.0043a720
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4df16e
call qword [0x0072d108]
mov r12, qword [rsp + 0x28]
jmp 0x4df173
mov r12, qword [rdi + 0x160]
test r12, r12
jne 0x4df131
inc dword [rdi + 0x15c]
jmp 0x4df0da
mov rax, qword [r12]
inc dword [rdi + 0x14c]
inc dword [rdi + 0x154]
mov qword [rdi + 0x160], rax
mov eax, dword [rdi + 0x14c]
cmp eax, dword [rdi + 0x150]
jle 0x4df181
mov dword [rdi + 0x150], eax
jmp 0x4df181
mov ecx, Ordinal_41
call qword [0x0072d098]
mov r12, rax
jmp 0x4df173
mov r12, qword [rsp + 0x28]
test r12, r12
jne 0x4df181
test rdi, rdi
je 0x4df181
mov byte [rdi + 0x50], 1
test r12, r12
je 0x4df1cd
xor eax, eax
test rdi, rdi
mov qword [rsp + 0xa8], rbp
mov qword [r12], rax
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], rax
mov qword [r12 + 0x20], rax
mov rax, qword [rbx + 0x278]
mov qword [r12 + 8], rax
mov qword [rbx + 0x278], r12
je 0x4df1ed
cmp byte [rdi + 0x50], 0
je 0x4df1d4
xor ebp, ebp
jmp 0x4df2af
xor eax, eax
jmp 0x4df647
cmp byte [rdi + 0x14a], 0
je 0x4df1ed
cmp word [rdi + 0x148], 0x28
jae 0x4df230
inc dword [rdi + 0x158]
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x4df271
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4df208
call qword [0x0072d0f8]
lea rdx, [rsp + 0x28]
mov ecx, Ordinal_41
call fcn.0043a720
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4df281
call qword [0x0072d108]
mov rbp, qword [rsp + 0x28]
jmp 0x4df286
mov rbp, qword [rdi + 0x160]
test rbp, rbp
jne 0x4df244
inc dword [rdi + 0x15c]
jmp 0x4df1ed
mov rax, qword [rbp]
inc dword [rdi + 0x14c]
inc dword [rdi + 0x154]
mov qword [rdi + 0x160], rax
mov eax, dword [rdi + 0x14c]
cmp eax, dword [rdi + 0x150]
jle 0x4df294
mov dword [rdi + 0x150], eax
jmp 0x4df294
mov ecx, Ordinal_41
call qword [0x0072d098]
mov rbp, rax
jmp 0x4df286
mov rbp, qword [rsp + 0x28]
test rbp, rbp
jne 0x4df294
test rdi, rdi
je 0x4df294
mov byte [rdi + 0x50], 1
test rbp, rbp
je 0x4df2af
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
test rbp, rbp
mov qword [r12 + 0x10], rbp
jne 0x4df2c0
xor eax, eax
jmp 0x4df63f
test rdi, rdi
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x108]
mov qword [rbp + 0x20], rax
mov qword [rcx + 0x108], rbp
mov qword [r12], r14
mov dword [r12 + 0x18], esi
mov dword [r12 + 0x1c], 0xffffffff
mov dword [r12 + 0x20], 0xffffffff
je 0x4df316
cmp byte [rdi + 0x50], 0
jne 0x4df2b9
cmp byte [rdi + 0x14a], 0
je 0x4df316
cmp word [rdi + 0x148], 0x288
jae 0x4df359
inc dword [rdi + 0x158]
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x4df399
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4df331
call qword [0x0072d0f8]
lea rdx, [rsp + 0x28]
mov ecx, 0x288
call fcn.0043a720
mov rcx, qword [0x00772b88]
test rcx, rcx
je 0x4df3a9
call qword [0x0072d108]
mov rsi, qword [rsp + 0x28]
jmp 0x4df3ae
mov rsi, qword [rdi + 0x160]
test rsi, rsi
jne 0x4df36d
inc dword [rdi + 0x15c]
jmp 0x4df316
mov rax, qword [rsi]
inc dword [rdi + 0x14c]
inc dword [rdi + 0x154]
mov qword [rdi + 0x160], rax
mov eax, dword [rdi + 0x14c]
cmp eax, dword [rdi + 0x150]
jle 0x4df3bc
mov dword [rdi + 0x150], eax
jmp 0x4df3bc
mov ecx, 0x288
call qword [0x0072d098]
mov rsi, rax
jmp 0x4df3ae
mov rsi, qword [rsp + 0x28]
test rsi, rsi
jne 0x4df3bc
test rdi, rdi
je 0x4df3bc
mov byte [rdi + 0x50], 1
test rsi, rsi
je 0x4df2b9
xor edx, edx
mov r8d, 0x288
mov rcx, rsi
call sub.msvcrt.dll_memset
xor eax, eax
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x38], rsi
mov qword [rsi], rdi
mov qword [rsi + 0x1c8], r15
mov qword [rsi + 0x1c0], rbx
mov rax, qword [r14]
mov qword [rsi + 0x230], rax
movzx eax, byte [r14 + 0x10]
mov byte [rsi + 0x1e4], al
mov eax, dword [r13 + 0x1d8]
mov dword [rsi + 0x1d8], eax
call fcn.00454b30
test rax, rax
mov r13, rax
je 0x4df610
mov r8, qword [r14]
lea rdx, str.___TRIGGER__s
mov rcx, rdi
call fcn.00461c80
mov rbx, qword [r13 + 8]
mov rcx, qword [r13]
test rbx, rbx
mov r15, rax
mov r14d, 0xffffffff
je 0x4df4c0
cmp byte [rcx + 0x50], 0
jne 0x4df4c0
mov eax, dword [r13 + 0x3c]
dec eax
cdqe
lea r14, [rax + rax*2]
movsx edx, byte [rbx + r14*8 + 1]
mov r8, qword [rbx + r14*8 + 0x10]
call fcn.00441fd0
xor eax, eax
test r15, r15
mov qword [rbx + r14*8 + 0x10], rax
jne 0x4df4ac
mov qword [rbx + r14*8 + 0x10], rax
mov byte [rbx + r14*8 + 1], al
lea r14d, [rax - 1]
jmp 0x4df4cb
mov qword [rbx + r14*8 + 0x10], r15
mov byte [rbx + r14*8 + 1], 0xff
mov r14d, 0xffffffff
jmp 0x4df4cb
mov r8, rax
mov edx, r14d
call fcn.00441fd0
mov r15, qword [rsp + 0xc8]
mov rdx, qword [r15 + 0x18]
test rdx, rdx
je 0x4df52e
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.00459910
lea rcx, [rsp + 0x38]
mov rdx, rax
mov rbx, rax
call fcn.0047fd70
test eax, eax
jne 0x4df523
cmp byte [rdi + 0x50], al
jne 0x4df523
mov rcx, r13
call fcn.00441e70
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rbx
mov r8d, eax
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.004d3740
mov rdx, rbx
mov rcx, rdi
call fcn.00445010
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [r15 + 0x38]
mov rcx, rsi
call fcn.004de9c0
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x4df573
sub r14d, eax
mov r8, qword [r13 + 0x30]
js 0x4df569
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x4df569
mov eax, dword [r13 + 0x3c]
movsxd rcx, r14d
mov dword [rdx + rcx*4], eax
mov eax, dword [r13 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov edx, Ordinal_27
mov rcx, r13
call fcn.00441ca0
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x4c], 0
jne 0x4df59e
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
mov eax, dword [rsi + 0x4c]
mov dword [rcx + 0x4c], eax
jmp 0x4df5aa
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
call fcn.00425ea0
cmp byte [rdi + 0x50], 0
jne 0x4df5dc
mov rdx, qword [rsp + 0x30]
mov rbx, qword [r13 + 8]
mov rcx, r13
add rdx, 0x1a8
call fcn.004b1e10
mov r11d, dword [r13 + 0x3c]
mov dword [rbp + 8], r11d
mov qword [r13 + 8], 0
mov qword [rbp], rbx
mov eax, dword [rsi + 0x54]
mov rcx, r13
mov dword [rbp + 0xc], eax
mov eax, dword [rsi + 0x50]
mov dword [rbp + 0x10], eax
mov eax, dword [rsi + 0x5c]
mov qword [rbp + 0x18], r15
mov dword [rbp + 0x14], eax
mov eax, dword [rsi + 0x1dc]
mov dword [r12 + 0x1c], eax
mov eax, dword [rsi + 0x1e0]
mov dword [r12 + 0x20], eax
call fcn.00442f90
mov rbx, qword [rsi]
mov rdx, qword [rsi + 0x80]
mov rcx, rbx
call fcn.00425ea0
mov rdx, qword [rsi + 0x150]
mov rcx, rbx
call fcn.00445760
mov rdx, rsi
mov rcx, rdi
call fcn.00425ea0
mov rax, r12
mov rbp, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0xb8
ret