Function at 0x4ef388
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4b00fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], ebp
call fcn.0050d46e
xor edi, edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x13c], edi
call fcn.0050d46e
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 1
call fcn.0050d46e
lea ecx, [esp + 0x7c]
mov byte [esp + 0x13c], 2
call fcn.004af1d8
push edi
lea ecx, [esp + 0x128]
mov byte [esp + 0x140], 3
call fcn.004b3b78
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x140], 4
call fcn.004b3b78
push edi
lea ecx, [esp + 0x118]
mov byte [esp + 0x140], 5
call fcn.004b3b78
push edi
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 6
call fcn.004b3b78
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x140], 7
call fcn.004b3b78
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 8
mov dword [esp + 0x20], edi
call fcn.0050d46e
mov eax, dword [0x4de8b0]
mov dword [esp + 0x10], edi
lea edx, [esp + 0x34]
mov byte [esp + 0x13c], 9
mov ecx, dword [eax + 0x1fc]
push ecx
push 0x4d68dc
push edx
call fcn.0050d5e2
add esp, 0xc
push edi
push edi
push edi
push edi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4d85a8
call fcn.0050d630
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x15c], 0xa
call fcn.0050d618
mov byte [esp + 0x158], 9
mov edx, dword [0x4de8b0]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edx + 0x110]
call fcn.0047b1a8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 0xb
call fcn.0050d5e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 9
call fcn.0050d468
push 0x4d1638
lea ecx, [esp + 0x20]
call fcn.0050d690
push 0x29
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0050d606
cmp esi, edi
jl 0x4efb0c
test eax, eax
jl 0x4efb0c
sub eax, esi
lea ecx, [esp + 0x1c]
dec eax
inc esi
push eax
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0050d6b4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 0xc
call fcn.0050d5e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 9
call fcn.0050d468
xor esi, esi
lea ecx, [esp + 0x24]
push esi
call fcn.0050d492
mov cl, byte [esp + 0x33]
mov edx, eax
mov byte [esp + 0x4c], cl
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x54]
call dword [0x4b4618]
lea edx, [esp + 0x124]
push 1
lea eax, [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x148], 0xd
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x13c], 9
mov edi, eax
mov eax, dword [esp + 0x50]
cmp eax, esi
mov dword [esp + 0x20], edi
je 0x4ef5f0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ef5e7
cmp al, 0xff
je 0x4ef5e7
dec al
mov byte [ecx], al
jmp 0x4ef5f0
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.0050d48c
cmp edi, esi
je 0x4efb0c
push 0x4d0bdc
lea ecx, [esp + 0x128]
call fcn.004b5078
push eax
lea ecx, [esp + 0x40]
call fcn.004b4218
lea ecx, [esp + 0x3c]
call fcn.004b4318
xor ecx, ecx
cmp eax, 6
sete cl
mov eax, ecx
test eax, eax
mov dword [esp + 0x20], eax
je 0x4efb0c
xor edi, edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], edi
call fcn.004b4e58
mov ebx, dword [fcn.004b4724]
test eax, eax
jbe 0x4ef84b
push edi
lea ecx, [esp + 0x40]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x118]
call fcn.004b4218
lea ecx, [esp + 0x114]
call fcn.004b4318
cmp eax, 7
jne 0x4ef835
push 0x4d1794
lea ecx, [esp + 0x118]
call fcn.004b5078
lea edx, [esp + 0x2c]
push eax
push edx
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 0xe
call fcn.0050d5e8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 9
call fcn.0050d468
push 0x4d178c
lea ecx, [esp + 0x118]
call fcn.004b5078
push eax
lea ecx, [esp + 0x70]
call fcn.004b4218
lea ecx, [esp + 0x6c]
call fcn.004b4318
cmp eax, 6
jne 0x4ef835
lea ecx, [esp + 0x6c]
xor esi, esi
call fcn.004b4e58
test eax, eax
jbe 0x4ef835
push esi
lea ecx, [esp + 0x70]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x60]
call fcn.004b4218
push 0x90
call fcn.0050d486
mov edi, eax
mov ecx, 0x24
xor eax, eax
mov dword [esp + 0x14], edi
add esp, 4
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
push 0x4d0df4
lea ecx, [esp + 0x60]
mov dword [eax + 0xc], 0
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 4], eax
push 0x4d0e14
lea ecx, [esp + 0x60]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [esp + 0x14]
add esp, 4
xor ecx, ecx
mov dword [edx], eax
mov edi, dword [esp + 0x10]
lea eax, [ebp + 0x64]
mov edx, dword [eax]
test edx, edx
je 0x4ef791
cmp edx, dword [edi]
je 0x4ef79c
inc ecx
add eax, 4
cmp ecx, 0x14
jb 0x4ef787
jmp 0x4ef7a3
mov dword [edi + 0xc], 1
push 0x4d1784
lea ecx, [esp + 0x60]
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x14]
push 0x3f
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add eax, 0x50
push edx
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x5c]
push 0x4d1778
call fcn.004b5078
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00477a28
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push 0x3f
add edx, 0x10
push eax
push edx
call ebx
add esp, 0x14
lea ecx, [esp + 0x28]
call fcn.0050d468
mov eax, dword [ebp + 0xbc]
lea edx, [esp + 0x10]
push edx
push 1
lea ecx, [ebp + 0xb4]
push eax
call fcn.004e0e18
lea ecx, [esp + 0x6c]
inc esi
call fcn.004b4e58
cmp esi, eax
jb 0x4ef708
mov edi, dword [esp + 0x14]
inc edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], edi
call fcn.004b4e58
cmp edi, eax
jb 0x4ef65a
push 0x4d176c
lea ecx, [esp + 0x1c]
call fcn.0050d47a
mov eax, dword [0x4de8b0]
mov eax, dword [eax + 0x194]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4efb0c
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x4efb00
mov eax, dword [0x4de8b0]
cmp edx, dword [eax + 0x1fc]
je 0x4efb00
mov ecx, dword [ebp + 0xb8]
lea esi, [ebp + 0xb4]
test ecx, ecx
jne 0x4ef8ad
xor eax, eax
jmp 0x4ef8b5
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x4ef8d2
mov edi, dword [ebp + 0xb8]
mov ebp, dword [edi + ecx*4]
cmp dword [ebp], edx
je 0x4ef8ce
inc ecx
cmp ecx, eax
jl 0x4ef8c1
mov ebp, dword [esp + 0x38]
cmp ecx, eax
jne 0x4efb00
push 0x90
call fcn.0050d486
mov edi, eax
mov ecx, 0x24
xor eax, eax
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x14]
add esp, 4
xor ecx, ecx
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x3c]
mov dword [edx + 4], eax
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x24]
mov dword [edx], eax
mov edi, dword [esp + 0x10]
lea eax, [ebp + 0x64]
mov edx, dword [eax]
test edx, edx
je 0x4ef923
cmp edx, dword [edi]
je 0x4ef92e
inc ecx
add eax, 4
cmp ecx, 0x14
jb 0x4ef919
jmp 0x4ef939
mov dword [edi + 0xc], 1
mov edi, dword [esp + 0x10]
mov dword [edi + 8], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 0x3f
add ecx, 0x50
push eax
push ecx
call dword [fcn.004b4724]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x14]
push 0x3f
add edx, 0x10
push eax
push edx
call dword [fcn.004b4724]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp + 0xbc]
sub ecx, eax
sar ecx, 2
add esp, 0x18
cmp ecx, 1
jae 0x4efa74
mov edx, dword [esi + 4]
test edx, edx
je 0x4ef999
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x4ef99e
mov ecx, 1
test edx, edx
jne 0x4ef9a6
xor eax, eax
jmp 0x4ef9ab
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x2c], eax
jge 0x4ef9b7
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.0050d486
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x28], eax
mov ebx, eax
je 0x4ef9e8
push ebp
push ebx
call fcn.004e12d8
add ebp, 4
add esp, 8
add ebx, 4
cmp ebp, edi
jne 0x4ef9d4
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.004e12d8
mov ebp, dword [esi + 8]
add esp, 8
cmp edi, ebp
je 0x4efa14
add ebx, 4
push edi
push ebx
call fcn.004e12d8
add edi, 4
add esp, 8
add ebx, 4
cmp edi, ebp
jne 0x4efa00
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.004e1068
mov eax, dword [esi + 4]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 4
lea edx, [eax + ecx*4]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 4]
test edx, edx
jne 0x4efa59
mov ebp, dword [esp + 0x38]
xor ecx, ecx
mov dword [esi + 4], eax
lea ecx, [eax + ecx*4 + 4]
mov dword [esi + 8], ecx
jmp 0x4efb00
mov ecx, dword [esi + 8]
mov ebp, dword [esp + 0x38]
sub ecx, edx
mov dword [esi + 4], eax
sar ecx, 2
lea ecx, [eax + ecx*4 + 4]
mov dword [esi + 8], ecx
jmp 0x4efb00
mov edx, eax
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x4efac2
lea ecx, [edi + 4]
push ecx
push eax
push edi
mov ecx, esi
call fcn.004f0148
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.004e1078
mov eax, dword [esi + 8]
cmp edi, eax
je 0x4efafc
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x4efab3
jmp 0x4efafc
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.004f0148
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x4efae8
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x4efad9
lea eax, [edi + 4]
cmp edi, eax
je 0x4efafc
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x4efaef
add dword [esi + 8], 4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4ef870
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 8
call fcn.0050d468
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13c], 7
call fcn.004b4098
lea ecx, [esp + 0x6c]
mov byte [esp + 0x13c], 6
call fcn.004b4098
lea ecx, [esp + 0x114]
mov byte [esp + 0x13c], 5
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x13c], 4
call fcn.004b4098
lea ecx, [esp + 0x124]
mov byte [esp + 0x13c], 3
call fcn.004b4098
mov eax, dword [esp + 0x104]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x13c], 0xf
je 0x4efbaa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4efba1
cmp al, 0xff
je 0x4efba1
dec al
mov byte [ecx], al
jmp 0x4efbaa
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x104], esi
cmp eax, esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
je 0x4efbe7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4efbde
cmp al, 0xff
je 0x4efbde
dec al
mov byte [ecx], al
jmp 0x4efbe7
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xe0], esi
cmp eax, esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
je 0x4efd01
mov ecx, dword [esp + 0xb8]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xbc], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xd8]
dec eax
mov dword [esp + 0xd8], eax
je 0x4efc50
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
cmp edx, eax
jne 0x4efcf4
mov eax, dword [esp + 0xbc]
mov ecx, eax
add eax, 4
mov dword [esp + 0xbc], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xdc]
add esp, 4
cmp eax, esi
jne 0x4efcc9
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xd0]
xor edx, edx
push eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], esi
call fcn.0050d474
add esp, 4
jmp 0x4efcf4
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xb4], edx
cmp dword [esp + 0xd8], esi
jne 0x4efc0b
cmp dword [esp + 0xa8], esi
je 0x4efdf1
mov edi, 4
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0xa8]
add ecx, edi
dec eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0xa8], eax
je 0x4efd41
cmp ecx, dword [esp + 0x84]
jne 0x4efde4
mov ecx, dword [esp + 0x8c]
mov eax, ecx
add ecx, edi
mov dword [esp + 0x8c], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0xac]
add esp, 4
cmp eax, esi
jne 0x4efdb9
xor edx, edx
xor eax, eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xa0]
xor ecx, ecx
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], esi
call fcn.0050d474
add esp, 4
jmp 0x4efde4
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x84], edx
cmp dword [esp + 0xa8], esi
jne 0x4efd13
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 0
call fcn.0050d468
lea ecx, [esp + 0x34]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0050d468
mov ecx, dword [esp + 0x134]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret