Function at 0x549530
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x872db2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea esi, [ebx + 0x7f8]
xor edi, edi
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], edi
call fcn.005d4d10
mov eax, dword [0x98b454]
mov dword [esp + 0x24], eax
mov dword [esp + 0xe8], edi
mov dword [esp + 0x28], eax
push 0x1151
lea ecx, [esp + 0x28]
mov byte [esp + 0xec], 1
call fcn.008325e8
push 0x1152
lea ecx, [esp + 0x2c]
call fcn.008325e8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push 1
mov ecx, esi
call fcn.005e3200
mov ebp, 0x9670a8
mov dword [esp + 0x30], ebp
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x38]
push 0x9b5220
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
call fcn.00831f5f
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0xec], 2
call fcn.008325e8
push 0x9b5220
lea ecx, [esp + 0x20]
call fcn.00831f5f
lea eax, [esp + 0x54]
mov byte [esp + 0xe8], 3
push eax
call fcn.005f121f
mov esi, 2
push 0x9b5220
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], esi
call fcn.00831f5f
mov eax, dword [esp + 0x50]
mov byte [esp + 0xe8], 4
test eax, eax
je 0x549644
push eax
lea ecx, [esp + 0x24]
call fcn.008325e8
mov eax, dword [esp + 0x38]
cmp eax, 6
ja case.default.0x549651
jmp dword [eax*4 + 0x549cbc]
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
call fcn.008325e8
push 0x90
call fcn.008325b4
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0xe8], 5
je 0x5496e4
mov eax, dword [esp + 0x1c]
mov word [esp + 0x98], 8
push eax
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0xa0], eax
jne 0x5496b5
test edi, edi
je 0x5496b5
push 0x8007000e
call fcn.006a9910
or dword [esp + 0x10], 1
push 0
push 0
push 0
push 0
lea edx, [esp + 0xa8]
push 0
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x104], 6
call fcn.005e32d0
mov ebp, eax
jmp 0x5496e6
xor ebp, ebp
mov al, byte [esp + 0x10]
mov dword [esp + 0xe8], 4
test al, 1
je 0x54971c
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x98]
and esi, 0xfffffffe
push ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x54971c
push eax
call fcn.006a9910
push 0
push ebp
lea ecx, [ebx + 0x7f8]
call fcn.005e23d0
jmp 0x549bc0
push 0x90
call fcn.008325b4
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x54978d
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
or edi, esi
mov word [esp + 0xc4], 3
mov dword [esp + 0xcc], edx
mov dword [esp + 0x10], edi
push 0
push 0
push 0
push 0
lea ecx, [esp + 0xd4]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x104], 9
call fcn.005e32d0
mov ebp, eax
jmp 0x54978f
xor ebp, ebp
mov al, byte [esp + 0x10]
mov dword [esp + 0xe8], 4
test al, 2
je 0x5497c5
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc4]
and esi, 0xfffffffd
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x5497c5
push eax
call fcn.006a9910
push 0
push ebp
lea ecx, [ebx + 0x7f8]
call fcn.005e23d0
jmp 0x549bc0
push 0x90
call fcn.008325b4
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xe8], 0xb
je 0x549996
mov ecx, dword [esp + 0x44]
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, eax
call fcn.005e38a0
jmp 0x549998
mov edi, dword [esp + 0x44]
push 0x98
test edi, edi
jne 0x54985e
call fcn.008325b4
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xe8], 0xc
je 0x549943
push 0
push 0
lea ecx, [esp + 0x5c]
push 0
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, eax
call fcn.005e3e10
jmp 0x549945
call fcn.008325b4
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0xe8], 0xd
je 0x549943
push edi
mov ecx, ebx
call fcn.0054c2e0
fstp qword [esp + 0xd4]
push 0
push 0
lea eax, [esp + 0xdc]
push 0
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xf0], 0
call fcn.005e3e10
jmp 0x549945
mov edi, dword [esp + 0x44]
push 0x98
test edi, edi
jne 0x5498f3
call fcn.008325b4
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xe8], 0xe
je 0x549943
push 0
push 0
lea edx, [esp + 0x5c]
push 0
lea ecx, [esp + 0x20]
push edx
push ecx
mov ecx, eax
call fcn.005e3e10
jmp 0x549945
call fcn.008325b4
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0xe8], 0xf
je 0x549943
push edi
mov ecx, ebx
call fcn.0054c360
fstp qword [esp + 0xb8]
push 0
push 0
lea edx, [esp + 0xc0]
push 0
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
mov dword [esp + 0xd4], 0
call fcn.005e3e10
jmp 0x549945
xor eax, eax
mov ebp, eax
push 0
push ebp
lea ecx, [ebx + 0x7f8]
mov byte [esp + 0xf0], 4
call fcn.005e23d0
jmp 0x549bc0
push 0x98
call fcn.008325b4
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xe8], 0x10
je 0x549996
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, eax
call fcn.00552ce0
jmp 0x549998
xor eax, eax
push 0
push eax
lea ecx, [ebx + 0x7f8]
mov byte [esp + 0xf0], 4
mov ebp, eax
call fcn.005e23d0
jmp 0x549bc0
push 0x90
call fcn.008325b4
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xe8], 0x11
je 0x5499e9
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, eax
call fcn.005e4170
jmp 0x5499eb
xor eax, eax
push 0
push eax
lea ecx, [ebx + 0x7f8]
mov byte [esp + 0xf0], 4
mov ebp, eax
call fcn.005e23d0
mov dword [esp + 0x60], 0x11f6
mov dword [esp + 0x64], 0x11
mov dword [esp + 0x68], 0x11f7
mov dword [esp + 0x6c], 0x12
mov dword [esp + 0x70], 0x11f8
mov dword [esp + 0x74], 0x13
mov dword [esp + 0x78], 0x11f9
mov dword [esp + 0x7c], 0x14
mov dword [esp + 0x80], 0x11fa
mov dword [esp + 0x84], 0x15
mov dword [esp + 0x88], 0x11fb
mov dword [esp + 0x8c], 0x16
mov dword [esp + 0x90], 0x11fc
mov dword [esp + 0x94], 0x17
lea edi, [esp + 0x64]
mov ebx, 7
push 0x9b5220
lea ecx, [esp + 0x30]
call fcn.00831f5f
mov eax, dword [edi - 4]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0xec], 0x12
call fcn.008325e8
push 0x90
call fcn.008325b4
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov byte [esp + 0xe8], 0x13
je 0x549b37
push 0x9b5220
mov word [esp + 0xac], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0xb0], eax
jne 0x549b03
mov ecx, 0x9b5220
test ecx, ecx
je 0x549b03
push 0x8007000e
call fcn.006a9910
mov eax, dword [esp + 0x10]
or al, 4
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 0
lea edx, [esp + 0xb8]
push 0
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x104], 0x14
call fcn.005e32d0
mov esi, eax
jmp 0x549b39
xor esi, esi
mov al, byte [esp + 0x10]
mov dword [esp + 0xe8], 0x12
test al, 4
je 0x549b6e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xa8]
and al, 0xfb
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x549b6e
push eax
call fcn.006a9910
mov edx, dword [esp + 0x34]
mov eax, dword [edi]
push 0
push esi
lea ecx, [edx + 0x7f8]
mov dword [esi + 0x1c], eax
call fcn.005e23d0
push 1
mov ecx, esi
call fcn.005cd820
push 0
mov ecx, esi
mov dword [eax + 0x98], 0
call fcn.005cdd20
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 4
call fcn.00831eeb
add edi, 8
dec ebx
jne 0x549a8e
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x549bd5
push 0
push eax
mov ecx, ebp
call fcn.005e37b0
mov eax, dword [ebx + 0xc90]
test eax, eax
jne 0x549be6
mov eax, dword [esp + 0x48]
push eax
jmp 0x549be8
push 1
mov ecx, ebp
call fcn.005cdd20
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xe8], 3
mov dword [ebp + 0x1c], ecx
lea ecx, [esp + 0x20]
call fcn.00831eeb
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 2
call fcn.00831eeb
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 1
call fcn.00831eeb
mov ebp, dword [esp + 0x30]
jmp 0x549c62
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], 3
call fcn.00831eeb
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 2
call fcn.00831eeb
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 1
call fcn.00831eeb
add ebp, 0x1c
cmp ebp, str.CSDOutsendConfigPropPageDlg::GetData_lpszField__s__data__s_
mov dword [esp + 0x30], ebp
jl 0x5495c2
mov eax, dword [ebx + 0xc90]
lea ecx, [esp + 0x28]
mov dword [ebx + 0xb40], eax
mov byte [esp + 0xe8], 0
call fcn.00831eeb
lea ecx, [esp + 0x24]
mov dword [esp + 0xe8], 0xffffffff
call fcn.00831eeb
mov ecx, dword [esp + 0xe0]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret