Function at 0x410036
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x140
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
lea rcx, str.Wintab32.dll
mov r10, rcx
mov qword [rbp - 8], rax
mov rcx, r10
call sub.kernel32.dll_LoadLibraryA
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
mov rcx, qword [rax]
cmp rcx, 0
je 0x41007f
jmp 0x410089
mov eax, 0
jmp 0x410427
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x18
mov rcx, qword [rbp + 0x10]
add rcx, 0x7ad8
lea rdx, str.WTInfoA
mov r11, rdx
mov rdx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x10], rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x20
mov rcx, qword [rbp + 0x10]
add rcx, 0x7ad8
lea rdx, str.WTOpenA
mov r11, rdx
mov rdx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x18], rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov rcx, qword [rbp - 0x18]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x28
mov rcx, qword [rbp + 0x10]
add rcx, 0x7ad8
lea rdx, str.WTClose
mov r11, rdx
mov rdx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x20], rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov rcx, qword [rbp - 0x20]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x30
mov rcx, qword [rbp + 0x10]
add rcx, 0x7ad8
lea rdx, str.WTEnable
mov r11, rdx
mov rdx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x28], rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov rcx, qword [rbp - 0x28]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x38
mov rcx, qword [rbp + 0x10]
add rcx, 0x7ad8
lea rdx, str.WTPacket
mov r11, rdx
mov rdx, qword [rcx]
mov r10, rdx
mov qword [rbp - 0x30], rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov rcx, qword [rbp - 0x30]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x18
movabs rcx, 0
mov r8, rcx
mov ecx, 0
mov r11, rcx
mov ecx, 0
mov r10, rcx
mov qword [rbp - 0x38], rax
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0x38]
mov r11, qword [r11]
call r11
cmp eax, 0
je 0x410217
jmp 0x410221
mov eax, 0
jmp 0x410427
movabs rax, 0xac
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0xe4]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x18
lea rcx, [rbp - 0xe4]
mov r8, rcx
mov ecx, 0
mov r11, rcx
mov ecx, 0x190
mov r10, rcx
mov qword [rbp - 0xf0], rax
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0xf0]
mov r11, qword [r11]
call r11
movabs rax, 0x10
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x100]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x18
lea rcx, [rbp - 0x100]
mov r8, rcx
mov ecx, 0xf
mov r11, rcx
mov ecx, 0x64
mov r10, rcx
mov qword [rbp - 0x108], rax
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0x108]
mov r11, qword [r11]
call r11
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 0x10
mov ecx, dword [rbp - 0xfc]
mov dword [rax], ecx
mov eax, 0x5c0
mov dword [rbp - 0xa4], eax
mov eax, dword [rbp - 0xbc]
or eax, 4
mov dword [rbp - 0xbc], eax
mov eax, 0
mov dword [rbp - 0xa0], eax
mov eax, 0x5c0
mov dword [rbp - 0x9c], eax
mov eax, dword [rbp - 0x98]
mov dword [rbp - 0x94], eax
mov eax, 0
mov dword [rbp - 0x78], eax
mov eax, 0
mov dword [rbp - 0x74], eax
mov eax, 0
mov r10, rax
mov rcx, r10
call sub.user32.dll_GetSystemMetrics
mov dword [rbp - 0x6c], eax
mov eax, 1
mov r10, rax
mov rcx, r10
call sub.user32.dll_GetSystemMetrics
mov ecx, 0
sub ecx, eax
mov dword [rbp - 0x68], ecx
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 8
mov rcx, qword [rbp + 0x10]
add rcx, 0x7ad8
add rcx, 0x20
mov rdx, qword [rbp + 0x10]
add rdx, 0x348
mov qword [rbp - 0x110], rax
mov eax, 0
mov r8, rax
lea rax, [rbp - 0xe4]
mov r11, rax
mov rax, qword [rdx]
mov r10, rax
mov qword [rbp - 0x118], rcx
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0x118]
mov r11, qword [r11]
call r11
mov rcx, qword [rbp - 0x110]
mov qword [rcx], rax
mov rax, qword [rbp + 0x10]
add rax, 0x7ad8
add rax, 8
mov rcx, qword [rax]
cmp rcx, 0
je 0x410418
jmp 0x410422
mov eax, 0
jmp 0x410427
mov eax, 1
leave
ret