Function at 0x424b40
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4beb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
xor ebx, ebx
mov esi, ecx
push ebx
push edi
push eax
call fcn.00423c30
mov ebp, eax
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xa0], ebx
cmp ebp, ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
je 0x424bb9
cmp dword [ebp + 0x38], 0xf
jne 0x424ba0
or ecx, 0xffffffff
or eax, 0xffffffff
push ebx
push ecx
push eax
mov ecx, ebp
call fcn.004300c0
cmp dword [ebp + 0x38], 0x16
jne 0x424bb9
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x424bb9
mov edx, dword [esp + 0x40]
push edi
push edx
push ebx
call fcn.0040ead0
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x424bd6
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x424bd6
mov eax, dword [esp + 0x40]
push edi
push eax
push ebx
call fcn.0040ead0
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x424bf4
cmp dword [ecx + 0x38], 0xf
jne 0x424bf4
or edx, 0xffffffff
or eax, 0xffffffff
push ebx
push edx
push eax
call fcn.004300c0
mov eax, dword [esi + 0xa8]
mov dword [esi + 0xd8], 0
test eax, eax
je 0x424cab
push 0
push 0
push 1
push eax
push ebx
mov ecx, esi
call fcn.00426370
mov ecx, dword [esi + 0xa8]
add ecx, 0x9c
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x424c87
cmp ebp, dword [esi + 0xb8]
jne 0x424c87
push 0
push 0
push 0
push eax
push ebx
mov ecx, esi
call fcn.00426370
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xa8]
add eax, 0x9c
add ecx, 0x9c
push eax
push ecx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
push 2
lea edx, [esp + 0x20]
push 2
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebx + 0x1c]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
call edi
jmp 0x424cb1
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0xac]
xor ecx, ecx
cmp eax, ecx
je 0x424d0f
push ecx
push ecx
push 1
push eax
push ebx
mov ecx, esi
call fcn.00426370
mov edx, dword [esi + 0xac]
push 2
add edx, 0x9c
push 2
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
call edi
xor ecx, ecx
cmp ebp, ecx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb8], ecx
jne 0x424d2c
xor eax, eax
jmp 0x42501c
push 1
mov ecx, ebp
call fcn.0042f4d0
mov dword [esi + 0xb8], 0
mov eax, dword [ebp + 0x38]
cmp eax, 5
je 0x424d51
cmp eax, 1
je 0x424d51
cmp eax, 0xb
jne 0x424d8e
lea edx, [ebp + 0x9c]
push 2
push 2
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
call edi
mov eax, dword [ebp + 0x1a8]
test eax, eax
jle 0x425008
cmp eax, 6
jne 0x424dc6
mov eax, dword [esp + 0x48]
test eax, eax
je 0x424db8
mov edx, dword [esp + 0x4c]
mov dword [edx], 6
jmp 0x42501a
push 0
push 0
push str.Unable_to_exit
call fcn.004b74cf
cmp dword [ebp + 0x1a8], 5
jne 0x424ee1
mov eax, dword [esp + 0x4c]
add ebp, 0x1b0
mov ecx, ebp
mov dword [eax], 5
call fcn.004ad1aa
mov ecx, ebp
call fcn.004ad15e
push 0xa
lea ecx, [esp + 0x4c]
push 0
push ecx
mov ecx, ebp
call fcn.004acc5e
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], 0
call fcn.004b2cf4
mov eax, dword [esp + 0x48]
mov edi, str.NEW_WINDOW
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x424e3f
test cl, cl
je 0x424e3b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x424e3f
add eax, 2
add edi, 2
test cl, cl
jne 0x424e1b
xor eax, eax
jmp 0x424e44
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x424f19
mov eax, dword [ebp]
cmp dword [eax - 8], 0xa
je 0x424ecc
push 1
push 0x2c
lea ecx, [esp + 0x48]
call fcn.004ac982
push 1
lea ecx, [esp + 0x1c]
push 0xa
push ecx
mov ecx, ebp
mov byte [esp + 0x40], 1
call fcn.004acc5e
mov edi, dword [esp + 0x40]
mov eax, dword [eax]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x424ea1
test cl, cl
je 0x424e9d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x424ea1
add eax, 2
add edi, 2
test cl, cl
jne 0x424e7d
xor eax, eax
jmp 0x424ea6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x18]
setne byte [esp + 0x3c]
call fcn.004b27ab
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call fcn.004b27ab
mov al, byte [esp + 0x3c]
test al, al
jne 0x424f19
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], 0xffffffff
call fcn.004b27ab
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x1a8]
cmp eax, 6
jg 0x424ef6
cmp eax, 0xd
jl 0x424f4a
cmp eax, 0x10
jg 0x424f4a
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x42501a
lea edx, [ebp + 0x1ac]
push edx
call fcn.004b28e4
jmp 0x42501a
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x424f30
mov eax, dword [esp + 0x10]
add eax, 0x1ac
push eax
call fcn.004b28e4
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], 0xffffffff
call fcn.004b27ab
mov eax, dword [esp + 0x10]
jmp 0x42501c
push eax
push ecx
lea eax, [ebp + 0x1b0]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004b2520
push ecx
lea edx, [ebp + 0x1ac]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [esp + 0x44], 2
call fcn.004b2520
mov ecx, esi
mov dword [esp + 0x40], 0xffffffff
call fcn.00425040
test ebx, ebx
mov edi, eax
je 0x425008
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str.CBK_ReturnVal
call fcn.004b2819
lea ecx, [ebx + 0x1f8]
call fcn.00421570
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str.CBK_ReturnVal
call fcn.004b2819
mov ecx, ebx
call fcn.0044eee0
mov esi, eax
test esi, esi
je 0x425008
push edi
lea eax, [esi + 0xac]
push 0x4e9e4c
push eax
call fcn.004ad14b
mov ecx, dword [ebx + 0x1c]
add esp, 0xc
add esi, 0x9c
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x42501a
push 0x4f77a0
call fcn.004b2934
mov eax, ebp
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x18