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

Disassembly:
push 0xffffffffffffffff
push 0x47e38b
mov eax, dword fs:[0]
push eax
mov eax, 0x64c0
call fcn.00478b00
mov eax, dword [0x4983f8]
xor eax, esp
mov dword [esp + 0x64b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4983f8]
xor eax, esp
push eax
lea eax, [esp + 0x64d4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64e4]
mov eax, dword [ebp + 8]
push eax
mov eax, 0x15
mov dword [esp + 0x30], ebp
call fcn.0042e940
or eax, edx
jne 0x42525b
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x425a5a
push eax
call dword [0x4810d8]
mov dword [ebp + 0xc], 0xffffffff
jmp 0x425a5a
push 0x104
lea ecx, [esp + 0x1120]
push ecx
push 0
call dword [0x4811b8]
lea edx, [esp + 0x111c]
push 0x5c
push edx
call fcn.004643c6
add esp, 8
test eax, eax
je 0x42528e
add eax, 2
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x111c]
add eax, 0xfffffffe
jmp 0x4252a0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4252a0
mov edx, dword [0x48d670]
mov ecx, dword [0x48d674]
mov dword [eax], edx
mov edx, dword [0x48d678]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov eax, 0x17
call fcn.0042e940
mov ebx, eax
mov esi, edx
mov ecx, ebx
or ecx, esi
mov dword [esp + 0x28], esi
jne 0x425309
xor eax, eax
jmp 0x4252f0
movzx ecx, word [eax + 0x48d67c]
mov word [esp + eax + 0x534], cx
add eax, 2
test cx, cx
jne 0x4252f0
jmp 0x42533b
lea edx, [esp + 0x54]
push edx
call dword [0x481078]
movzx eax, word [esp + 0x5a]
movzx ecx, word [esp + 0x56]
movzx edx, word [esp + 0x54]
push eax
push ecx
push edx
lea eax, [esp + 0x540]
push 0x48d6a8
push eax
call fcn.00463e91
add esp, 0x14
cmp dword [ebp + 0xc], 0xffffffff
je 0x425386
mov eax, dword [ebp + 4]
test eax, eax
je 0x4254b8
lea ecx, [esp + 0x534]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425379
test dx, dx
je 0x425375
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425379
add eax, 4
add ecx, 4
test dx, dx
jne 0x425353
xor eax, eax
jmp 0x42537e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4254b8
xor eax, eax
jmp 0x425390
movzx ecx, word [esp + eax + 0x111c]
mov word [esp + eax + 0x744], cx
add eax, 2
test cx, cx
jne 0x425390
push 0
lea ecx, [esp + 0x748]
push ecx
call dword [0x4810c4]
mov eax, dword [ebp + 4]
test eax, eax
je 0x4253c8
push eax
call fcn.00462d5c
add esp, 4
lea eax, [esp + 0x534]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4253d2
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00460f28
lea ecx, [esp + 0x538]
mov edx, eax
mov dword [ebp + 4], eax
mov eax, ecx
add esp, 4
sub edx, eax
jmp 0x425410
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x425410
lea eax, [esp + 0x534]
mov edx, eax
jmp 0x425430
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425430
lea edi, [esp + 0x744]
sub eax, edx
add edi, 0xfffffffe
jmp 0x425450
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x425450
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp eax, 0xffffffff
je 0x42547b
push eax
call dword [0x4810d8]
push 0
push 0
push 4
push 0
push 1
push 0xc0000000
lea ecx, [esp + 0x75c]
push ecx
call dword [0x4810d0]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x4254a7
xor eax, eax
jmp 0x425a5f
push 2
push 0
push 0
push eax
call dword [0x4810e4]
mov esi, dword [esp + 0x28]
mov edx, dword [ebp + 8]
push edx
mov eax, 0x16
call fcn.0042e940
or ebx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
je 0x4258fd
lea eax, [esp + 0x68]
push eax
call dword [0x48107c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [0x481080]
mov eax, dword [esp + 0x28]
push 1
xor esi, esi
push esi
push esi
push eax
call fcn.00476260
mov ecx, dword [esp + 0x24]
xor edi, edi
add eax, ecx
adc edx, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
xor eax, eax
jmp 0x425520
movzx ecx, word [esp + eax + 0x111c]
mov word [esp + eax + 0x1af4], cx
add eax, 2
cmp cx, si
jne 0x425520
lea eax, [esp + 0x1af4]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x425542
mov edx, dword [0x48d6d4]
mov ecx, dword [0x48d6d8]
mov dword [eax], edx
mov edx, dword [0x48d6dc]
mov dword [eax + 4], ecx
mov ecx, dword [0x48d6e0]
mov dword [eax + 8], edx
mov edx, dword [0x48d6e4]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea eax, [esp + 0x2e4]
push eax
lea ecx, [esp + 0x1af8]
push ecx
call dword [0x4810e8]
mov edi, eax
mov edx, ebp
mov eax, dword [edx + 8]
push eax
mov eax, 0x18
mov dword [esp + 0x34], edi
call fcn.0042e940
mov ecx, eax
or ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
je 0x4255d2
push 0xc9
add eax, 1
push 0x2a69c000
adc edx, esi
push edx
push eax
call fcn.00476260
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov ebx, 7
xor edx, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], esi
mov word [esp + 0x7c], dx
mov dword [esp + 0x64dc], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
cmp edi, 0xffffffff
je 0x425869
lea esp, [esp]
mov ecx, 0x94
lea esi, [esp + 0x2e4]
lea edi, [esp + 0x94]
lea eax, [esp + 0x2e4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x30]
push eax
push esi
call dword [0x4810ec]
test eax, eax
jne 0x42564b
push esi
call dword [0x4810f0]
mov dword [esp + 0x30], 0xffffffff
mov ecx, 0x48a270
lea eax, [esp + 0xc0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42567d
test dx, dx
je 0x425679
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42567d
add eax, 4
add ecx, 4
test dx, dx
jne 0x425657
xor eax, eax
jmp 0x425682
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42584a
mov ecx, 0x48a940
lea eax, [esp + 0xc0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4256bc
test dx, dx
je 0x4256b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4256bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x425696
xor eax, eax
jmp 0x4256c1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42584a
mov ecx, dword [esp + 0xb0]
push 1
push 0
push 0
push ecx
call fcn.00476260
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
mov esi, eax
mov edi, edx
mov edx, dword [esp + 0xb4]
xor eax, eax
add esi, edx
adc edi, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
lea eax, [esp + 0xc0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425729
test dx, dx
je 0x425725
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425729
add eax, 4
add ecx, 4
test dx, dx
jne 0x425703
xor eax, eax
jmp 0x42572e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42573f
add dword [esp + 0x14], esi
adc dword [esp + 0x18], edi
jmp 0x42584a
mov edx, dword [esp + 0xac]
push 1
push 0
push 0
push edx
call fcn.00476260
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x50]
xor esi, esi
add eax, ecx
mov ecx, dword [esp + 0x4c]
adc edx, esi
sub ecx, eax
mov dword [esp + 0x54], ecx
sbb ebp, edx
xor ecx, ecx
jmp 0x425780
movzx esi, word [esp + ecx + 0x111c]
mov word [esp + ecx + 0x744], si
add ecx, 2
test si, si
jne 0x425780
lea ecx, [esp + 0xc0]
mov edi, ecx
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x4257a1
sub ecx, edi
mov esi, edi
lea edi, [esp + 0x744]
mov ebx, ecx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4257c0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x20]
je 0x425806
cmp ebp, dword [esp + 0x20]
jl 0x425806
jg 0x4257f6
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x54], ecx
jbe 0x425806
lea edx, [esp + 0x744]
push edx
call dword [0x4810b4]
jmp 0x42584a
mov ecx, dword [esp + 0x44]
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x48]
adc dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jl 0x42582e
jg 0x425826
cmp eax, dword [esp + 0x34]
jb 0x42582e
mov esi, dword [esp + 0x34]
or esi, ecx
jne 0x42584a
mov dword [esp + 0x38], edx
lea edx, [esp + 0x744]
push edx
lea edi, [esp + 0x7c]
mov dword [esp + 0x38], eax
call fcn.00408280
add esp, 4
cmp dword [esp + 0x30], 0xffffffff
jne 0x425610
mov ebx, dword [esp + 0x90]
cmp ebx, 8
jb 0x425869
mov esi, dword [esp + 0x7c]
mov eax, esi
jmp 0x425871
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x7c]
mov ecx, 0x487060
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42589c
test dx, dx
je 0x425898
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42589c
add eax, 4
add ecx, 4
test dx, dx
jne 0x425876
xor eax, eax
jmp 0x4258a1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4258ef
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, eax
or edx, ecx
je 0x4258ef
push 0
push 0x400
push ecx
push eax
call fcn.00476260
cmp dword [esp + 0x18], edx
jl 0x4258ef
jg 0x4258cf
cmp dword [esp + 0x14], eax
jbe 0x4258ef
mov eax, esi
cmp ebx, 8
jae 0x4258da
lea eax, [esp + 0x7c]
push eax
call dword [0x4810b4]
lea ecx, [esp + 0x78]
call fcn.00405dc0
jmp 0x425a5a
cmp ebx, 8
jb 0x4258fd
push esi
call fcn.00462b9f
add esp, 4
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov eax, ebx
or eax, edi
je 0x425a5a
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
call fcn.0042c1a0
push 0
push 0x400
push edx
push eax
call fcn.0047a460
cmp edx, edi
jl 0x425a5a
jg 0x42593b
cmp eax, ebx
jbe 0x425a5a
push 0
push 0x400
push edx
push eax
call fcn.00476260
push 0
push 0x400
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
fild qword [esp + 0x30]
push ebx
call fcn.00476260
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
fild qword [esp + 0x24]
fmul qword [0x490028]
fsubp st(1)
call fcn.0047a3b0
xor ebx, ebx
mov edi, eax
lea ebp, [ebx + 1]
mov ecx, dword [esi + 0xc]
push 0
push 0
push edi
push ecx
call dword [0x4810e4]
mov ecx, dword [esi + 0xc]
push 0
lea edx, [esp + 0x20]
push edx
push 0x4000
lea eax, [esp + 0x24d8]
push eax
push ecx
call dword [0x4810f4]
test eax, eax
je 0x425a41
mov edx, dword [esi + 0xc]
add edi, dword [esp + 0x1c]
push 0
push 0
push ebx
push edx
call dword [0x4810e4]
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x425a10
xor ecx, ecx
test eax, eax
jbe 0x4259ef
lea esp, [esp]
cmp byte [esp + ecx + 0x24cc], 0xa
je 0x4259ef
inc ecx
cmp ecx, eax
jb 0x4259e0
lea edx, [eax - 1]
cmp ecx, edx
jae 0x425a36
xor ebp, ebp
push ebp
sub eax, ecx
lea edx, [esp + 0x18]
push edx
dec eax
push eax
lea eax, [esp + ecx + 0x24d9]
mov ecx, dword [esi + 0xc]
push eax
push ecx
jmp 0x425a24
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0xc]
push eax
lea ecx, [esp + 0x24d8]
push ecx
push edx
call dword [0x4810dc]
test eax, eax
je 0x425a41
add ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, 0x4000
je 0x425983
mov eax, dword [esi + 0xc]
push 0
push 0
push ebx
push eax
call dword [0x4810e4]
mov ecx, dword [esi + 0xc]
push ecx
call dword [0x4810f8]
mov eax, 1
mov ecx, dword [esp + 0x64d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64b8]
xor ecx, esp
call fcn.00462baa
add esp, 0x64cc
ret 4