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

Disassembly:
push 0xffffffffffffffff
push 0x4b124e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], edi
call fcn.004c5a38
lea ecx, [esp + 0x30]
mov dword [esp + 0x1f0], edi
call fcn.0050d46e
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 1
call fcn.0050d46e
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f0], 2
call fcn.0050d46e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f0], 3
call fcn.0050d46e
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 4
call fcn.0050d46e
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f0], 5
call fcn.0050d46e
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f0], 6
call fcn.0050d46e
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0x1f4], 7
call fcn.004b3b78
push edi
lea ecx, [esp + 0x154]
mov byte [esp + 0x1f4], 8
call fcn.004b3b78
push edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x1f4], 9
call fcn.004b3b78
push edi
lea ecx, [esp + 0x164]
mov byte [esp + 0x1f4], 0xa
call fcn.004b3b78
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1f0], 0xb
call fcn.004af1d8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0xc
call fcn.0050d46e
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f0], 0xd
call fcn.0050d46e
mov ebp, dword [esp + 0x1f8]
mov dword [esp + 0x170], edi
mov ecx, 0x1d
xor eax, eax
mov esi, dword [ebp + 0x44]
lea edi, [esp + 0x174]
rep stosd dword es:[edi], eax
mov eax, dword [0x4de8b0]
mov byte [esp + 0x1f0], 0xe
lea ecx, [eax + 0x110]
mov edx, dword [ecx]
push 1
push 1
call dword [edx + 4]
mov eax, dword [0x4de8b0]
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [eax + 0xcb0]
jne 0x4f90df
mov edx, dword [ebx + 0x54]
mov esi, dword [edx + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x50]
push edx
push ecx
lea ecx, [eax + 0xc5c]
call fcn.004c9298
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x1f8], 0xf
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xe
call fcn.004c5ab8
mov eax, dword [0x4de8b0]
mov ecx, dword [eax + 0xcb0]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
mov ebx, dword [esp + 0x1fc]
mov edx, dword [ebx + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d2984
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
mov eax, dword [ebp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed0
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
mov ecx, dword [esp + 0x200]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73d8
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
mov eax, dword [esp + 0x204]
test eax, eax
mov eax, 0x4d73d4
jne 0x4f91d4
mov eax, 0x4d73cc
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0050d630
push ecx
mov byte [esp + 0x1f8], 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4d73c0
call fcn.0050d630
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xe
call fcn.004c5ab8
mov edx, dword [ebx + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73b8
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x1f8], 0x11
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xe
call fcn.004c5ab8
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x1f8], 0x12
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4ceac4
call fcn.0050d630
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f8], 0xe
call fcn.004c5ab8
mov edi, dword [esp + 0x204]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73b0
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
xor eax, eax
cmp esi, 1
sete al
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73a8
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
xor ebp, ebp
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73a0
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
neg edi
sbb edi, edi
and edi, 7
inc edi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d1458
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
mov ecx, dword [ebx + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d7398
call fcn.0050d630
lea ecx, [esp + 0x28]
call fcn.004c5c48
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
call fcn.004c5a98
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f4], 0x13
call fcn.0050d5e8
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xe
call fcn.0050d468
push 1
push 1
push 1
lea ecx, [esp + 0x3c]
call fcn.00470bf8
push eax
push ebp
lea ecx, [esp + 0x44]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4de2c8
call fcn.0050d618
mov eax, dword [esp + 0x210]
mov edi, dword [ebx + 8]
mov byte [esp + 0x208], 0x14
mov ecx, dword [eax + 0x18]
mov eax, dword [ebx + 0xc]
xor ecx, eax
xor ecx, edi
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push ecx
push ebp
push esi
mov esi, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.004f53d8
lea eax, [esp + 0x34]
mov ecx, esi
push eax
mov byte [esp + 0x210], 0xe
call fcn.004fa798
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f4], 0x15
call fcn.0050d5e8
mov byte [esp + 0x1f0], 0xe
lea ecx, [esp + 0x18]
call fcn.0050d468
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.0050d48c
push ebp
lea ecx, [esp + 0x38]
call fcn.0050d492
mov cl, byte [esp + 0x57]
mov esi, eax
mov byte [esp + 0x3c], cl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
call dword [0x4b4610]
cmp eax, ebp
jae 0x4f9455
call dword [0x4b460c]
mov edx, dword [esp + 0x40]
xor edi, edi
cmp edx, edi
je 0x4f9480
mov al, byte [edx - 1]
test al, al
je 0x4f9480
cmp al, 0xff
je 0x4f9480
cmp ebp, edi
jne 0x4f94ab
dec al
push edi
lea ecx, [esp + 0x40]
mov byte [edx - 1], al
call dword [fcn.004b461c]
jmp 0x4f94da
cmp ebp, edi
jne 0x4f9492
push 1
lea ecx, [esp + 0x40]
call dword [fcn.004b461c]
jmp 0x4f94da
mov eax, dword [esp + 0x48]
cmp eax, 0x1f
ja 0x4f949f
cmp eax, ebp
jae 0x4f94ba
push 1
lea ecx, [esp + 0x40]
call dword [fcn.004b461c]
push ebp
lea ecx, [esp + 0x40]
call dword [0x4b4608]
mov edx, dword [esp + 0x40]
mov ecx, ebp
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
xor edi, edi
mov byte [eax + ebp], 0
lea ecx, [esp + 0x94]
push 1
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1fc], 0x16
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x1f0], 0xe
mov ebp, eax
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x10], ebp
je 0x4f9535
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f952c
cmp al, 0xff
je 0x4f952c
dec al
mov byte [ecx], al
jmp 0x4f9535
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
call fcn.0050d48c
cmp ebp, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
je 0x4f9b01
push 0x4d0bf0
lea ecx, [esp + 0x98]
call fcn.004b5078
push eax
lea ecx, [esp + 0x154]
call fcn.004b4218
push 0x4d13a0
lea ecx, [esp + 0x98]
call fcn.004b5078
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f4], 0x17
call fcn.0050d5e8
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xe
call fcn.0050d468
mov ecx, dword [esp + 0x5c]
mov esi, dword [fcn.004b46f0]
push 0x4d85a8
push ecx
call esi
add esp, 8
test eax, eax
je 0x4f95ee
mov edx, dword [esp + 0x5c]
push 0x4cf224
push edx
call esi
add esp, 8
test eax, eax
je 0x4f95ee
xor ebp, ebp
mov dword [ebx + 4], 1
jmp 0x4f9b2d
mov eax, dword [esp + 0x200]
cmp eax, edi
je 0x4f9616
mov ebp, dword [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.004fe708
cmp eax, edi
je 0x4f961a
mov ecx, dword [eax + 0x24]
cmp ecx, edi
je 0x4f961a
dec ecx
mov dword [eax + 0x24], ecx
jmp 0x4f961a
mov ebp, dword [esp + 0x2c]
push 0x4d738c
lea ecx, [esp + 0x98]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x204]
mov ecx, ebp
push eax
call fcn.004fe708
mov ecx, dword [ebp + 0x54]
mov edi, eax
mov eax, dword [esp + 0x1f8]
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x20]
jne 0x4f9679
push 0x4d12dc
lea ecx, [esp + 0x74]
call fcn.0050d630
mov dword [esp + 0x14], 1
mov byte [esp + 0x1f0], 0x18
jmp 0x4f96c8
add eax, 0x10
push eax
lea eax, [esp + 0x80]
push 0x4d12d8
push eax
call fcn.0050d612
mov dword [esp + 0x14], 2
push 0x4d0b44
lea ecx, [esp + 0x84]
push eax
push ecx
mov dword [esp + 0x1fc], 0x19
call fcn.0050d60c
mov dword [esp + 0x14], 6
mov dword [esp + 0x1f0], 0x1a
push eax
lea ecx, [esp + 0x1c]
call fcn.0050d618
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1e
test al, 4
je 0x4f96fb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x80]
and al, 0xfb
mov dword [esp + 0x14], eax
call fcn.0050d468
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1d
test al, 2
je 0x4f9721
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
and al, 0xfd
mov dword [esp + 0x14], eax
call fcn.0050d468
mov al, byte [esp + 0x14]
mov dword [esp + 0x1f0], 0x1c
test al, 1
je 0x4f973d
lea ecx, [esp + 0x70]
call fcn.0050d468
test esi, esi
je 0x4f97cf
test edi, edi
je 0x4f974e
add edi, 4
jmp 0x4f9753
mov edi, 0x4d7380
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.004f6a68
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push esi
push ecx
lea eax, [ebx + 0x28]
push edx
push eax
push edi
lea ecx, [esp + 0x4c]
push 0x4d747c
push ecx
mov byte [esp + 0x20c], 0x1f
call fcn.0050d5e2
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x1c
call fcn.0050d468
push 0x4d7348
lea ecx, [esp + 0x98]
call fcn.004b5078
push eax
call fcn.00477948
mov dword [ebx + 0x20], eax
mov edx, dword [0x4de244]
add edx, esi
add esp, 4
mov dword [0x4de244], edx
mov eax, dword [ebp + 0x54]
add dword [eax + 0x30], esi
jmp 0x4f9816
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, ebp
call fcn.004f6a68
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
push ecx
add ebx, 0x28
push edx
push ebx
lea eax, [esp + 0x44]
push 0x4d745c
push eax
mov byte [esp + 0x204], 0x20
call fcn.0050d5e2
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x1c
call fcn.0050d468
lea ecx, [esp + 0x150]
call fcn.004b4318
cmp eax, 6
jne 0x4f9acc
lea ecx, [esp + 0x150]
call fcn.004b4e58
mov esi, eax
dec esi
js 0x4f997b
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1f8]
push esi
lea ecx, [esp + 0x154]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x88]
call fcn.004b4218
push 0x4d0bec
lea ecx, [esp + 0x88]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xac], eax
push 0x4d0bd0
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], esi
push 0x4d0be4
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0xb4], eax
push 0x4d0b08
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb0], eax
push 0
push ecx
push ebp
mov ecx, ebx
call fcn.004f9f48
test eax, eax
je 0x4f9974
mov edx, dword [esp + 0xb0]
mov edi, dword [esp + 0xa8]
xor eax, eax
lea ecx, [esp + 0x178]
cmp dword [ecx - 4], edx
jne 0x4f9926
cmp dword [ecx], edi
je 0x4f9937
cmp dword [ecx - 8], 0
je 0x4f9948
inc eax
add ecx, 0xc
cmp eax, 0xa
jl 0x4f991d
jmp 0x4f9974
lea ecx, [eax + eax*2]
inc dword [esp + ecx*4 + 0x170]
lea ecx, [esp + ecx*4 + 0x170]
cmp eax, 0xa
jge 0x4f9974
lea eax, [eax + eax*2]
shl eax, 2
cmp dword [esp + eax + 0x170], 0
lea ecx, [esp + eax + 0x170]
jne 0x4f9974
mov dword [esp + eax + 0x174], edx
mov dword [esp + eax + 0x178], edi
inc dword [ecx]
dec esi
jns 0x4f984b
push 0x4d85a8
lea ecx, [esp + 0x2c]
call fcn.0050d47a
xor ebp, ebp
lea esi, [esp + 0x170]
mov ebx, dword [esi]
test ebx, ebx
je 0x4f9a7e
mov edx, dword [esp + 0x28]
push 0x4d85a8
push edx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
je 0x4f99c1
push 0x4d12f4
lea ecx, [esp + 0x2c]
call fcn.0050d6a8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.004f6b38
mov edi, eax
lea eax, [esp + 0x78]
push ebx
push eax
mov byte [esp + 0x1f8], 0x21
call fcn.00475958
add esp, 8
push 0x4d12ec
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x1fc], 0x22
call fcn.0050d60c
push edi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1fc], 0x23
call fcn.0050d6a2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0x24
call fcn.0050d696
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0x23
call fcn.0050d468
lea ecx, [esp + 0x74]
mov byte [esp + 0x1f0], 0x22
call fcn.0050d468
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f0], 0x21
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 0x1c
call fcn.0050d468
inc ebp
add esi, 0xc
cmp ebp, 0xa
jl 0x4f9992
mov eax, dword [esp + 0x28]
push 0x4d85a8
push eax
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
je 0x4f9acc
lea ecx, [esp + 0x28]
lea edx, [esp + 0x1c]
push ecx
push 0x4d731c
push edx
call fcn.0050d612
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f4], 0x25
call fcn.0050d696
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 0x1c
call fcn.0050d468
lea eax, [esp + 0x38]
lea ecx, [esp + 0x5c]
push eax
call fcn.0050d5e8
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f0], 0xe
call fcn.0050d468
mov ebx, dword [esp + 0x1fc]
mov ebp, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 4], 1
jmp 0x4f9b2d
mov ecx, dword [esp + 0x34]
push 0x4d85a8
push ecx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
jne 0x4f9b1f
push 0x4d13c0
jmp 0x4f9b24
push 0x4d13b4
lea ecx, [esp + 0x60]
call fcn.0050d47a
mov edx, dword [0x4de8b0]
push 1
push edi
mov eax, dword [edx + 0x110]
lea ecx, [edx + 0x110]
call dword [eax + 4]
mov edx, dword [0x4de8b0]
mov ecx, dword [esp + 0x1f8]
add edx, 0xc5c
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push eax
push ebp
call fcn.004fb3a8
mov esi, dword [esp + 0x208]
cmp esi, edi
je 0x4f9ba2
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.0050d5e8
lea edx, [esp + 0x60]
lea ecx, [esi + 4]
push edx
call fcn.0050d5e8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x1f0], 0x26
call fcn.0050d468
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1f0], 0xc
call fcn.0050d468
mov eax, dword [esp + 0x140]
mov byte [esp + 0x1f0], 0x27
cmp eax, edi
je 0x4f9bf4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f9beb
cmp al, 0xff
je 0x4f9beb
dec al
mov byte [ecx], al
jmp 0x4f9bf4
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x140], edi
cmp eax, edi
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], edi
je 0x4f9c31
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f9c28
cmp al, 0xff
je 0x4f9c28
dec al
mov byte [ecx], al
jmp 0x4f9c31
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0x114]
mov dword [esp + 0x11c], edi
cmp eax, edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
je 0x4f9d4d
mov ecx, dword [esp + 0xf4]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xf8], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0x114]
dec eax
mov dword [esp + 0x114], eax
je 0x4f9c9a
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
cmp eax, ecx
jne 0x4f9d40
mov eax, dword [esp + 0xf8]
mov ecx, eax
add eax, 4
mov dword [esp + 0xf8], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0x118]
add esp, 4
cmp eax, edi
jne 0x4f9d15
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x10c]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], eax
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], esi
call fcn.0050d474
add esp, 4
jmp 0x4f9d40
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xf0], edx
cmp dword [esp + 0x114], edi
jne 0x4f9c55
cmp dword [esp + 0xe4], edi
je 0x4f9e43
mov ebx, 4
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xe4]
add ecx, ebx
dec eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xe4], eax
je 0x4f9d91
mov eax, dword [esp + 0xc0]
mov edx, ecx
cmp edx, eax
jne 0x4f9e36
mov ecx, dword [esp + 0xc8]
mov eax, ecx
add ecx, ebx
mov dword [esp + 0xc8], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0xe8]
add esp, 4
cmp eax, edi
jne 0x4f9e0b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xdc]
xor edx, edx
xor esi, esi
push eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], esi
call fcn.0050d474
add esp, 4
jmp 0x4f9e36
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xc0], edx
cmp dword [esp + 0xe4], edi
jne 0x4f9d5f
lea ecx, [esp + 0x160]
mov byte [esp + 0x1f0], 0xa
call fcn.004b4098
lea ecx, [esp + 0x84]
mov byte [esp + 0x1f0], 9
call fcn.004b4098
lea ecx, [esp + 0x150]
mov byte [esp + 0x1f0], 8
call fcn.004b4098
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f0], 7
call fcn.004b4098
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f0], 6
call fcn.0050d468
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f0], 5
call fcn.0050d468
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f0], 4
call fcn.0050d468
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f0], 3
call fcn.0050d468
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f0], 2
call fcn.0050d468
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f0], 1
call fcn.0050d468
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f0], 0
call fcn.0050d468
lea ecx, [esp + 0x20]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.004c5a78
mov ecx, dword [esp + 0x1e8]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e4
ret 0x14