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

Disassembly:
push 0xffffffffffffffff
push 0x436196
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], ebx
call fcn.004113b0
mov dword [esp + 0x68], eax
mov ecx, 1
mov byte [eax + 0x45], cl
mov eax, dword [esp + 0x68]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x68]
mov dword [eax], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 8], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x264], ecx
push ebx
mov ebp, 7
push 0x439e24
lea esi, [esp + 0xb8]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], bx
call fcn.00401d80
mov byte [esp + 0x264], 2
push ebx
push 0x439e24
lea esi, [esp + 0x160]
mov dword [esp + 0x178], ebp
mov dword [esp + 0x174], ebx
mov word [esp + 0x164], bx
call fcn.00401d80
mov byte [esp + 0x264], 3
push ebx
mov esi, 0xf
push 0x43a36a
lea ecx, [esp + 0x10c]
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
call fcn.00401b50
mov byte [esp + 0x264], 4
push ebx
push 0x43a36a
lea ecx, [esp + 0x128]
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
call fcn.00401b50
mov byte [esp + 0x264], 5
push ebx
push 0x43a36a
lea ecx, [esp + 0x144]
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
call fcn.00401b50
mov byte [esp + 0x264], 6
push ebx
push 0x43a36a
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.00401b50
mov byte [esp + 0x264], 7
push ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
push 0x43a36a
lea ecx, [esp + 0xd4]
call fcn.00401b50
add edi, 0x1ec
push edi
mov ebx, str.TcpIPDogL.dr
lea esi, [esp + 0x30]
mov byte [esp + 0x268], 8
mov dword [esp + 0x88], edi
call fcn.00402310
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x26c], 9
call fcn.00401a50
mov eax, 8
mov byte [esp + 0x264], al
cmp dword [esp + 0x44], eax
jb 0x40ab8e
mov edx, dword [esp + 0x30]
push edx
call fcn.0041f829
add esp, 4
push ebx
lea eax, [esp + 0x124]
push eax
sub esp, 0x1c
mov dword [esp + 0x40], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
mov edi, 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xf8]
lea ebp, [esp + 0x114]
mov word [ecx + 4], bx
call fcn.00401a50
call fcn.00412070
lea ecx, [esp + 0x6c]
add esp, 0x1c
push ecx
mov edx, ebp
lea ecx, [esp + 0x164]
call fcn.00417120
add esp, 0x28
cmp dword [eax + 0x14], 1
seta byte [esp + 0x17]
cmp dword [esp + 0x44], 0x10
jb 0x40ac09
mov edx, dword [esp + 0x30]
push edx
call fcn.0041f829
add esp, 4
cmp byte [esp + 0x17], bl
lea esi, [esp + 0x158]
je 0x40ac1f
push 0xc
push str.TcpIPDogL.dr
jmp 0x40ac26
push 0xd
push str.TcpIPDogL.dll
call fcn.00401d80
push 0xa
push str.DrMain.exe
lea esi, [esp + 0x17c]
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov word [esp + 0x180], bx
call fcn.00401d80
mov byte [esp + 0x264], 0xa
push 0xc
push str.DrUpdate.exe
lea esi, [esp + 0x198]
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1ac], ebx
mov word [esp + 0x19c], bx
call fcn.00401d80
mov byte [esp + 0x264], 0xb
push 0xc
push str.DrClient.exe
lea esi, [esp + 0x1b4]
mov dword [esp + 0x1cc], edi
mov dword [esp + 0x1c8], ebx
mov word [esp + 0x1b8], bx
call fcn.00401d80
mov byte [esp + 0x264], 0xc
push 0xa
push str.DrCopy.exe
lea esi, [esp + 0x1d0]
mov dword [esp + 0x1e8], edi
mov dword [esp + 0x1e4], ebx
mov word [esp + 0x1d4], bx
call fcn.00401d80
mov byte [esp + 0x264], 0xd
push 0xb
push str.DrConfigure
lea esi, [esp + 0x1ec]
mov dword [esp + 0x204], edi
mov dword [esp + 0x200], ebx
mov word [esp + 0x1f0], bx
call fcn.00401d80
mov byte [esp + 0x264], 0xe
push 0xb
push str.DrResources
lea esi, [esp + 0x208]
mov dword [esp + 0x220], edi
mov dword [esp + 0x21c], ebx
mov word [esp + 0x20c], bx
call fcn.00401d80
mov byte [esp + 0x264], 0xf
push 0x11
push str.drcomrulesvr.drsc
lea esi, [esp + 0x224]
mov dword [esp + 0x23c], edi
mov dword [esp + 0x238], ebx
mov word [esp + 0x228], bx
call fcn.00401d80
mov byte [esp + 0x264], 0x10
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x160]
lea ecx, [esp + 0x240]
mov dword [esp + 0x258], edi
mov dword [esp + 0x254], ebx
mov word [esp + 0x244], bx
call fcn.00401a50
mov eax, dword [esp + 0x84]
push eax
mov ebx, str.DrUpdate.exe
lea esi, [esp + 0x30]
mov byte [esp + 0x268], 0x11
call fcn.00402310
add esp, 4
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [esp + 0xb8]
mov byte [esp + 0x26c], 0x12
call fcn.00401a50
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], 8
jb 0x40ae04
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041f829
add esp, 4
push edi
lea edx, [esp + 0x124]
push edx
sub esp, 0x1c
mov dword [esp + 0x40], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push edi
lea eax, [esp + 0xf8]
lea ebp, [esp + 0x114]
lea ebx, [esp + 0x184]
mov word [ecx + 4], di
call fcn.00401a50
call fcn.00412070
lea eax, [esp + 0x6c]
add esp, 0x1c
push eax
mov edx, ebp
mov ecx, ebx
call fcn.00417120
add esp, 0x28
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x270], 0x13
call fcn.00401960
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], 0x10
jb 0x40ae97
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041f829
add esp, 4
mov eax, 1
cmp dword [esp + 0xfc], eax
jae 0x40aeac
mov dword [esp + 0x80], eax
lea esi, [esp + 0x174]
mov ebp, 8
jmp 0x40aec2
xor edi, edi
lea edx, [esp + 0x2c]
push edx
mov eax, esi
call fcn.00412540
add esp, 4
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xb8]
mov byte [esp + 0x26c], 0x14
call fcn.00401a50
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], 8
jb 0x40af04
mov eax, dword [esp + 0x30]
push eax
call fcn.0041f829
add esp, 4
push 0xffffffffffffffff
mov ebx, 7
push edi
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
call fcn.00401a50
mov byte [esp + 0x264], 0x15
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
call fcn.00401a50
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x68]
push edx
lea ebx, [esp + 0x34]
mov byte [esp + 0x26c], 0x16
call fcn.0040fa70
mov edi, 8
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x60], edi
jb 0x40af8c
mov eax, dword [esp + 0x4c]
push eax
call fcn.0041f829
add esp, 4
xor eax, eax
cmp dword [esp + 0x44], edi
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
jb 0x40afb2
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041f829
add esp, 4
add esi, 0x1c
sub ebp, 1
jne 0x40aec0
mov edx, dword [esp + 0x68]
mov ebp, dword [edx]
lea edi, [esp + 0x64]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov esi, dword [esp + 0x68]
xor ebx, ebx
cmp edi, ebx
je 0x40afe2
lea eax, [esp + 0x64]
cmp edi, eax
je 0x40afe7
call fcn.0041fb40
cmp ebp, esi
je 0x40b3fa
push ebx
push 0x43a36a
lea ecx, [esp + 0xd4]
call fcn.00401b50
push 0xa
push str.DrCopy.exe
lea esi, [esp + 0x9c]
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
call fcn.00401d80
lea ecx, [esp + 0x2c]
push ecx
mov eax, esi
mov byte [esp + 0x268], 0x17
call fcn.00412540
add esp, 4
mov esi, eax
cmp edi, ebx
mov byte [esp + 0x264], 0x18
jne 0x40b058
call fcn.0041fb40
cmp ebp, dword [edi + 4]
jne 0x40b062
call fcn.0041fb40
cmp dword [esi + 0x18], 8
mov edi, dword [esi + 0x14]
lea ecx, [ebp + 0x28]
jb 0x40b073
mov esi, dword [esi + 4]
jmp 0x40b076
add esi, 4
mov eax, dword [ecx + 0x14]
push esi
call fcn.00402490
mov esi, eax
neg esi
sbb esi, esi
mov edi, 8
add esi, 1
cmp dword [esp + 0x44], edi
jb 0x40b0a0
mov edx, dword [esp + 0x30]
push edx
call fcn.0041f829
add esp, 4
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0xac], edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jb 0x40b0d2
mov eax, dword [esp + 0x98]
push eax
call fcn.0041f829
add esp, 4
mov ecx, dword [esp + 0x20]
cmp ebp, dword [ecx + 4]
jne 0x40b0e0
call fcn.0041fb40
mov edx, dword [esp + 0x84]
add ebp, 0x28
push ebp
push edx
lea edi, [esp + 0x34]
call fcn.004023c0
add esp, 8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x26c], 0x19
call fcn.00401a50
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], 8
jb 0x40b12b
mov eax, dword [esp + 0x30]
push eax
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x80], ebx
push esi
lea edi, [esp + 0xd0]
lea ebp, [esp + 0x140]
lea eax, [esp + 0xb4]
je 0x40b2be
lea ecx, [esp + 0x20]
push ecx
sub esp, 0x1c
mov dword [esp + 0x3c], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov dword [esp + 0x64], ebx
mov word [ecx + 4], bx
call fcn.00401a50
call fcn.00412070
lea edx, [esp + 0x6c]
add esp, 0x1c
push edx
mov edx, edi
mov ecx, ebp
lea ebx, [esp + 0x148]
call fcn.004174f0
add esp, 0x28
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x270], 0x1a
call fcn.00401960
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], 0x10
jb 0x40b1d4
mov eax, dword [esp + 0x30]
push eax
call fcn.0041f829
add esp, 4
xor ebx, ebx
cmp dword [esp + 0xe0], ebx
jbe 0x40b1f6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x9c]
call fcn.00401960
push ebx
lea edx, [esp + 0xec]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x10c]
call fcn.004104c0
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x7c]
movzx edx, word [esp + 0x7a]
movzx eax, word [esp + 0x78]
push ecx
movzx ecx, word [esp + 0x7a]
push edx
movzx edx, word [esp + 0x7a]
push eax
movzx eax, word [esp + 0x7c]
push ecx
push edx
push eax
push 0x43be3c
push 0x20
push 0x20
push 0x445de8
call fcn.0041f84a
push 0x445de8
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
add esp, 0x20
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x10c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401960
lea esi, [esp + 0x48]
call fcn.004120d0
add esp, 0x1c
mov esi, 8
mov byte [esp + 0x264], 0x1c
cmp dword [eax + 0x18], esi
jb 0x40b344
mov eax, dword [eax + 4]
jmp 0x40b347
lea ecx, [esp + 0x124]
push ecx
sub esp, 0x1c
mov dword [esp + 0x3c], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
mov word [ecx + 4], bx
call fcn.00401a50
call fcn.00412070
lea edx, [esp + 0x6c]
add esp, 0x1c
push edx
mov edx, edi
mov ecx, ebp
call fcn.00417120
add esp, 0x28
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x270], 0x1b
call fcn.00401960
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], 0x10
jb 0x40b1d6
mov eax, dword [esp + 0x30]
push eax
call fcn.0041f829
add esp, 4
jmp 0x40b1d6
add eax, 4
cmp dword [esp + 0xc8], esi
mov ecx, dword [esp + 0xb4]
jae 0x40b35e
lea ecx, [esp + 0xb4]
push eax
push ecx
push str.UpdateCtrl::GrantAllChksum:__s___s_.
push 4
call fcn.004154c0
add esp, 0x10
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], esi
jb 0x40b38a
mov eax, dword [esp + 0x30]
push eax
call fcn.0041f829
add esp, 4
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x45], bl
je 0x40b3a5
call fcn.0041fb40
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jmp 0x40afd0
mov ecx, dword [edx + 8]
cmp byte [ecx + 0x45], bl
jne 0x40b3cc
mov eax, dword [ecx]
cmp byte [eax + 0x45], bl
jne 0x40b3bd
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], bl
je 0x40b3b4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ebp, ecx
jmp 0x40afd0
mov eax, dword [edx + 4]
cmp byte [eax + 0x45], bl
jne 0x40b3eb
jmp 0x40b3da
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 8]
jne 0x40b3eb
mov dword [esp + 0x24], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], bl
je 0x40b3d6
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov ebp, eax
jmp 0x40afd0
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x7c]
movzx eax, word [esp + 0x7a]
movzx ecx, word [esp + 0x78]
push edx
movzx edx, word [esp + 0x7a]
push eax
movzx eax, word [esp + 0x7a]
push ecx
movzx ecx, word [esp + 0x7c]
push edx
push eax
push ecx
push 0x43be3c
push 0x20
push 0x20
push 0x445de8
call fcn.0041f84a
push 0x445de8
push str.___s__
push 0x104
push 0x104
push 0x445be0
call fcn.0041f84a
add esp, 0x20
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x128]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401960
lea esi, [esp + 0x48]
call fcn.004120d0
add esp, 0x1c
mov esi, 8
mov byte [esp + 0x264], 0x1d
cmp dword [eax + 0x18], esi
jb 0x40b4a3
mov eax, dword [eax + 4]
jmp 0x40b4a6
add eax, 4
push eax
push str.UpdateCtrl::GrantAllChksum:_total___s_.
push 4
call fcn.004154c0
add esp, 0xc
mov byte [esp + 0x264], 0x11
cmp dword [esp + 0x44], esi
jb 0x40b4d1
mov eax, dword [esp + 0x30]
push eax
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x11c], 0x10
mov ecx, dword [esp + 0x108]
jae 0x40b4e9
lea ecx, [esp + 0x108]
mov ebp, dword [esp + 0x88]
mov ebx, ebp
call fcn.004138e0
push fcn.004018f0
push 8
push 0x1c
lea ecx, [esp + 0x180]
push ecx
mov dword [esp + 0x9c], 1
mov byte [esp + 0x274], 8
call fcn.0041ff4f
mov esi, 0x10
cmp dword [esp + 0xe4], esi
jb 0x40b53e
mov edx, dword [esp + 0xd0]
push edx
call fcn.0041f829
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x100], esi
mov edi, 0xf
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
jb 0x40b573
mov eax, dword [esp + 0xec]
push eax
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x154], esi
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x40b5a1
mov ecx, dword [esp + 0x140]
push ecx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x138], esi
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
jb 0x40b5cf
mov edx, dword [esp + 0x124]
push edx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0x11c], esi
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x40b5fd
mov eax, dword [esp + 0x108]
push eax
call fcn.0041f829
add esp, 4
mov dword [esp + 0x11c], edi
mov edi, 8
cmp dword [esp + 0x170], edi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
jb 0x40b630
mov ecx, dword [esp + 0x15c]
push ecx
call fcn.0041f829
add esp, 4
cmp dword [esp + 0xc8], edi
mov esi, 7
mov dword [esp + 0x170], esi
mov dword [esp + 0x16c], ebx
mov word [esp + 0x15c], bx
jb 0x40b664
mov edx, dword [esp + 0xb4]
push edx
call fcn.0041f829
add esp, 4
lea eax, [esp + 0x64]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
mov byte [esp + 0x264], bl
call fcn.00410390
mov eax, ebp
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0041f134
add esp, 0x254
ret 4