Function at 0x403780
Capabilities:
Check os version
Create thread
Resolve function by parsing pe exports
Set current directory
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x434284]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
call sub.DrReport.dll_CreateDrReport
add esp, 4
mov dword [0x436aec], eax
call sub.KERNEL32.dll_GetCurrentProcessId
push 0x208
mov dword [0x435c80], eax
lea eax, [esp + 0x76]
push ebx
push eax
mov word [esp + 0x7c], bx
call fcn.0041b5e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x74]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x70]
push 0x5c
push edx
call fcn.004170b8
add esp, 8
cmp eax, ebx
jne 0x403813
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004170e8
mov esp, ebp
pop ebp
ret 0x10
mov word [eax], bx
lea eax, [esp + 0x70]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403820
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
mov esi, 0x435c84
call fcn.00404580
push 1
push 0x42cab4
mov ecx, esi
call fcn.004044b0
cmp dword [0x435c9c], 8
mov eax, dword [0x435c88]
jae 0x403860
mov eax, 0x435c88
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.00401500
call fcn.0040a360
cmp eax, 0xffffffff
je 0x403964
mov ecx, dword [0x435fe0]
mov esi, dword [ecx]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x2c], esp
mov byte [ecx + 4], bl
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4038a0
sub eax, edi
push eax
push esi
call fcn.00404290
lea esi, [esp + 0x38]
call fcn.00412a00
add esp, 0x1c
cmp dword [eax + 0x18], 8
jb 0x4038c9
mov esi, dword [eax + 4]
jmp 0x4038cc
lea esi, [eax + 4]
mov ebx, 1
lea edi, [esp + 0x38]
call fcn.004018f0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4038e9
mov eax, dword [eax + 4]
jmp 0x4038ec
add eax, 4
push esi
push eax
push 0xffffffffffffffff
lea edx, [esp + 0x7c]
push 0x105
push edx
call fcn.00416b5f
add esp, 0x14
cmp dword [esp + 0x50], edi
jb 0x403915
mov eax, dword [esp + 0x3c]
push eax
call fcn.00416abb
add esp, 4
xor esi, esi
cmp dword [esp + 0x34], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
jb 0x40393b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00416abb
add esp, 4
push 0x1000
push esi
lea edx, [esp + 0x78]
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x436aec]
cmp ecx, esi
je 0x40395d
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x42cab8
call fcn.0040a3d0
add esp, 4
push str.DrUpdate.exe
call fcn.0040a3d0
add esp, 4
call fcn.00411a80
push ebx
push 0x42c114
lea esi, [esp + 0x5c]
mov dword [0x435d94], 2
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call fcn.00404580
push 0x435c84
mov ebx, str.DrConfigure
lea esi, [esp + 0x20]
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
call fcn.004040a0
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x4039e8
mov eax, dword [esp + 0x20]
push eax
call fcn.00416abb
add esp, 4
push 0x2e4
call fcn.00416ad9
add esp, 4
test eax, eax
je 0x403a01
push eax
call fcn.00406d70
jmp 0x403a03
xor eax, eax
cmp dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x58]
mov dword [0x436af0], eax
jae 0x403a16
lea ecx, [esp + 0x58]
test ecx, ecx
lea ebx, [eax + 0x1d4]
je 0x403d3b
call fcn.004136a0
test al, al
je 0x403d3b
mov ecx, ebx
call fcn.004137e0
test al, al
je 0x403d3b
call fcn.00406fb0
push 0x435c84
mov ebx, str.DrLinkConfigure
lea esi, [esp + 0x3c]
call fcn.00404a50
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [esp + 0x50], edi
jae 0x403a69
lea eax, [esp + 0x3c]
xor ebx, ebx
push ebx
push eax
call fcn.00416c86
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
add esp, 8
cmp eax, 0xffffffff
jne 0x403af5
call esi
push 1
xor edx, edx
xor ecx, ecx
cmp al, 6
push ebx
jb 0x403acd
push str._c_netsh_advfirewall_firewall_delete_rule_name_Dr.COM_Auth_Client_
push str.cmd.exe
call fcn.00409cf0
push 1
push ebx
push str._c_netsh_advfirewall_firewall_add_rule_name_Dr.COM_Auth_Client__dirout__actionallow_protocolUDP_localport61440_remoteport61440
push str.cmd.exe
xor edx, edx
xor ecx, ecx
call fcn.00409cf0
push 1
push ebx
push str._c_netsh_advfirewall_firewall_add_rule_name_Dr.COM_Auth_Client__dirin_actionallow_protocolUDP_localport61440_remoteport61440
push str.cmd.exe
xor edx, edx
xor ecx, ecx
call fcn.00409cf0
add esp, 0x30
jmp 0x403af5
push str._c_netsh_firewall_delete_portopening_protocolUDP_port61440
push str.cmd.exe
call fcn.00409cf0
push 1
push ebx
push str._c_netsh_firewall_add_portopening_protocolUDP_port61440_name_Dr.COM_Auth_Client__modeENABLE
push str.cmd.exe
xor edx, edx
xor ecx, ecx
call fcn.00409cf0
add esp, 0x20
push ebx
push ebx
push ebx
push 0x403270
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x436af8], eax
call esi
movzx edi, al
call esi
movzx ecx, ah
mov dword [esp + 0x18], ecx
call esi
cmp eax, 0x80000000
jae 0x403b2a
shr eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x403b2e
mov dword [esp + 0x10], ebx
call fcn.00415ad0
push eax
push str.___s__
push 0x104
push 0x104
push 0x436b88
call fcn.00416b5f
sub esp, 8
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.00411f60
lea esi, [esp + 0x38]
call fcn.00412a00
add esp, 0x1c
cmp dword [eax + 0x18], 8
jb 0x403b72
mov eax, dword [eax + 4]
jmp 0x403b75
add eax, 4
mov edx, dword [0x435c80]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push edx
push ecx
push esi
push edi
push eax
push str.Info_:_CPU___s__System__Major__d__Minor__d__Build__d___Pid__d_.
push 1
call fcn.00415b20
add esp, 0x1c
cmp dword [esp + 0x34], 8
jb 0x403bab
mov edx, dword [esp + 0x20]
push edx
call fcn.00416abb
add esp, 4
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jne 0x403c7d
lea eax, [esp + 0x18]
push eax
push 0x42a4cc
push 1
push ebx
push 0x42a3fc
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x403c6d
cmp edi, 6
mov dword [esp + 0x14], ebx
ja 0x403c09
jne 0x403d19
cmp dword [esp + 0x10], 0x1770
ja 0x403c09
cmp esi, ebx
jbe 0x403d22
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push str.ROOTSecurityCenter2
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x403c5d
mov ecx, dword [esp + 0x14]
push str.AntiVirusProduct
push ecx
call fcn.00401dd0
mov edx, dword [esp + 0x1c]
push str.FirewallProduct
push edx
call fcn.00401dd0
mov eax, dword [esp + 0x24]
push str.AntiSpywareProduct
push eax
call fcn.00401dd0
add esp, 0x18
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x403c6d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403c7d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
mov eax, 0x435c84
mov word [ecx + 4], bx
call fcn.004040a0
call fcn.00402770
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
mov eax, 0x435c84
mov word [ecx + 4], bx
call fcn.004040a0
call fcn.00402800
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
mov eax, 0x435c84
mov word [ecx + 4], bx
call fcn.004040a0
call fcn.00402a90
add esp, 0x1c
call fcn.004071d0
cmp dword [esp + 0x50], 8
jb 0x403d07
mov eax, dword [esp + 0x3c]
push eax
call fcn.00416abb
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jmp 0x403d9e
cmp edi, 5
jb 0x403c2d
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push str.ROOTSecurityCenter
jmp 0x403c1d
mov ebx, 2
lea edi, [esp + 0x1c]
call fcn.004018f0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x403d58
mov eax, dword [eax + 4]
jmp 0x403d5b
add eax, 4
push str.DrConfigure
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
push 0x105
push ecx
call fcn.00416b5f
add esp, 0x14
cmp dword [esp + 0x34], esi
jb 0x403d88
mov edx, dword [esp + 0x20]
push edx
call fcn.00416abb
add esp, 4
push 0x1000
push 0
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor ebx, ebx
call fcn.00407060
call fcn.00407780
call fcn.00411b50
mov eax, dword [0x436af8]
cmp eax, ebx
je 0x403e0c
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x403e0c
call fcn.00415ad0
push eax
push str.___s__
push 0x104
push 0x104
push 0x436b88
call fcn.00416b5f
add esp, 0x14
push str.TerminateThread___CreateLinkThread
push 1
call fcn.00415b20
mov edx, dword [esp + 0x18]
mov eax, dword [0x436af8]
add esp, 8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x436aec]
cmp ecx, ebx
je 0x403e1c
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x6c], 8
jb 0x403e36
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00416abb
add esp, 4
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004170e8
mov esp, ebp
pop ebp
ret 0x10