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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x87323d
push eax
mov dword fs:[0], esp
sub esp, 0x3c4
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x7e0], esi
je 0x54c481
push 0x23
push 0x11b1
push 0x1fe5
call fcn.0054e700
cmp eax, 6
jne 0x54c478
mov ecx, edi
call fcn.0054d990
jmp 0x54c481
cmp eax, 2
je 0x54cd84
push 0x9b5220
lea ecx, [esp + 0x20]
mov dword [edi + 0x7e8], esi
mov dword [edi + 0x7e4], 1
call fcn.00831f5f
push 0x967398
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3d8], esi
call fcn.00831f5f
push 0x9b5220
lea ecx, [esp + 0x28]
mov byte [esp + 0x3d8], 1
call fcn.00831f5f
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3d4], 2
push eax
push eax
push eax
lea eax, [esp + 0x30]
push str._s_files__._s_._s
push eax
call fcn.00826097
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
add esp, 0x14
push edi
push ecx
push 0x8006
push esi
push edx
push 1
lea ecx, [esp + 0xa8]
call fcn.00826a6e
lea ecx, [esp + 0x90]
mov byte [esp + 0x3d4], 3
call fcn.00826bd5
cmp eax, 1
jne 0x54cd26
push ebx
lea eax, [esp + 0xc]
push ebp
push eax
lea ecx, [esp + 0x9c]
call fcn.00826cbd
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov bl, 4
mov ecx, dword [ecx - 8]
mov edx, dword [eax - 8]
cmp ecx, edx
mov byte [esp + 0x3dc], bl
jl 0x54c598
mov eax, edx
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00825bb9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x3e4], 5
call fcn.005fc4b7
add esp, 8
cmp eax, esi
je 0x54c5b2
lea ecx, [esp + 0x18]
mov byte [esp + 0x3dc], bl
call fcn.00831eeb
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push eax
push edx
lea eax, [esp + 0x2c]
push str._s._s
push eax
call fcn.00826097
add esp, 0x10
jmp 0x54c5d0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.00832032
lea ecx, [esp + 0x18]
mov byte [esp + 0x3dc], bl
call fcn.00831eeb
lea ecx, [esp + 0x10]
mov byte [esp + 0x3dc], 3
call fcn.00831eeb
mov edx, dword [0x98b454]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x3dc], 7
cmp dword [eax - 8], esi
je 0x54c6c2
lea ecx, [esp + 0x50]
call fcn.008345b1
mov ecx, dword [esp + 0x24]
push esi
push esi
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3e8], 8
call fcn.008346e8
test eax, eax
je 0x54c6b1
mov edx, dword [0x98b454]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x3e0], 9
call fcn.008348cd
test eax, eax
je 0x54c697
mov bl, 0xa
lea ecx, [esp + 0x10]
push 0x9361b4
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00832190
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x3e0], bl
call fcn.00832318
lea ecx, [esp + 0x14]
mov byte [esp + 0x3dc], 9
call fcn.00831eeb
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
call fcn.008348cd
test eax, eax
jne 0x54c64f
lea ecx, [esp + 0x50]
call fcn.00834a20
lea ecx, [esp + 0x10]
mov byte [esp + 0x3dc], 8
call fcn.00831eeb
lea ecx, [esp + 0x50]
mov byte [esp + 0x3dc], 7
call fcn.008346a5
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x40], esi
call fcn.0063b010
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x3dc], 0xb
push ecx
lea ecx, [esp + 0x20]
call fcn.00617650
mov eax, dword [eax]
lea ecx, [esp + 0x64]
push eax
mov byte [esp + 0x3e0], 0xc
call fcn.0063bd20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3dc], 0xb
call fcn.00617ec0
lea ecx, [esp + 0x64]
call fcn.0063c400
push str.SDOutsendCfgs
lea ecx, [esp + 0x68]
call fcn.0063bf30
test eax, eax
je 0x54cc74
push 0x9b5220
lea ecx, [esp + 0x1c]
call fcn.00617650
push 0x9b5220
lea ecx, [esp + 0x14]
mov byte [esp + 0x3e0], 0xd
call fcn.00617650
push str.SDOutsendCfg
lea ecx, [esp + 0x68]
mov byte [esp + 0x3e0], 0xe
call fcn.0063c060
test eax, eax
je 0x54caf5
lea ecx, [esp + 0x64]
call fcn.0063c360
push str.CfgName
lea ecx, [esp + 0x68]
call fcn.0063c060
test eax, eax
je 0x54c7bf
lea edx, [esp + 0x44]
lea ecx, [esp + 0x64]
push edx
call fcn.0063c4f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e0], 0xf
call fcn.00618070
lea ecx, [esp + 0x44]
mov byte [esp + 0x3dc], 0xe
call fcn.00617ec0
push str.CfgContent
lea ecx, [esp + 0x68]
call fcn.0063c060
test eax, eax
je 0x54c802
lea eax, [esp + 0x48]
lea ecx, [esp + 0x64]
push eax
call fcn.0063c4f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3e0], 0x10
call fcn.00618070
lea ecx, [esp + 0x48]
mov byte [esp + 0x3dc], 0xe
call fcn.00617ec0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x54caed
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x54caed
push 0x9b5220
lea ecx, [esp + 0x20]
call fcn.00617650
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3dc], 0x11
push eax
lea esi, [edi + 0x7b4]
mov ebx, eax
call fcn.0082640b
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x54c877
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x54c877
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.005fd3f1
add esp, 8
test eax, eax
je 0x54c976
mov ebp, dword [ebp]
test ebp, ebp
jne 0x54c85b
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], eax
push ecx
push eax
mov ecx, esi
call fcn.00548130
mov ebp, eax
test ebp, ebp
jne 0x54c8de
mov eax, dword [esi + 4]
test eax, eax
jne 0x54c8aa
mov edx, dword [esi + 8]
push 1
push edx
mov ecx, esi
call fcn.00548050
mov ecx, esi
call fcn.005480c0
mov ecx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x3c]
push ecx
lea ecx, [ebp + 8]
mov dword [ebp + 4], eax
call fcn.006181a0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [edx + eax*4]
mov dword [ebp], ecx
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov dword [edx + eax*4], ebp
push ebx
lea ecx, [ebp + 0xc]
call fcn.006181a0
mov ecx, dword [edi + 0x78]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push edx
mov esi, eax
call fcn.00831f5f
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push esi
push 1
lea ecx, [edi + 0x5c]
mov byte [esp + 0x3f8], 0x12
call fcn.00828785
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3dc], 0x11
call fcn.00831eeb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3dc], 0xe
call fcn.00617ec0
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], 1
call fcn.0063c390
push str.SDOutsendCfg
lea ecx, [esp + 0x68]
call fcn.0063c060
test eax, eax
jne 0x54c773
jmp 0x54caf5
test ebp, ebp
je 0x54c877
add ebp, 0xc
lea ecx, [esp + 0x1c]
push ebp
call fcn.00618070
mov eax, dword [edi + 0x7e8]
test eax, eax
je 0x54ca0c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
mov dword [esp + 0x14], ecx
push edx
push eax
mov ecx, esi
mov ebx, eax
call fcn.00548130
mov ebp, eax
test ebp, ebp
jne 0x54c9fa
mov eax, dword [esi + 4]
test eax, eax
jne 0x54c9ca
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.00548050
mov ecx, esi
call fcn.005480c0
mov ecx, dword [esp + 0x38]
mov ebp, eax
push ebx
mov dword [ebp + 4], ecx
lea ecx, [ebp + 8]
call fcn.006181a0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + eax*4]
mov dword [ebp], ecx
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x38]
mov dword [edx + eax*4], ebp
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [ebp + 0xc]
call fcn.006181a0
jmp 0x54c939
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x54c939
push 0x23
push 0x11b1
push 0x1fe4
mov ecx, edi
call fcn.0054e700
cmp eax, 6
jne 0x54ca3e
mov dword [edi + 0x7e8], 1
jmp 0x54ca47
cmp eax, 2
je 0x54cad2
mov eax, dword [edi + 0x7e8]
test eax, eax
je 0x54cac3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], edx
push ecx
push eax
mov ecx, esi
mov ebx, eax
call fcn.00548130
mov ebp, eax
test ebp, ebp
jne 0x54cab6
mov eax, dword [esi + 4]
test eax, eax
jne 0x54ca86
mov edx, dword [esi + 8]
push 1
push edx
mov ecx, esi
call fcn.00548050
mov ecx, esi
call fcn.005480c0
mov ebp, eax
mov eax, dword [esp + 0x34]
push ebx
lea ecx, [ebp + 8]
mov dword [ebp + 4], eax
call fcn.006181a0
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + edx*4]
mov dword [ebp], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x34]
mov dword [ecx + edx*4], ebp
mov eax, dword [esp + 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.006181a0
mov dword [edi + 0x7e4], 0
jmp 0x54c939
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
mov byte [esp + 0x3dc], 0xe
call fcn.00617ec0
jmp 0x54caf5
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3dc], 0xd
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3dc], 0xb
call fcn.00617ec0
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x54cb31
push esi
push 0x11b1
push 0x1fec
jmp 0x54cc7f
cmp dword [esp + 0x28], esi
jne 0x54cc74
cmp dword [esp + 0x14], esi
je 0x54cc74
push esi
push 0x11b1
push 0x1feb
mov ecx, edi
call fcn.0054e700
mov ecx, edi
mov dword [edi + 0x7e0], 1
call fcn.00548810
mov eax, dword [edi + 0x78]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x54cc8d
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [edi + 0x5c]
call fcn.008288ab
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x3e0], 0x13
call fcn.00617650
mov bl, 0x14
push 0x9b5220
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e0], bl
call fcn.00617650
mov eax, dword [esp + 0x14]
mov byte [esp + 0x3dc], 0x15
push eax
mov ebp, eax
call fcn.0082640b
xor edx, edx
div dword [edi + 0x7bc]
mov eax, dword [edi + 0x7b8]
cmp eax, esi
je 0x54cc40
mov esi, dword [eax + edx*4]
test esi, esi
je 0x54cc40
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.005fd3f1
add esp, 8
test eax, eax
je 0x54cc06
mov esi, dword [esi]
test esi, esi
jne 0x54cbed
jmp 0x54cc40
test esi, esi
je 0x54cc40
add esi, 0xc
lea ecx, [esp + 0x1c]
push esi
call fcn.00618070
push 0
push 0
lea ecx, [esp + 0x24]
mov dword [edi + 0xc94], 1
call fcn.00618b80
push eax
mov ecx, edi
call fcn.00548f20
mov dword [edi + 0xc94], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3dc], bl
call fcn.00617ec0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3dc], 0x13
call fcn.00617ec0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3dc], 0xb
call fcn.00831eeb
jmp 0x54cc8d
push esi
push 0x11b1
push 0x1fea
mov ecx, edi
call fcn.0054e700
mov ecx, edi
call fcn.0054e140
lea ecx, [esp + 0x64]
mov byte [esp + 0x3dc], 7
call fcn.0063b0a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x3dc], 3
call fcn.00831eeb
lea ecx, [esp + 0x144]
mov byte [esp + 0x3dc], 0x16
call fcn.00831eeb
lea ecx, [esp + 0x98]
mov byte [esp + 0x3dc], 2
call fcn.0082d1f8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3dc], 1
call fcn.00831eeb
lea ecx, [esp + 0x20]
mov byte [esp + 0x3dc], 0
call fcn.00831eeb
lea ecx, [esp + 0x24]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.00831eeb
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x3c4]
mov dword fs:[0], ecx
add esp, 0x3d0
ret
lea ecx, [esp + 0x13c]
mov byte [esp + 0x3d4], 6
call fcn.00831eeb
lea ecx, [esp + 0x90]
mov byte [esp + 0x3d4], 2
call fcn.0082d1f8
lea ecx, [esp + 0x24]
mov byte [esp + 0x3d4], 1
call fcn.00831eeb
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d4], 0
call fcn.00831eeb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3d4], 0xffffffff
call fcn.00831eeb
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3d0
ret