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

Disassembly:
push 0xffffffffffffffff
push 0x4a778f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
sbb eax, eax
add eax, 1
mov dword [esp + 0x28], eax
je 0x4338d5
lea eax, [esp + 0x18]
push eax
mov ecx, 0x4b4400
call fcn.0046c8c0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0046b5f0
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xfffffff4
lea edi, [ebp + 0x30]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x9c], 1
call fcn.004345c0
lea eax, [esi - 0x10]
mov byte [esp + 0x9c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x433936
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.Tahoma
call fcn.0046c8c0
mov dword [esp + 0x9c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0046b5f0
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xfffffff4
lea edi, [ebp + 0x30]
lea ebx, [esp + 0x1c]
mov byte [esp + 0x9c], 3
call fcn.004345c0
lea eax, [esi - 0x10]
mov byte [esp + 0x9c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x433942
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43396d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x2c]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp + 0x40]
sub edx, dword [ebp + 0x3c]
xor esi, esi
sar edx, 3
mov dword [esp + 0x18], esi
test edx, edx
jbe 0x433c26
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4339a6
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x40]
sub eax, dword [ebp + 0x3c]
sar eax, 3
cmp esi, eax
jb 0x4339b8
call fcn.0048b4bc
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ecx + esi*8]
lea esi, [ecx + esi*8]
sub eax, 0x10
call fcn.0046b5f0
mov edx, dword [esi + 4]
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
lea eax, [esp + 0x48]
mov ecx, ebx
mov edx, eax
mov dword [esp + 0x9c], 4
mov esi, 0x20
sub ecx, edx
lea edx, [esi + 0x7fffffde]
test edx, edx
je 0x433a11
movzx edx, word [eax + ecx]
test dx, dx
je 0x433a11
mov word [eax], dx
add eax, 2
sub esi, 1
jne 0x4339f1
jmp 0x433a15
test esi, esi
jne 0x433a18
sub eax, 2
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0xa0], 5
call edi
mov dword [esp + 0x24], eax
test eax, eax
jne 0x433a7a
add ebx, 0xfffffff0
mov dword [esp + 0x9c], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433a5b
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp + 0x40]
sub ecx, dword [ebp + 0x3c]
mov eax, dword [esp + 0x18]
inc eax
sar ecx, 3
mov dword [esp + 0x18], eax
cmp eax, ecx
jb 0x4339a2
jmp 0x433c26
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x433a8d
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x48]
lea eax, [ebp + 0x48]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x433a97
sub ecx, esi
sar ecx, 1
lea edx, [esp + 0x48]
push edx
mov ebx, ecx
call fcn.0046c7e0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], eax
call edi
lea edx, [esp + 0x2c]
mov esi, 0x2bc
push edx
mov dword [ebp], eax
mov dword [esp + 0x40], esi
call edi
mov dword [ebp + 4], eax
lea eax, [esp + 0x2c]
mov ebx, 0x190
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], 0xfffffff2
call edi
lea ecx, [esp + 0x2c]
push ecx
mov dword [ebp + 8], eax
mov dword [esp + 0x40], esi
call edi
lea edx, [esp + 0x2c]
push edx
mov dword [ebp + 0xc], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], 0xfffffff1
call edi
mov dword [ebp + 0x10], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x40], esi
call edi
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x28]
mov dword [ebp + 0x14], eax
mov dword [esp + 0x2c], 0xffffffee
test ebx, ebx
jne 0x433b4e
push 0x4b441c
mov eax, SysReAllocString
lea ecx, [ebx + 0x20]
lea edx, [esp + 0x4c]
call fcn.0046a070
lea ecx, [esp + 0x2c]
push ecx
call edi
mov dword [ebp + 0x18], eax
test ebx, ebx
jne 0x433b74
push 0x4b441c
mov eax, SysReAllocString
lea ecx, [ebx + 0x20]
lea edx, [esp + 0x4c]
call fcn.0046a070
jmp 0x433b78
mov dword [esp + 0x3c], esi
lea edx, [esp + 0x2c]
push edx
call edi
mov dword [ebp + 0x1c], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x40], 0x190
mov dword [esp + 0x30], 0xffffffe8
call edi
mov dword [ebp + 0x20], eax
mov dword [esp + 0x3c], esi
test ebx, ebx
jne 0x433bba
push 0x4b441c
mov eax, SysReAllocString
lea ecx, [ebx + 0x20]
lea edx, [esp + 0x4c]
call fcn.0046a070
lea ecx, [esp + 0x2c]
push ecx
call edi
lea edx, [esp + 0x2c]
push edx
mov dword [ebp + 0x24], eax
mov dword [esp + 0x40], 0x190
mov dword [esp + 0x30], 0xfffffff0
call edi
mov dword [ebp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x40], esi
call edi
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x433bfb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0048b133
add esp, 0x8c
ret 4