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

Disassembly:
push 0xffffffffffffffff
push 0x46c42a
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x48cc50]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48cc50]
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.00402630
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 0x4130b4
mov edx, dword [eax]
mov dword [esp + 0x48], edx
jmp 0x4130b8
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 0x4135d7
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 0x413117
sub eax, ecx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x90]
call fcn.0040c9a0
mov ebx, 0x2f
push ebx
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0xb8], 1
call fcn.00410140
push str.root
lea ecx, [esp + 0x20]
call fcn.00402630
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.0040dee0
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.0040c040
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
je 0x41348d
mov dword [esp + 0x34], ebx
jmp 0x4131f4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41344e
cmp eax, edi
je 0x41344e
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x94]
call fcn.004124b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 5
call fcn.0040c4b0
mov edi, 8
mov byte [esp + 0xb0], 4
cmp dword [esp + 0x68], edi
jb 0x41324f
mov edx, dword [esp + 0x54]
push edx
call fcn.0041b0cc
add esp, 4
push 0x47c17c
lea ecx, [esp + 0x34]
call fcn.00402630
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 6
call fcn.00402150
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0xb0], 4
cmp esi, ebx
je 0x4132bd
lea ecx, [esi + 8]
push ecx
call dword [0x472340]
cmp eax, ebx
jne 0x4132b9
mov eax, dword [esi]
cmp eax, ebx
je 0x4132a0
push eax
call dword [0x472360]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4132b0
push eax
call fcn.0041b0cc
add esp, 4
push esi
call fcn.0041b0cc
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], edi
jae 0x4132ce
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
call fcn.00402630
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 7
call fcn.00402150
mov esi, dword [esp + 0x2c]
mov byte [esp + 0xb0], 4
cmp esi, ebx
je 0x413336
lea eax, [esi + 8]
push eax
call dword [0x472340]
cmp eax, ebx
jne 0x413332
mov eax, dword [esi]
cmp eax, ebx
je 0x413319
push eax
call dword [0x472360]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x413329
push eax
call fcn.0041b0cc
add esp, 4
push esi
call fcn.0041b0cc
add esp, 4
mov dword [esp + 0x2c], ebx
cmp byte [esp + 0x17], 0
jne 0x413531
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0x734]
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
add esi, 0x94
call fcn.0040dee0
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 0x413376
cmp dword [ebp], ebx
jne 0x41341c
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 0x4133af
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 0x41353a
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 0x413546
mov byte [esp + 0x17], 1
cmp eax, ebx
je 0x41341c
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 0x41344a
cmp esi, ebx
je 0x413437
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov ebp, dword [esp + 0x18]
cmp ebp, ebx
je 0x413444
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.0040c040
mov dword [esp + 0x28], eax
cmp eax, 0xffffffff
jne 0x4131f0
cmp dword [esp + 0x84], 8
jb 0x41348d
mov edx, dword [esp + 0x70]
push edx
call fcn.0041b0cc
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 0x4134be
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
lea ecx, [esp + 0x1c]
call fcn.00402760
cmp dword [esp + 0xa0], 8
jb 0x4134e1
mov eax, dword [esp + 0x8c]
push eax
call fcn.0041b0cc
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.00402760
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.0043aa16
add esp, 0xa0
ret 8
mov ebp, dword [esp + 0x3c]
jmp 0x41337b
mov eax, dword [esp + 0x24]
mov byte [esp + 0xb0], 4
cmp eax, ebx
je 0x413552
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov edi, 8
cmp dword [esp + 0x84], edi
jb 0x41356d
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0041b0cc
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 0x41359d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.00402760
cmp dword [esp + 0xa0], edi
jb 0x4135bf
mov eax, dword [esp + 0x8c]
push eax
call fcn.0041b0cc
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.00402760
xor eax, eax
jmp 0x413507