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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4421cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov byte [eax], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push 0xf
pop edi
mov dword [esp + 0x1b8], ebx
push ebx
lea ecx, [esp + 0x104]
mov dword [esp + 0x11c], edi
call fcn.00408384
push ebx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], edi
call fcn.00408384
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], edi
call fcn.00408384
push ebx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x100], edi
call fcn.00408384
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x1bc], 4
call fcn.0041d19a
pop ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.00414f8d
test eax, eax
jbe 0x41d618
push dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d397
mov eax, dword [eax + 4]
jmp 0x41d39a
add eax, 4
push ebx
push eax
mov esi, 0x405cac
call fcn.0041d014
test al, al
pop ecx
pop ecx
jne 0x41d6c9
push dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d3c8
mov eax, dword [eax + 4]
jmp 0x41d3cb
add eax, 4
push ebx
push eax
mov esi, 0x405cb0
call fcn.0041d014
test al, al
pop ecx
pop ecx
jne 0x41d6c9
push dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d3f9
mov eax, dword [eax + 4]
jmp 0x41d3fc
add eax, 4
push ebx
push eax
mov esi, 0x405cb4
call fcn.0041d014
test al, al
pop ecx
pop ecx
jne 0x41d6c9
push dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d42a
mov eax, dword [eax + 4]
jmp 0x41d42d
add eax, 4
push 3
push eax
mov esi, 0x405cbc
call fcn.0041d014
test al, al
pop ecx
pop ecx
push dword [esp + 0x18]
lea esi, [esp + 0x24]
je 0x41d459
call fcn.00408184
lea ecx, [esp + 0x100]
jmp 0x41d50b
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d469
mov eax, dword [eax + 4]
jmp 0x41d46c
add eax, 4
push 0xd
push eax
mov esi, 0x405cc0
call fcn.0041d014
test al, al
pop ecx
pop ecx
push dword [esp + 0x18]
lea esi, [esp + 0x24]
je 0x41d495
call fcn.00408184
lea ecx, [esp + 0xc8]
jmp 0x41d50b
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d4a5
mov eax, dword [eax + 4]
jmp 0x41d4a8
add eax, 4
push 8
push eax
mov esi, 0x405cd0
call fcn.0041d014
test al, al
pop ecx
pop ecx
push dword [esp + 0x18]
lea esi, [esp + 0x24]
je 0x41d4d1
call fcn.00408184
lea ecx, [esp + 0xe4]
jmp 0x41d50b
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d4e1
mov eax, dword [eax + 4]
jmp 0x41d4e4
add eax, 4
push 4
push eax
mov esi, 0x405cdc
call fcn.0041d014
test al, al
pop ecx
pop ecx
push dword [esp + 0x18]
lea esi, [esp + 0x24]
je 0x41d519
call fcn.00408184
lea ecx, [esp + 0x11c]
push 0xffffffffffffffff
push ebx
push eax
call fcn.004083a0
jmp 0x41d601
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d529
mov eax, dword [eax + 4]
jmp 0x41d52c
add eax, 4
push 0xb
push eax
mov esi, 0x405ce4
call fcn.0041d014
test al, al
pop ecx
pop ecx
je 0x41d6b5
mov eax, dword [esp + 0x38]
push ebx
lea ecx, [esp + 0xb0]
mov byte [eax], 1
mov dword [esp + 0xc8], edi
call fcn.00408384
push dword [esp + 0x18]
lea esi, [esp + 0x24]
mov byte [esp + 0x1bc], 5
call fcn.00408184
cmp dword [eax + 0x18], 0x10
jb 0x41d57e
mov eax, dword [eax + 4]
jmp 0x41d581
add eax, 4
push eax
lea ecx, [esp + 0x174]
call fcn.00408751
lea eax, [esp + 0x170]
push eax
lea ebx, [esp + 0xb0]
mov byte [esp + 0x1bc], 6
call fcn.0041d05d
pop ecx
push 0
push 1
lea ecx, [esp + 0x178]
mov byte [esp + 0x1c0], 5
call fcn.00408339
cmp dword [esp + 0xc4], 0x10
mov eax, dword [esp + 0xb0]
jae 0x41d5db
lea eax, [esp + 0xb0]
push dword [esp + 0x34]
push eax
call fcn.00424702
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1c0], 4
call fcn.00408339
xor ebx, ebx
inc dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.00414f8d
cmp dword [esp + 0x18], eax
jb 0x41d37f
cmp dword [esp + 0x114], ebx
jne 0x41d6d6
cmp dword [esp + 0xdc], ebx
jne 0x41d6d6
cmp dword [esp + 0xf8], ebx
jne 0x41d6d6
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xec]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0x124]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0xd0]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0x108]
call fcn.00408339
lea esi, [esp + 0x20]
call fcn.00415483
xor al, al
jmp 0x41dfb3
push 0x404fec
push dword [esp + 0x34]
call fcn.0040abe5
push dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.00408184
mov esi, dword [esp + 0x30]
push 0xffffffffffffffff
push ebx
call fcn.0040adc0
inc dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.00414f8d
cmp dword [esp + 0x18], eax
jb 0x41d68a
jmp 0x41d618
call fcn.0041d10e
xor esi, esi
inc esi
jmp 0x41df70
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc8], edi
call fcn.00408384
push ebx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x154], edi
call fcn.00408384
push ebx
lea ecx, [esp + 0x158]
mov dword [esp + 0x170], edi
call fcn.00408384
mov byte [esp + 0x1b8], 9
cmp dword [esp + 0x114], ebx
mov byte [esp + 0x1f], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x17], bl
je 0x41d74a
lea eax, [esp + 0x100]
push eax
lea ebx, [esp + 0xb0]
call fcn.0041d05d
pop ecx
mov byte [esp + 0x1f], al
xor ebx, ebx
cmp dword [esp + 0xdc], ebx
je 0x41d76e
lea eax, [esp + 0xc8]
push eax
lea ebx, [esp + 0x13c]
call fcn.0041d05d
pop ecx
mov byte [esp + 0x1e], al
xor ebx, ebx
cmp dword [esp + 0xf8], ebx
je 0x41d792
lea eax, [esp + 0xe4]
push eax
lea ebx, [esp + 0x158]
call fcn.0041d05d
pop ecx
mov byte [esp + 0x17], al
xor ebx, ebx
cmp byte [esp + 0x1f], bl
jne 0x41d926
cmp byte [esp + 0x1e], bl
jne 0x41d926
cmp byte [esp + 0x17], bl
jne 0x41d926
push 7
pop eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x1bc], 0x19
call fcn.0041ad1e
cmp dword [esp + 0xa8], ebx
pop ecx
mov esi, 0x3fc
jne 0x41d828
push esi
lea ecx, [esp + 0x94]
call fcn.0042670a
pop ecx
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0041ad42
cmp dword [esp + 0x58], ebx
pop ecx
pop ecx
jne 0x41d846
push esi
lea ecx, [esp + 0x40]
call fcn.0042670a
pop ecx
lea ecx, [esp + 0x17]
call fcn.0041ad70
cmp byte [esp + 0x17], bl
mov ecx, dword [esp + 0x40]
je 0x41d885
cmp dword [esp + 0x54], 8
jae 0x41d864
lea ecx, [esp + 0x40]
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x41d87c
lea eax, [esp + 0x94]
push ecx
push eax
push 0x41a
jmp 0x41d8af
cmp dword [esp + 0x54], 8
jae 0x41d890
lea ecx, [esp + 0x40]
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x41d8a8
lea eax, [esp + 0x94]
push ecx
push eax
push 0x3fb
lea ecx, [esp + 0x64]
call fcn.0042670a
add esp, 0xc
lea ecx, [esp + 0x74]
call fcn.004269f3
cmp dword [esp + 0x8c], 8
mov ecx, dword [esp + 0x78]
jae 0x41d8d6
lea ecx, [esp + 0x78]
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x41d8e5
lea eax, [esp + 0x5c]
push ebx
push ecx
push eax
push ebx
call dword [0x44975c]
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x7c]
call fcn.00408d21
push ebx
push edi
lea esi, [esp + 0x44]
call fcn.00408d21
push ebx
push edi
lea esi, [esp + 0x98]
call fcn.00408d21
push ebx
push edi
lea esi, [esp + 0x60]
call fcn.00408d21
jmp 0x41df43
xor ebx, ebx
xor edi, edi
call fcn.00423a29
test al, al
push 0xf
pop esi
je 0x41da31
push edi
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
call fcn.00408384
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
call fcn.00408384
push 0x3fd
lea esi, [esp + 0x78]
mov byte [esp + 0x1bc], 0xb
call fcn.00422d33
pop ecx
lea eax, [esp + 0x58]
push eax
call fcn.0042316b
cmp dword [esp + 0x74], 0x10
pop ecx
mov ecx, dword [esp + 0x5c]
jae 0x41d98a
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x41d99c
lea eax, [esp + 0x78]
push edi
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [esp + 0x60]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0x7c]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0x15c]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0x140]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0xb4]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0xec]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0x124]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0xd0]
call fcn.00408339
push edi
push ebx
lea ecx, [esp + 0x108]
call fcn.00408339
lea esi, [esp + 0x20]
call fcn.00415483
mov al, bl
jmp 0x41dfb3
xor ebx, ebx
cmp dword [esp + 0x130], ebx
push ebx
jne 0x41dcb0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
call fcn.00408384
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
call fcn.00408384
push ebx
lea ecx, [esp + 0x190]
mov dword [esp + 0x1a8], esi
call fcn.00408384
push ebx
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], esi
call fcn.00408384
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
call fcn.00408384
lea eax, [esp + 0x18c]
push eax
mov byte [esp + 0x1bc], 0x10
call fcn.0042316b
pop ecx
mov dword [esp + 0x188], 7
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], bx
lea edi, [esp + 0x90]
mov byte [esp + 0x1b8], 0x11
call fcn.00423103
mov eax, dword [esp + 0x94]
push 0x10
pop esi
cmp dword [esp + 0xa8], esi
jae 0x41daf3
lea eax, [esp + 0x94]
lea ecx, [esp + 0x170]
push ecx
push eax
call fcn.00424702
pop ecx
pop ecx
lea ecx, [esp + 0x58]
call fcn.00423d16
cmp dword [esp + 0x70], esi
mov ecx, dword [esp + 0x5c]
jae 0x41db1a
lea ecx, [esp + 0x5c]
call fcn.00423ded
cmp dword [esp + 0x1a4], esi
mov eax, dword [esp + 0x190]
jae 0x41db36
lea eax, [esp + 0x190]
cmp dword [esp + 0x70], esi
mov edi, dword [esp + 0x5c]
jae 0x41db44
lea edi, [esp + 0x5c]
push ebx
lea ecx, [esp + 0x78]
push ecx
mov ebx, eax
xor esi, esi
call fcn.00424198
cmp dword [esp + 0x94], 0x10
mov eax, dword [esp + 0x80]
pop ecx
pop ecx
jae 0x41db6a
lea eax, [esp + 0x78]
cmp dword [esp + 0xa8], 0x10
mov ecx, dword [esp + 0x94]
jae 0x41db82
lea ecx, [esp + 0x94]
push eax
call fcn.00423f5e
pop ecx
mov edi, 0x404fec
push edi
lea ecx, [esp + 0x40]
call fcn.00408773
xor ebx, ebx
cmp dword [esp + 0x114], ebx
je 0x41dbbf
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x108]
lea esi, [esp + 0x44]
call fcn.0040adc0
push edi
mov eax, esi
push eax
call fcn.0040abe5
cmp dword [esp + 0xdc], ebx
je 0x41dbe4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xd0]
lea esi, [esp + 0x44]
call fcn.0040adc0
push edi
mov eax, esi
push eax
call fcn.0040abe5
cmp dword [esp + 0xf8], ebx
je 0x41dc09
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xec]
lea esi, [esp + 0x44]
call fcn.0040adc0
push edi
mov eax, esi
push eax
call fcn.0040abe5
push 0x405cf0
lea eax, [esp + 0x40]
push eax
call fcn.0040abe5
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x98]
lea esi, [esp + 0x44]
call fcn.0040adc0
push 0x404fb4
mov eax, esi
push eax
call fcn.0040abe5
cmp dword [esp + 0x54], 0x10
mov ecx, dword [esp + 0x40]
jae 0x41dc47
lea ecx, [esp + 0x40]
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x41dc59
lea eax, [esp + 0x78]
push ecx
push eax
call fcn.00422db0
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x178]
call fcn.00408d21
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x98]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x194]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x7c]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x60]
jmp 0x41df3c
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], esi
call fcn.00408384
lea eax, [esp + 0x11c]
push eax
lea ebx, [esp + 0x94]
mov byte [esp + 0x1bc], 0x12
call fcn.0041d05d
xor ebx, ebx
pop ecx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov byte [esp + 0x1b8], 0x13
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x41dd13
lea eax, [esp + 0x94]
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.00424702
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
push 8
pop edi
cmp dword [esp + 0x54], edi
jae 0x41dd31
lea ecx, [esp + 0x40]
push ebx
push 2
push ebx
call fcn.0042532c
add esp, 0xc
cmp eax, 3
je 0x41de64
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
call fcn.00408384
push ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], esi
call fcn.00408384
push 0x3fe
lea esi, [esp + 0x78]
mov byte [esp + 0x1bc], 0x15
call fcn.00422d33
pop ecx
lea eax, [esp + 0x58]
push eax
call fcn.0042316b
cmp dword [esp + 0x74], 0x10
pop ecx
mov ecx, dword [esp + 0x5c]
jae 0x41dd96
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x41dda8
lea eax, [esp + 0x78]
push 0x24
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
push ebx
lea ecx, [esp + 0x5c]
je 0x41de49
xor edi, edi
inc edi
push edi
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x7c]
call fcn.00408339
push ebx
push edi
lea esi, [esp + 0x44]
call fcn.00408d21
push ebx
push edi
lea ecx, [esp + 0x98]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x15c]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x140]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0x124]
call fcn.00408339
push ebx
push edi
lea ecx, [esp + 0xd0]
call fcn.00408339
push ebx
push edi
jmp 0x41df9c
push 1
call fcn.00408339
push ebx
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c0], 0x13
call fcn.00408339
cmp dword [esp + 0x114], ebx
je 0x41dea7
cmp byte [esp + 0x1f], bl
je 0x41dea7
cmp dword [esp + 0xc4], 0x10
mov ebx, dword [esp + 0xb0]
jae 0x41de8b
lea ebx, [esp + 0xb0]
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x41de99
lea eax, [esp + 0x40]
push eax
mov ecx, 0x405a4c
call fcn.0041b65b
pop ecx
xor ebx, ebx
cmp dword [esp + 0xdc], ebx
je 0x41deea
cmp byte [esp + 0x1e], bl
je 0x41deea
cmp dword [esp + 0x150], 0x10
mov ebx, dword [esp + 0x13c]
jae 0x41dece
lea ebx, [esp + 0x13c]
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x41dedc
lea eax, [esp + 0x40]
push eax
mov ecx, 0x405a5c
call fcn.0041b65b
pop ecx
xor ebx, ebx
cmp dword [esp + 0xf8], ebx
je 0x41df26
cmp byte [esp + 0x17], bl
je 0x41df26
cmp dword [esp + 0x16c], 0x10
mov eax, dword [esp + 0x158]
jae 0x41df11
lea eax, [esp + 0x158]
cmp dword [esp + 0x54], edi
mov esi, dword [esp + 0x40]
jae 0x41df1f
lea esi, [esp + 0x40]
push eax
call fcn.0041b6fa
pop ecx
push ebx
push 1
lea esi, [esp + 0x44]
call fcn.00408d21
push ebx
push 1
lea ecx, [esp + 0x98]
call fcn.00408339
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x15c]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0x140]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0xb4]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0xec]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0x124]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0xd0]
call fcn.00408339
push ebx
push esi
lea ecx, [esp + 0x108]
call fcn.00408339
lea esi, [esp + 0x20]
call fcn.00415483
mov al, 1
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret