Function at 0x43c040
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 0x100]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], edi
call fcn.00410170
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x84]
call fcn.00410170
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov ebx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xfc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
cmp eax, 0xffffffff
jne 0x43c115
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x43c115
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x43c113
mov eax, dword [esi + 0x100]
test eax, eax
je 0x43c113
mov eax, dword [eax + 0x170]
jmp 0x43c115
mov eax, ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0xa0], ecx
cmp eax, ecx
je 0x43c141
mov dword [esp + 0x3c], ecx
cmp eax, 1
je 0x43c149
mov dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
push edi
lea edx, [esp + 0x48]
push edx
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x190]
mov ecx, edi
call eax
test eax, eax
je 0x43c183
cmp dword [edi + 0x210], 0
je 0x43c183
mov ecx, dword [esp + 0x44]
lea edx, [ecx + ecx]
mov dword [esp + 0x20], edx
jmp 0x43c18b
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x34], eax
cmp ecx, 0xffffffff
jne 0x43c1c5
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x43c1c5
mov ecx, dword [eax + 0x70]
mov ecx, dword [ecx + 0x34]
cmp dword [ecx + 0x5c], 0
je 0x43c1c0
mov eax, 1
jmp 0x43c1c7
mov eax, dword [eax + 0x34]
jmp 0x43c1c7
mov eax, ecx
cmp dword [esp + 0x30], 4
mov dword [esp + 0x28], eax
jne 0x43c1df
cmp eax, 4
jne 0x43c1df
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0xfc]
mov ecx, dword [esp + 0x1c]
cmp eax, 8
jne 0x43c215
cmp dword [ecx + 0x90], 0
jne 0x43c1ff
mov dword [esp + 0x20], 0
cmp eax, 8
jne 0x43c215
cmp dword [esp + 0x3c], 0
jne 0x43c215
mov edx, dword [ecx + 0x110]
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x14], 0
je 0x43c2e2
mov eax, dword [ecx + 0x80]
mov ecx, dword [esp + 0x70]
add eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add eax, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_SetRect]
push ecx
push ebx
push edx
push eax
lea eax, [esp + 0x64]
push eax
call edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x70]
push edx
lea eax, [ebx - 0x13]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x84]
push ecx
call edi
cmp dword [esp + 0x30], 1
jne 0x43c295
lea edx, [esp + 0x3c]
push edx
mov edi, esi
call fcn.0043ee60
mov ecx, eax
mov dword [esp + 0x18], 1
call fcn.00401300
test eax, eax
je 0x43c295
mov bl, 1
jmp 0x43c297
xor bl, bl
test byte [esp + 0x18], 1
je 0x43c2ac
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x3c]
call fcn.00407f90
test bl, bl
je 0x43c2e2
lea eax, [esp + 0x3c]
push eax
mov edi, esi
call fcn.0043ee60
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00415f10
mov edx, 0xffffffed
sub edx, dword [eax]
lea ecx, [esp + 0x3c]
add dword [esp + 0x5c], edx
call fcn.00407f90
jmp 0x43c2e5
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 0x198]
call edx
mov ebx, eax
test ebx, ebx
jne 0x43c305
lea edi, [esp + 0x24]
call fcn.00440490
mov edi, dword [ebp + 0xc]
cmp dword [esp + 0x2c], 5
jne 0x43c32f
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
or dword [esp + 0x18], 2
mov ecx, eax
call fcn.00401320
mov byte [esp + 0x17], 1
test al, al
je 0x43c334
mov byte [esp + 0x17], 0
test byte [esp + 0x18], 2
je 0x43c349
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x40]
call fcn.00407f90
cmp byte [esp + 0x17], 0
je 0x43c63e
mov eax, dword [esp + 0x1c]
add eax, 0xf8
mov dword [esp + 0x84], vtable.CWizFontDC.0
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xffffffff
je 0x43c3a0
test edi, edi
je 0x43c3a0
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
test eax, eax
je 0x43c3a0
mov dword [esp + 0x8c], eax
cmp dword [ebp + 0x14], 0
mov byte [esp + 0xa0], 1
je 0x43c3d7
push 1
push 0x576b58
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call fcn.00416010
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax + 0xa]
mov dword [esp + 0x60], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [ebp + 0x14]
neg ebx
sbb ebx, ebx
push eax
and ebx, 0xfffff800
add ebx, 0x800
or ebx, 0x8000
push ebx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
push edi
call edx
cmp dword [esp + 0x30], 1
jne 0x43c43f
lea eax, [esp + 0x40]
push eax
mov edi, esi
call fcn.0043ee60
or dword [esp + 0x18], 4
mov ecx, eax
call fcn.00401300
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x43c43f
mov bl, 1
jmp 0x43c441
xor bl, bl
test byte [esp + 0x18], 4
je 0x43c451
lea ecx, [esp + 0x40]
call fcn.00407f90
test bl, bl
je 0x43c4a0
lea ecx, [esp + 0x40]
push ecx
mov edi, esi
call fcn.0043ee60
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edi
mov byte [esp + 0xa4], 2
mov edi, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
push edi
mov edi, dword [ebp + 0x14]
push edi
push 2
lea edi, [esp + 0x84]
push edi
push eax
mov eax, dword [ebp + 0xc]
push eax
call edx
lea ecx, [esp + 0x40]
call fcn.00407f90
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x84]
mov byte [esp + 0xa0], 0
call fcn.0043f580
cmp dword [ebp + 0x14], 0
je 0x43c52c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x58]
add ecx, 0xfffffff6
push ecx
add edx, 0xfffffffe
push edx
push eax
lea ecx, [esp + 0x94]
call fcn.00410170
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
mov esi, eax
push 0x810
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
call fcn.004139f0
push eax
push esi
mov ecx, edi
call fcn.00415fb0
lea ecx, [esp + 0x40]
call fcn.00407f90
mov esi, dword [ebp + 8]
push 0
mov ecx, esi
call fcn.00410030
jmp 0x43c75d
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00415f10
lea ecx, [esp + 0x40]
call fcn.00407f90
mov eax, dword [esp + 0x34]
add eax, 0x14
cdq
push 0
sub eax, edx
sar eax, 1
push eax
push 0
push 0
lea ecx, [esp + 0x94]
call fcn.00410170
push 0x57a578
lea ecx, [esp + 0x40]
call fcn.00402df0
push 0x410
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 4
call fcn.004139f0
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00415fb0
lea ecx, [esp + 0x3c]
call fcn.00407f90
lea ecx, [esp + 0x74]
call fcn.00415ef0
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.00415ef0
mov edx, dword [esp + 0x1c]
add edi, eax
add edi, dword [edx + 0x80]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
lea edi, [edi + eax + 0x20]
call fcn.0040fe70
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.0040fe70
lea ecx, [ebx + eax + 0x13]
mov eax, dword [esp + 0x48]
cmp eax, ecx
jle 0x43c5fb
mov ecx, eax
jmp 0x43c616
lea ecx, [esp + 0x84]
call fcn.0040fe70
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.0040fe70
lea ecx, [ebx + eax + 0x13]
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [edx + 0x80]
mov edx, dword [esp + 0x20]
lea eax, [eax + edx + 0x20]
cmp edi, eax
jg 0x43c637
mov edi, eax
push ecx
push edi
jmp 0x43c72f
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [ebp + 0x14]
neg ebx
sbb ebx, ebx
push edx
and ebx, 0xfffff800
add ebx, 0x800
or ebx, 0x8000
push ebx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x38]
push edx
push edi
call eax
cmp dword [esp + 0x30], 1
jne 0x43c6a3
lea ecx, [esp + 0x40]
push ecx
mov edi, esi
call fcn.0043ee60
or dword [esp + 0x18], 8
mov ecx, eax
call fcn.00401300
test eax, eax
je 0x43c6a3
mov bl, 1
jmp 0x43c6a5
xor bl, bl
test byte [esp + 0x18], 8
je 0x43c6b5
lea ecx, [esp + 0x40]
call fcn.00407f90
test bl, bl
je 0x43c701
lea edx, [esp + 0x40]
push edx
mov edi, esi
call fcn.0043ee60
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edi
mov byte [esp + 0xa4], 5
mov edi, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
push edi
mov edi, dword [ebp + 0x14]
push edi
push 2
lea edi, [esp + 0x84]
push edi
push eax
mov eax, dword [ebp + 0xc]
push eax
call edx
lea ecx, [esp + 0x40]
call fcn.00407f90
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x78]
call fcn.00415ef0
lea ecx, [esp + 0x58]
mov edi, eax
call fcn.00415ef0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edi, eax
add edi, dword [ecx + 0x80]
lea eax, [edi + edx + 0x20]
push eax
lea ecx, [esp + 0x54]
call fcn.0040fcd0
mov ecx, dword [esi + 0x160]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test ecx, ecx
jle 0x43c749
mov edx, ecx
mov esi, dword [esi + 0x164]
test esi, esi
jle 0x43c755
mov eax, esi
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
lea ecx, [esp + 0x24]
call fcn.00407f90
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10