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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41ab71
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x423018]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x423018]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push str.Manager_Polling_Thread
mov dword [esp + 0x50], ebx
mov dword [ebx + 0x7c], edi
call dword [0x41b228]
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x403a78
push 0x8007000e
call fcn.00405f30
mov dword [esp + 0xb0], edi
mov eax, dword [ebx + 0x58]
push eax
lea ecx, [esp + 0x84]
push 0x41b8c0
push ecx
call dword [0x41b188]
add esp, 0xc
lea edx, [esp + 0x80]
push edx
call dword [0x41b0b4]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00401fc0
cmp eax, edi
jge 0x403ac4
push eax
call fcn.00405f30
push edi
push edi
call dword [0x41b278]
push edi
push edi
push edi
mov esi, eax
call dword [0x41b050]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jne 0x403b00
call dword [0x41b27c]
mov edx, dword [esp + 0x2c]
push edx
mov dword [ebx + 0x7c], 2
call dword [0x41b220]
mov eax, esi
jmp 0x4040eb
push 0
push 0
push 0
push 0
lea eax, [ebx + 0x68]
push eax
push edi
call dword [0x41b054]
test eax, eax
jne 0x403b40
push edi
call dword [0x41b034]
call dword [0x41b27c]
mov eax, dword [esp + 0x2c]
push eax
mov dword [ebx + 0x7c], 3
call dword [0x41b220]
mov eax, 0x80004005
jmp 0x4040eb
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov eax, dword [ebx + 0x78]
push 0xffffffffffffffff
mov dword [esp + 0x74], ecx
push 0
lea ecx, [esp + 0x78]
push ecx
push 4
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
call dword [0x41b058]
mov esi, eax
xor eax, eax
cmp esi, eax
mov dword [esp + 0x24], esi
je 0x4040c1
jmp 0x403b8b
mov esi, dword [esp + 0x24]
xor eax, eax
cmp esi, 1
je 0x403c63
cmp esi, 2
je 0x403c63
cmp esi, 3
jne 0x4040ca
mov edx, dword [ebx + 0x24]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x24], eax
lea esi, [ebx + 0x24]
lea eax, [esp + 0x24]
push eax
push esi
call ecx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x403bd3
mov edx, dword [esp + 0x20]
push edx
call dword [0x41b0b0]
jmp 0x4040a0
jle 0x4040a0
mov eax, dword [esp + 0x20]
push eax
call dword [0x41b0b0]
mov eax, dword [esp + 0x24]
imul eax, eax, 0xe10
cdq
lea ecx, [esp + 0x64]
push ecx
mov edi, eax
mov ebx, edx
call dword [0x41b1ac]
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
xor eax, eax
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push esi
call ecx
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x54]
mov eax, dword [esp + 0x68]
sbb eax, dword [esp + 0x58]
push 0
sub edx, edi
push 0x989680
sbb eax, ebx
push eax
push edx
call fcn.004191f0
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0
add ecx, 0x68
push 0
push ecx
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x41b054]
mov ebx, dword [esp + 0x4c]
jmp 0x4040a0
mov edx, dword [ebx + 0x24]
mov ecx, dword [edx + 0x7c]
mov dword [esp + 0x38], eax
lea edi, [ebx + 0x24]
lea eax, [esp + 0x38]
push eax
push edi
call ecx
mov eax, dword [esp + 0x38]
test ax, ax
je 0x403c92
cmp ax, 1
je 0x403c8d
cmp ax, 2
jne 0x403caf
cmp esi, 1
jne 0x403caf
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
push 0x10
push edi
call eax
push 0x10
lea ecx, [ebx + 8]
push ecx
call fcn.00413400
jmp 0x4040a0
mov edx, dword [ebx]
mov ecx, dword [edx]
lea eax, [esp + 0x50]
push eax
push 0x41bdac
push ebx
mov dword [esp + 0x5c], 0
call ecx
test eax, eax
jl 0x40407c
push 0x14
call fcn.00418922
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x403d10
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x4c]
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi], edx
mov dword [esi + 8], ecx
mov edx, dword [esi + 4]
push edx
call dword [0x41b220]
mov dword [esi + 4], 0
mov dword [esp + 0x34], esi
xor eax, eax
jmp 0x403d14
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
push ecx
push edi
mov byte [esp + 0x27], 1
call edx
mov eax, dword [esp + 0x30]
imul eax, eax, 0xe10
cdq
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x44]
mov esi, edx
push eax
mov dword [esp + 0x64], esi
call dword [0x41b1ac]
mov ecx, dword [edi]
add esp, 4
xor eax, eax
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x30]
push edi
call eax
cmp dword [esp + 0x24], 2
jne 0x403d76
mov byte [esp + 0x13], 1
jmp 0x403da5
cmp dword [esp + 0x30], 0
je 0x403da0
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
sbb eax, dword [esp + 0x40]
cmp eax, esi
jl 0x403da0
jg 0x403d99
cmp ecx, dword [esp + 0x5c]
jb 0x403da0
mov byte [esp + 0x13], 1
jmp 0x403da5
mov byte [esp + 0x13], 0
xor esi, esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
push ecx
push 0x41b880
push 0x17
push esi
push 0x41b870
call dword [0x41b270]
mov dword [esp + 0x18], esi
cmp byte [esp + 0x13], 0
mov byte [esp + 0xb0], 2
je 0x403ec8
cmp dword [esp + 0x14], esi
je 0x403e05
mov esi, str.PollData_starts
lea edi, [esp + 0x18]
call fcn.004021c0
mov eax, dword [ebx + 0x54]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x28]
push 1
push ecx
call eax
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x28]
call fcn.0040cc00
test eax, eax
jge 0x403e30
cmp dword [esp + 0x14], 0
mov byte [esp + 0x1f], 0
je 0x403f6a
mov esi, str.PollData_failed
jmp 0x403f4a
cmp dword [esp + 0x14], 0
je 0x403e83
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x84]
push 0x41b8c0
push edx
call dword [0x41b188]
add esp, 0xc
mov esi, str.PollData_succeeded._typeOfNewData
lea edi, [esp + 0x18]
call fcn.004021c0
lea esi, [esp + 0x80]
call fcn.0040c3e0
mov eax, dword [ebx + 0x54]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x28]
push 1
push ecx
call eax
cmp word [esp + 0x38], 2
jge 0x403e9c
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + 0x80]
lea eax, [ebx + 0x24]
push 2
push eax
call edx
cmp dword [ebx + 0x50], 0
jne 0x403ea9
mov ecx, ebx
call fcn.004034c0
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x403f6a
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push edx
call fcn.00413a10
jmp 0x403f6a
cmp dword [esp + 0x14], 0
je 0x403ef4
mov esi, str.CheckPatchAndExtensionsOnly_starts
lea edi, [esp + 0x18]
call fcn.004021c0
mov eax, dword [ebx + 0x54]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x28]
push 1
push ecx
call eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.0040d060
cmp dword [esp + 0x14], 0
je 0x403f6a
test eax, eax
jl 0x403f45
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x84]
push 0x41b8c0
push ecx
call dword [0x41b188]
add esp, 0xc
mov esi, str.CheckPatchAndExtensionsOnly_succeeded._typeOfNewData
lea edi, [esp + 0x18]
call fcn.004021c0
lea esi, [esp + 0x80]
call fcn.0040c3e0
jmp 0x403f53
mov esi, str.CheckPatchAndExtensionsOnly_failed
lea edi, [esp + 0x18]
call fcn.004021c0
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x28]
push 1
push ecx
call eax
mov edi, dword [esp + 0x34]
test edi, edi
je 0x403f81
push edi
call fcn.0040c560
push edi
call fcn.004187d4
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403f99
mov dword [esp + 0x14], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x24], 2
jne 0x403fab
mov eax, dword [esp + 0x20]
push eax
call dword [0x41b0b0]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [ebx + 8]
push edx
call fcn.00413400
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x40405b
cmp byte [esp + 0x1f], 0
jne 0x403ffe
mov eax, dword [esp + 0x28]
cmp eax, 0x200
je 0x403ffe
cmp eax, 0x100
je 0x403ffe
mov eax, 0xcf1dcc00
mov edx, 0xfffffffb
jmp 0x40403f
cmp byte [esp + 0x13], 0
push 0xffffffffffffffff
je 0x40401b
mov eax, ecx
shl eax, 4
sub eax, ecx
add eax, eax
add eax, eax
cdq
push 0xdc3cba00
push edx
jmp 0x404039
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
sbb ecx, dword [esp + 0x4c]
add eax, dword [esp + 0x60]
push 0xff676980
adc ecx, dword [esp + 0x68]
push ecx
push eax
call fcn.004191f0
push 0
push 0
push 0
lea ecx, [ebx + 0x68]
push 0
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
push ecx
push eax
mov dword [ecx + 4], edx
call dword [0x41b054]
push esi
call dword [0x41b220]
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4040a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4040a0
push 0
push 0
push 0
lea eax, [ebx + 0x68]
push 0
push eax
mov dword [eax], 0xcf1dcc00
mov dword [eax + 4], 0xfffffffb
mov eax, dword [esp + 0x34]
push eax
call dword [0x41b054]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x78]
push ecx
push 4
call dword [0x41b058]
test eax, eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jne 0x403b85
mov dword [ebx + 0x7c], 1
jmp 0x4040d1
mov dword [ebx + 0x7c], 4
push edi
call dword [0x41b034]
call dword [0x41b27c]
mov edx, dword [esp + 0x2c]
push edx
call dword [0x41b220]
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004187da
mov esp, ebp
pop ebp
ret