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

Disassembly:
push 0xffffffffffffffff
push 0x47264a
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x492afc]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492afc]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xbc]
mov esi, dword [esp + 0xb8]
mov ebp, ecx
push str.XPath
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
call fcn.004027e0
mov eax, dword [esp + 0x20]
xor edi, edi
mov ecx, 8
mov dword [esp + 0xb0], edi
mov word [esp + 0x40], cx
cmp eax, edi
je 0x41a4f4
mov edx, dword [eax]
mov dword [esp + 0x48], edx
jmp 0x41a4f8
mov dword [esp + 0x48], edi
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebp + 0x734]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x5c]
push str.SelectionLanguage
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x140]
push ecx
call eax
test eax, eax
jl 0x41aa17
xor ecx, ecx
mov eax, esi
mov word [esp + 0x8c], cx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], edi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x41a557
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x90]
call fcn.004156b0
mov ebx, 0x2f
push ebx
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0xb8], 1
call fcn.00417e20
push 0x478cf8
lea ecx, [esp + 0x20]
call fcn.004027e0
mov dword [esp + 0x18], edi
mov ebp, dword [ebp + 0x734]
mov esi, dword [ebp]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 3
add esi, 0x94
call fcn.00416b10
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
push ebp
call ecx
xor edx, edx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], dx
push 1
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 4
mov byte [esp + 0x23], dl
mov dword [esp + 0x40], ebx
call fcn.00414aa0
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
je 0x41a8cd
mov dword [esp + 0x34], ebx
jmp 0x41a634
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41a88e
cmp eax, edi
je 0x41a88e
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x94]
call fcn.00419c90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 5
call fcn.004150a0
mov edi, 8
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x68], edi
jb 0x41a68f
mov edx, dword [esp + 0x54]
push edx
call fcn.00422bf7
add esp, 4
push 0x480f1c
lea ecx, [esp + 0x34]
call fcn.004027e0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 6
call fcn.00402230
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0xb0], 4
cmp esi, ebx
je 0x41a6fd
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41a6f9
mov eax, dword [esi]
cmp eax, ebx
je 0x41a6e0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41a6f0
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], edi
jae 0x41a70e
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
call fcn.004027e0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 7
call fcn.00402230
mov esi, dword [esp + 0x2c]
mov byte [esp + 0xb0], 4
cmp esi, ebx
je 0x41a776
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41a772
mov eax, dword [esi]
cmp eax, ebx
je 0x41a759
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41a769
push eax
call fcn.00422bf7
add esp, 4
push esi
call fcn.00422bf7
add esp, 4
mov dword [esp + 0x2c], ebx
cmp byte [esp + 0x17], 0
jne 0x41a971
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0x734]
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
add esi, 0x94
call fcn.00416b10
mov ebp, dword [esp + 0x3c]
mov edx, dword [eax]
mov eax, dword [esi]
push ebp
push edx
push edi
call eax
test eax, eax
jl 0x41a7b6
cmp dword [ebp], ebx
jne 0x41a85c
mov edi, 8
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x38]
mov ecx, 0x16
mov word [esp + 0x40], cx
lea edx, [ecx - 0x15]
mov ecx, dword [eax + 0x734]
mov eax, dword [esp + 0x70]
mov byte [esp + 0xb0], 8
cmp dword [esp + 0x84], edi
jae 0x41a7ef
lea eax, [esp + 0x70]
mov esi, dword [ecx]
lea edi, [esp + 0x24]
push edi
mov edi, dword [esp + 0x44]
push ebx
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xe0]
push ecx
call eax
test eax, eax
jl 0x41a97a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push ebp
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
test eax, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0xb0], 4
jl 0x41a986
mov byte [esp + 0x17], 1
cmp eax, ebx
je 0x41a85c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp]
mov ebp, dword [esp + 0x18]
cmp ebp, esi
je 0x41a88a
cmp esi, ebx
je 0x41a877
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov ebp, dword [esp + 0x18]
cmp ebp, ebx
je 0x41a884
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov ebp, esi
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x28]
push 1
lea edi, [eax + 1]
push edi
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x94]
call fcn.00414aa0
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x41a630
cmp dword [esp + 0x84], 8
jb 0x41a8cd
mov edx, dword [esp + 0x70]
push edx
call fcn.00422bf7
mov ebp, dword [esp + 0x1c]
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov word [esp + 0x70], ax
mov byte [esp + 0xb0], 2
cmp ebp, esi
je 0x41a8fe
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
lea ecx, [esp + 0x1c]
call fcn.00402910
cmp dword [esp + 0xa0], 8
jb 0x41a921
mov eax, dword [esp + 0x8c]
push eax
call fcn.00422bf7
add esp, 4
xor ecx, ecx
mov word [esp + 0x8c], cx
lea ecx, [esp + 0x20]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], esi
call fcn.00402910
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004424e7
add esp, 0xa0
ret 8
mov ebp, dword [esp + 0x3c]
jmp 0x41a7bb
mov eax, dword [esp + 0x24]
mov byte [esp + 0xb0], 4
cmp eax, ebx
je 0x41a992
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edi, 8
cmp dword [esp + 0x84], edi
jb 0x41a9ad
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00422bf7
add esp, 4
mov eax, dword [esp + 0x18]
xor edx, edx
lea esi, [edx + 7]
mov byte [esp + 0xb0], 2
mov word [esp + 0x70], dx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
cmp eax, ebx
je 0x41a9dd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.00402910
cmp dword [esp + 0xa0], edi
jb 0x41a9ff
mov eax, dword [esp + 0x8c]
push eax
call fcn.00422bf7
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
lea ecx, [esp + 0x20]
call fcn.00402910
xor eax, eax
jmp 0x41a947