Function at 0x417990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4873a0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4a2120]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x70], 2
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
mov edi, str.idHiddenSettings
call fcn.00416a60
mov edx, dword [ebp + 8]
push edx
call fcn.004186f0
cmp eax, esi
jl 0x417f17
mov ecx, dword [esp + 0x20]
cmp ecx, esi
je 0x417a22
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x48b65c
push ecx
call eax
cmp eax, esi
jl 0x417f17
mov ecx, dword [esp + 0x24]
cmp ecx, esi
je 0x417a3f
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [edx + 0x28]
call ecx
cmp eax, esi
jl 0x417f17
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x417c2d
push 1
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x44], esp
mov edi, esp
cmp eax, esi
jne 0x417a74
xor eax, eax
jmp 0x417a87
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [edi], eax
cmp dword [esp + 0x1c], esi
je 0x417a9d
cmp eax, esi
jne 0x417a9d
push 0x8007000e
call fcn.0040d500
call fcn.0040d850
add esp, 0xc
mov ebx, str.Settings_from_page:
lea esi, [esp + 0x38]
call fcn.00416540
mov edx, esi
push edx
lea eax, [esp + 0x34]
mov byte [esp + 0x6c], 3
mov edi, dword [esp + 0x14]
push eax
call fcn.00416980
push eax
lea ecx, [esp + 0x30]
push ecx
mov edi, 0x497d3c
mov byte [esp + 0x70], 4
call fcn.00416980
push eax
lea edx, [esp + 0x2c]
mov byte [esp + 0x6c], 5
mov edi, dword [esp + 0x1c]
push edx
call fcn.00416980
push eax
lea eax, [esp + 0x20]
push eax
mov edi, 0x497d38
mov byte [esp + 0x70], 6
call fcn.00416980
mov byte [esp + 0x68], 7
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x417b42
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x417b3a
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x417b42
push 0x8007000e
call fcn.0040d500
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a3a18]
je 0x417b71
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x417b71
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00431230
add esp, 4
mov eax, dword [esp + 0x28]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a3a18]
je 0x417b9a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x417b9a
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.00431230
add esp, 4
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a3a18]
je 0x417bc3
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x417bc3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.00431230
add esp, 4
mov eax, dword [esp + 0x30]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a3a18]
je 0x417bec
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x417bec
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.00431230
add esp, 4
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x38]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a3a18]
je 0x417c13
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x417c13
push esi
call fcn.00431230
add esp, 4
mov esi, dword [esp + 0x10]
call fcn.0041dcb0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esp + 0x18]
xor esi, esi
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x417f17
lea eax, [esp + 0x3c]
push eax
push 0x497478
push ebx
call fcn.00431663
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x417f17
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x3a
push edi
mov dword [esp + 0x1c], 0
call fcn.00434210
mov esi, eax
mov eax, edi
add esp, 8
mov dword [esp + 0x1c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417c82
sub eax, edx
mov ecx, esi
sar eax, 1
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x417c96
sub ecx, ebx
sar ecx, 1
cmp eax, ecx
jbe 0x417cb9
test esi, esi
je 0x417cb9
xor edx, edx
mov word [esi], dx
add esi, 2
mov dword [esp + 0x1c], esi
push 0
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x44], esp
mov ebx, esp
test esi, esi
jne 0x417ccf
mov dword [ebx], esi
jmp 0x417ce0
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x417a93
call fcn.0040d850
mov esi, dword [esp + 0x20]
add esp, 0xc
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x417cfd
cmp word [esi], 0x27
je 0x417d0b
cmp word [esi], 0x22
je 0x417d0b
xor ebx, ebx
mov dword [esp + 0x38], ebx
jmp 0x417d15
mov dword [esp + 0x38], 1
xor ebx, ebx
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417d30
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.00403a90
mov esi, dword [ebp + 8]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
add esi, 0x74
push eax
mov byte [esp + 0x70], 8
call fcn.0041aed0
mov byte [esp + 0x68], 2
cmp dword [esp + 0x58], 8
jb 0x417d7d
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0043069a
add esp, 4
cmp dword [esp + 0x38], ebx
je 0x417e46
cmp dword [esp + 0x1c], 0
push 1
lea edx, [esp + 0x18]
push edx
push ecx
mov dword [esp + 0x44], esp
mov ebx, esp
jne 0x417da4
mov dword [ebx], 0
jmp 0x417db9
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x417a93
call fcn.0040d850
add esp, 0xc
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417de0
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.00403a90
lea edx, [esp + 0x40]
push edx
mov ecx, esi
mov byte [esp + 0x6c], 9
call fcn.0040d9c0
mov ecx, dword [esp + 0x14]
mov edx, ecx
lea edi, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x417e14
sub edx, edi
sar edx, 1
push edx
push ecx
mov ecx, eax
call fcn.00403a90
mov byte [esp + 0x68], 2
cmp dword [esp + 0x58], 8
jb 0x417ef5
mov eax, dword [esp + 0x44]
push eax
jmp 0x417eed
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00431658
xor edx, edx
add esp, 4
cmp eax, 0xffffffff
mov eax, edi
mov word [esp + 0x44], dx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
lea edx, [eax + 2]
jne 0x417ea4
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417e70
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.00403a90
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0xa
call fcn.0040d9c0
push 1
push 0x497d84
jmp 0x417ed5
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417ea4
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.00403a90
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0xb
call fcn.0040d9c0
push ebx
push 0x496fb0
mov ecx, eax
call fcn.00403a90
mov byte [esp + 0x68], 2
cmp dword [esp + 0x58], 8
jb 0x417ef5
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0043069a
add esp, 4
lea edx, [esp + 0x3c]
push edx
push 0x497478
push 0
call fcn.00431663
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x417c59
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push ebx
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4