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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x4393ef
sub esp, 0x2c
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4393ce
mov edx, dword [eax + 0x18]
nop
inc dword [edx + 0x78]
test byte [eax], al
mov edx, dword [esp + 0x38]
lea ebx, [edx + 7]
and ebx, 0xfffffff8
cmp ebx, 0x7ec
jge 0x4393b8
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call fcn.00439800
mov eax, dword [esp + 4]
test eax, eax
je 0x43934b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4393a2
mov dword [esp + 0x20], eax
lea ecx, [eax + 0x48]
mov dword [esp], ecx
call fcn.00401fa0
cmp dword [esp + 4], 6
jne 0x43938c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
sub ecx, edx
add ecx, 0xfffffff0
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x38]
test edx, edx
jg 0x4392ab
lea ecx, [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0x1c
call fcn.00458770
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x40], eax
lea eax, [0x4ae3ec]
test byte [eax], al
mov eax, dword [0x4ae3ec]
inc eax
mov dword [ecx + 0x20], eax
mov eax, ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [eax + 0x1c]
add ecx, 0xfffffffc
mov edx, ecx
nop
mov ebx, dword [esp + 0x30]
mov ebp, dword [ebx]
nop
mov esi, dword [eax + 0x20]
mov dword [ecx], esi
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ebp
mov ecx, dword [0xf2bef0]
test ecx, ecx
jne 0x439298
mov dword [eax + 0x28], ebx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xa4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.00439400
mov eax, dword [0xf2bef0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x439282
mov edx, dword [esp + 0x20]
mov dword [edx + 0xa8], ecx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
mov dword [edx + 0xac], ecx
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x18]
mov ebx, dword [ebx + 0x4c]
test ebx, ebx
je 0x4390f6
mov ebp, dword [0xf2bef0]
mov eax, dword [ebx + 0xc4]
test ebp, ebp
jne 0x439272
mov dword [edx + 0xc4], eax
mov dword [esp], edx
mov byte [esp + 4], 0
call fcn.0044e820
movzx eax, byte [esp + 8]
test al, al
jne 0x439257
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.004331f0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x308]
cmp dword [eax + 0x310], ecx
sete cl
mov edx, dword [eax + 0x30c]
cmp dword [eax + 0x314], edx
sete dl
and edx, ecx
test dl, dl
jne 0x4391e8
mov ecx, dword [eax + 0x308]
mov edx, dword [eax + 0x30c]
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], edx
mov ecx, dword [eax + 0x308]
add ecx, 1
mov edx, dword [eax + 0x30c]
mov dword [eax + 0x308], ecx
adc edx, 0
mov dword [eax + 0x30c], edx
movzx eax, byte [0xf180c8]
test al, al
jne 0x4391d0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x78]
lea ebp, [edx - 1]
mov dword [eax + 0x78], ebp
cmp edx, 1
jne 0x4391c8
movzx eax, byte [ecx + 0x65]
test al, al
je 0x4391c8
mov dword [ecx + 8], 0xfffffade
mov dword [esp + 0x44], ebx
add esp, 0x2c
ret
mov eax, dword [ebx + 0xac]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0044b010
mov ebx, dword [esp + 0x20]
jmp 0x439197
lea eax, [0xf0f8e0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
call fcn.004020d0
mov eax, dword [esp + 0xc]
mov ecx, eax
add eax, 0xfffffff1
mov edx, ecx
add ecx, 1
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x28]
mov dword [ebp + 0x30c], ebx
mov dword [ebp + 0x308], edx
mov dword [ebp + 0x308], eax
mov eax, edx
add edx, 0xfffffff1
mov edx, ebx
adc ebx, 0xffffffff
mov dword [ebp + 0x30c], ebx
mov dword [ebp + 0x310], ecx
add eax, 1
adc edx, 0
mov dword [ebp + 0x314], edx
mov eax, ebp
jmp 0x439158
lea eax, [0xf0f920]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020b0
jmp 0x439110
lea edi, [edx + 0xc4]
call fcn.00458050
jmp 0x4390f6
mov edx, dword [esp + 0x20]
lea edi, [edx + 0xa8]
mov eax, ecx
call fcn.00458050
jmp 0x4390c2
lea edi, [eax + 0x28]
mov ecx, eax
mov eax, ebx
call fcn.00458050
mov eax, ecx
jmp 0x439090
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00458950
movzx eax, byte [0xf2bef4]
test al, al
je 0x439345
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x4c]
movzx ecx, byte [ecx + 0x6a]
test cl, cl
je 0x4392e5
mov eax, dword [esp + 0x20]
jmp 0x43902c
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov dword [esp], ecx
call fcn.004467e0
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x27]
test cl, cl
ja 0x439337
xor eax, eax
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x43930e
mov eax, dword [esp + 0x24]
jmp 0x4392dc
nop
mov edx, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
add eax, 8
mov dword [esp + 0x10], eax
call fcn.0040ee00
jmp 0x439308
lea ecx, [eax + 0x27]
mov edx, dword [eax + 0x1c]
lea ecx, [ecx + edx*4 + 1]
mov eax, dword [ecx]
jmp 0x439301
mov eax, dword [esp + 0x24]
jmp 0x4392dc
mov dword [esp], 0x800
call fcn.00438e40
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 6
call fcn.004331f0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004323b0
mov eax, dword [esp + 0x1c]
jmp 0x438fe7
lea eax, [0x4aadb3]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0042f490
lea eax, [0x4aadcf]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0042f490
lea eax, [0x4adde2]
mov dword [esp], eax
mov dword [esp + 4], 0x37
call fcn.0042f490
mov eax, dword [eax + 0x18]
mov dword [eax + 0x6c], 0xffffffff
lea eax, [0x4a8b77]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042f490
nop
call fcn.004557c0
jmp fcn.00438f70