Function at 0x4211b8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x672804
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x6ee104]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
push 0x560
call fcn.0043c971
pop ecx
mov dword [esp + 0x30], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0xb8], edi
cmp eax, edi
je 0x421214
mov ebx, dword [esi + 8]
push eax
call fcn.00435741
jmp 0x421216
xor eax, eax
or dword [esp + 0xb8], 0xffffffff
push str.obj_a000_000.bmp
lea ecx, [esp + 0x18]
mov dword [esi + 0xc], eax
call fcn.00404096
push edi
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esi + 0x10]
push 0x15
lea edx, [esp + 0x20]
mov dword [esp + 0xc4], ebx
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0xb8], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403f20
push str.obj_a001_000.bmp
lea ecx, [esp + 0x18]
call fcn.00404096
push 0
push ebx
lea edi, [esi + 0xa4]
push 0x15
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 2
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [esp + 0x58], edi
call dword [eax + 0x140]
or dword [esp + 0xb8], 0xffffffff
push 0
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403f20
push str.obj_a002_000.bmp
lea ecx, [esp + 0x18]
call fcn.00404096
push 0
push ebx
lea ecx, [esi + 0x138]
push 0x15
lea edx, [esp + 0x20]
mov dword [esp + 0xc4], 3
mov eax, dword [ecx]
push edx
mov dword [esp + 0x4c], ecx
call dword [eax + 0x140]
or dword [esp + 0xb8], 0xffffffff
push 0
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403f20
mov eax, dword [esi + 8]
and dword [esp + 0x10], 0
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x520], eax
lea eax, [esi + 0x1cc]
add esi, 0x200
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], esi
mov ebx, esi
jmp 0x421324
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
push 4
pop eax
push eax
push ecx
push 3
pop eax
push eax
push ecx
push 2
pop eax
push eax
push ecx
mov edx, dword [ebx]
xor eax, eax
inc eax
push eax
push ecx
xor eax, eax
push eax
push ecx
push 5
pop eax
push eax
push 6
pop eax
push eax
push edi
mov ecx, ebx
call dword [edx + 0x84]
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [esp + 0x10]
push 3
cdq
pop ecx
idiv ecx
mov esi, dword [ebx]
mov ecx, ebx
imul eax, eax, 0x35
imul edx, edx, 0x8c
add eax, 0x1b1
add edx, 0xdc
push eax
push edx
call dword [esi + 0x2c]
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax]
lea ecx, [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [esp + 0x5c]
mov esi, eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax]
add eax, dword [esi]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [esp + 0x34]
lea esi, [eax + 4]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
add eax, dword [esi]
sub esp, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov edi, esp
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
push 0
push ebx
push dword [esp + 0x48]
call fcn.00433965
inc dword [esp + 0x10]
add ebx, 0x84
cmp dword [esp + 0x10], 6
jb 0x421320
push 4
pop ecx
push 3
pop esi
push ecx
xor eax, eax
push eax
push esi
mov ebx, dword [ebp + 8]
xor edx, edx
push edx
push 2
pop eax
push eax
xor eax, eax
push eax
inc eax
push eax
xor eax, eax
push eax
push eax
push eax
push 5
pop eax
push eax
mov dword [esp + 0x6c], 1
push dword [esp + 0x6c]
add ebx, 0x54c
push dword [esp + 0x6c]
mov edi, dword [ebx]
mov ecx, ebx
call dword [edi + 0x84]
mov edx, dword [ebx]
mov ecx, 0x22d
push ecx
mov eax, 0x93
push eax
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [esp + 0x4c]
mov esi, eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, dword [esi]
add ecx, dword [eax]
mov eax, dword [ebx]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [esp + 0x4c]
lea esi, [eax + 4]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
add eax, dword [esi]
sub esp, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov edi, esp
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov esi, dword [ebp + 8]
xor edi, edi
push edi
lea eax, [esi + 0x518]
push ebx
push eax
call fcn.00433965
push str.obj_b000_000.bmp
lea ecx, [esp + 0x18]
call fcn.00404096
push edi
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esi + 0x7e8]
push 0x15
lea edx, [esp + 0x20]
mov dword [esp + 0xc4], 4
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
or dword [esp + 0xb8], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x1c]
call fcn.00403f20
push 0x6afd78
lea ecx, [esp + 0x78]
call fcn.00404096
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0xc0], 5
call fcn.004518f1
mov ecx, eax
call fcn.00452595
push edi
push ebx
lea ecx, [esi + 0x87c]
push 0x15
mov byte [esp + 0xc4], 6
mov edx, dword [ecx]
push eax
call dword [edx + 0x140]
push edi
push ebx
lea ecx, [esp + 0x98]
call fcn.00403f20
or dword [esp + 0xb8], 0xffffffff
push edi
push ebx
lea ecx, [esp + 0x7c]
call fcn.00403f20
mov eax, dword [esi + 8]
cmp dword [eax + 0x2f80], edi
je 0x421600
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 8]
cmp dword [eax + 0x2f84], edi
je 0x421616
lea ecx, [esi + 0x284]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 8]
cmp dword [eax + 0x2f88], edi
je 0x42162c
lea ecx, [esi + 0x308]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 8]
cmp dword [eax + 0x2f8c], edi
je 0x421642
lea ecx, [esi + 0x38c]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 8]
cmp dword [eax + 0x2f90], edi
je 0x421658
lea ecx, [esi + 0x410]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 8]
cmp dword [eax + 0x2f94], edi
je 0x42166e
lea ecx, [esi + 0x494]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov eax, dword [esi + 8]
cmp dword [eax + 0x1fd0], edi
push edi
lea eax, [esi + 0x518]
je 0x421687
call fcn.00433aaf
jmp 0x42168c
call fcn.00433aed
push 2
pop eax
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x544], eax
mov ecx, 0x258
mov eax, 0x320
push ecx
push eax
add esi, 0x5d0
call fcn.004207d0
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4