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

Disassembly:
push 0xffffffffffffffff
push 0x423ee5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x42f060]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42f060]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
mov edx, 0x3000
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x98]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0xa4]
and eax, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
cmp eax, edx
jne 0x404561
push ecx
push esi
push ebx
push edi
push ebp
push dword [esp + 0xa4]
call fcn.004055e6
add esp, 0x18
jmp 0x404af9
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.004019ae
and dword [esp + 0x88], 0
push eax
call fcn.00406208
or dword [esp + 0x8c], 0xffffffff
pop ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
call fcn.0040139b
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x54]
push eax
call fcn.004053c3
lea eax, [esp + 0x20]
mov dword [esp + 0x88], 1
push eax
mov ecx, esi
mov byte [esp + 0x1e], 0
call fcn.004019ae
push eax
mov byte [esp + 0x8c], 2
call fcn.00405d3d
pop ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 1
mov esi, eax
call fcn.0040139b
mov edx, dword [esi]
lea eax, [esp + 0x6c]
push eax
push 0x42ba2e
push str.0123456789_Ee
mov ecx, esi
call dword [edx + 0x1c]
push ebx
mov ecx, edi
call fcn.00406609
test al, al
jne 0x404644
cmp byte [edi + 4], al
jne 0x40460b
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x77]
jne 0x40461d
mov eax, dword [esp + 0x2c]
mov byte [eax], 0x2b
jmp 0x40463a
cmp byte [edi + 4], 0
jne 0x40462a
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x76]
jne 0x404644
mov eax, dword [esp + 0x2c]
mov byte [eax], 0x2d
mov ecx, edi
lea ebp, [eax + 1]
call fcn.00405cf3
xor ecx, ecx
lea eax, [esp + 0x54]
cmp dword [esp + 0x68], 0x10
mov esi, ecx
mov byte [esp + 0x19], cl
cmovae eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov al, byte [eax]
cmp al, 0x7f
je 0x404824
test al, al
jle 0x404824
cmp dword [esp + 0x64], ecx
jne 0x404684
mov byte [esp + 0x1b], cl
jmp 0x404693
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov byte [esp + 0x1b], al
xor ecx, ecx
push ecx
mov dword [esp + 0x50], ecx
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x40]
push 1
mov dword [esp + 0x58], 0xf
call fcn.00405461
push ebx
push edi
mov byte [esp + 0x90], 3
xor esi, esi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x4047b9
cmp byte [edi + 4], 0
jne 0x4046d7
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
mov byte [esp + 0x34], al
lea eax, [esp + 0x6c]
push dword [esp + 0x34]
push eax
call fcn.004064ba
pop ecx
pop ecx
cmp eax, 0xa
jae 0x404745
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x19], 1
cmp ecx, 0x24
jl 0x404707
inc dword [esp + 0x1c]
jmp 0x40471e
test eax, eax
jne 0x40470f
test ecx, ecx
je 0x40471e
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x3c]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + esi], 0x7f
je 0x404784
cmp ecx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, edx
inc byte [eax + esi]
jmp 0x404784
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp byte [eax + esi], 0
je 0x40479c
cmp byte [esp + 0x1b], 0
je 0x40479c
cmp byte [edi + 4], 0
jne 0x40476d
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x1b]
jne 0x40479c
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00405400
inc esi
mov ecx, edi
call fcn.00405cf3
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
jne 0x4046ca
mov edx, dword [esp + 0x50]
test esi, esi
je 0x4047bd
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp byte [eax + esi], 0
jle 0x404804
inc esi
jmp 0x4047bd
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
test esi, esi
je 0x404809
mov cl, byte [eax]
cmp cl, 0x7f
je 0x404809
dec esi
je 0x4047e0
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp cl, byte [eax + esi]
jne 0x404804
test esi, esi
jne 0x4047f4
cmp edx, 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp cl, byte [eax]
jl 0x404804
mov eax, dword [esp + 0x20]
inc eax
cmp byte [eax], 0
jle 0x4047bd
mov dword [esp + 0x20], eax
jmp 0x4047c1
mov byte [esp + 0x1a], 1
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 1
call fcn.0040267b
mov esi, dword [esp + 0x24]
jmp 0x40488f
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x40489f
cmp byte [edi + 4], 0
jne 0x40483e
mov ecx, edi
call fcn.00405d17
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004064ba
pop ecx
pop ecx
cmp eax, 0xa
jae 0x40488b
cmp esi, 0x24
jl 0x40485f
inc dword [esp + 0x1c]
jmp 0x404872
test eax, eax
jne 0x404867
test esi, esi
je 0x404872
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc esi
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00405cf3
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
jne 0x404831
mov dword [esp + 0x24], esi
cmp byte [esp + 0x19], 0
je 0x40489f
test esi, esi
jne 0x40489f
mov byte [ebp], 0x30
inc ebp
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x4048e1
cmp byte [edi + 4], 0
jne 0x4048b9
mov ecx, edi
call fcn.00405d17
mov ecx, dword [esp + 0x28]
mov bl, byte [edi + 5]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp bl, al
jne 0x4048dd
call fcn.00407731
mov ecx, edi
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp], al
inc ebp
call fcn.00405cf3
mov ebx, dword [esp + 0x30]
test esi, esi
jne 0x404985
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x404932
mov esi, dword [esp + 0x1c]
cmp byte [edi + 4], 0
jne 0x404907
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x6c]
jne 0x40492a
mov ecx, edi
mov byte [esp + 0x19], 1
dec esi
call fcn.00405cf3
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
jne 0x4048fa
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x404985
mov byte [ebp], 0x30
inc ebp
inc eax
mov dword [esp + 0x1c], eax
jmp 0x404985
cmp byte [edi + 4], 0
jne 0x404953
mov ecx, edi
call fcn.00405d17
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004064ba
pop ecx
pop ecx
cmp eax, 0xa
jae 0x404992
cmp esi, 0x24
jge 0x404979
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc esi
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00405cf3
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
jne 0x404946
mov al, byte [esp + 0x19]
test al, al
je 0x404ad5
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x404ad1
cmp byte [edi + 4], 0
jne 0x4049bc
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x79]
je 0x4049df
cmp byte [edi + 4], 0
jne 0x4049d2
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x78]
jne 0x404ad1
mov byte [ebp], 0x65
mov ecx, edi
inc ebp
call fcn.00405cf3
push ebx
mov ecx, edi
mov byte [esp + 0x1d], 0
xor esi, esi
call fcn.00406609
test al, al
jne 0x404a3b
cmp byte [edi + 4], al
jne 0x404a0a
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x77]
jne 0x404a19
mov byte [ebp], 0x2b
jmp 0x404a33
cmp byte [edi + 4], 0
jne 0x404a26
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x76]
jne 0x404a3b
mov byte [ebp], 0x2d
mov ecx, edi
inc ebp
call fcn.00405cf3
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x404a83
cmp byte [edi + 4], 0
jne 0x404a55
mov ecx, edi
call fcn.00405d17
mov al, byte [edi + 5]
cmp al, byte [esp + 0x6c]
jne 0x404a77
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00405cf3
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
jne 0x404a48
cmp byte [esp + 0x19], 0
je 0x404a83
mov byte [ebp], 0x30
inc ebp
push ebx
push edi
call fcn.004064a3
pop ecx
pop ecx
test al, al
je 0x404ad1
cmp byte [edi + 4], 0
jne 0x404a9d
mov ecx, edi
call fcn.00405d17
movzx eax, byte [edi + 5]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004064ba
pop ecx
pop ecx
cmp eax, 0xa
jae 0x404ad1
cmp esi, 8
jge 0x404ac3
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc esi
mov ecx, edi
mov byte [esp + 0x19], 1
call fcn.00405cf3
jmp 0x404a83
mov al, byte [esp + 0x19]
cmp byte [esp + 0x1a], 0
jne 0x404ae0
test al, al
jne 0x404ae4
mov ebp, dword [esp + 0x2c]
push 0
push 1
lea ecx, [esp + 0x5c]
mov byte [ebp], 0
call fcn.0040267b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00406b91
add esp, 0x78
ret