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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52c4fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xb0], 1
mov al, byte [esp + 0xf]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x18], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov cl, byte [esp + 0xf]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 5
mov byte [esp + 0x78], dl
call fcn.00405cc0
lea ecx, [ebp + 0x1c]
mov byte [esp + 0xb0], 6
call fcn.0048ab50
test ax, ax
jne 0x4aff37
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55802c
mov ecx, esi
call fcn.00408160
mov dword [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 5
call fcn.00405cc0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 4
call fcn.004e66d0
mov eax, dword [esp + 0x2c]
push eax
call fcn.00514120
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 3
call fcn.004a42a0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00514120
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ecx
push edx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xb8], 2
call fcn.00405f70
mov eax, dword [ebp + 0x10]
push eax
jmp 0x4b0587
lea ecx, [esp + 0x18]
lea edx, [ebp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0048a5f0
mov ecx, esi
call fcn.004afa40
cmp eax, ebx
je 0x4b0224
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4aff6f
mov ecx, dword [ebp + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x4aff7b
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
jmp 0x4b04c2
lea eax, [esp + 0x84]
lea edx, [ebp + 0x20]
push eax
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.004b1340
push ebx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 7
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.0048a5f0
mov ecx, esi
mov byte [esp + 0xdc], 6
call fcn.004af210
cmp eax, ebx
je 0x4b0153
mov ecx, dword [esp + 0x84]
mov eax, ecx
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x4affe5
jmp dword [eax*4 + 0x4b1300]
movsx eax, ch
jmp 0x4b000f
mov eax, dword [esp + 0x88]
jmp 0x4b000f
mov eax, dword [esp + 0x86]
and eax, 0xff
jmp 0x4b000f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4b0024
mov edx, dword [esp + 0x20]
sub edx, ecx
sar edx, 4
cmp eax, edx
jb 0x4b005e
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00405cc0
mov edi, 0x54f178
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x54f178
mov ecx, esi
call fcn.00408160
mov dword [esp + 0x6c], 1
jmp 0x4afe9b
mov edi, dword [ebp + 8]
push ebx
shl eax, 4
add eax, ecx
mov esi, eax
mov cl, byte [esi]
mov byte [edi], cl
mov ecx, edi
call fcn.00405cc0
mov edx, dword [0x531160]
mov ecx, edi
push edx
push ebx
push esi
call fcn.00407be0
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00405cc0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 4
call fcn.004e66d0
mov edx, dword [esp + 0x2c]
push edx
call fcn.00514120
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 3
call fcn.004a42a0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00514120
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push eax
push ecx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xb8], 2
call fcn.00405f70
mov edx, dword [ebp + 0x10]
push edx
jmp 0x4b1037
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55802c
jmp 0x4b004a
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55802c
mov ecx, esi
call fcn.00408160
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00405cc0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 4
call fcn.004e66d0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00514120
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push edx
push eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xb8], 3
call fcn.004a42a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00514120
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
add esp, 4
lea ecx, [ebp + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push edx
push eax
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xb8], 2
call fcn.00405f70
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x4b0587
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ecx, ebx
je 0x4b023e
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 4
ja 0x4b119f
lea edx, [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x4c]
cmp ecx, ebx
je 0x4b05d0
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4b05d0
lea eax, [esp + 0x84]
lea edx, [ebp + 0x20]
push eax
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x60], esp
push edx
call fcn.004b1340
push edi
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 8
call fcn.00405cb0
push ecx
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.0048a5f0
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0xdc], 6
call fcn.004af210
cmp eax, ebx
je 0x4b04bb
mov al, byte [esp + 0x84]
cmp al, 7
jb 0x4b02cb
cmp al, 0xa
jbe 0x4b03ea
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004b19b0
mov eax, dword [esp + 0x84]
cmp al, 7
jae 0x4b037f
mov edx, eax
and edx, 0xff
lea ecx, [edx - 1]
cmp ecx, 5
ja case.default.0x4b0300
jmp dword [ecx*4 + 0x4b1318]
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
movsx eax, ah
mov dword [esp + 0x14], eax
mov dword [ecx], eax
mov dword [esi + 4], ebx
jmp 0x4b03d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
mov dword [esi], ebx
mov dword [esp + 0x14], eax
mov dword [ecx], eax
mov dword [esi + 4], ebx
jmp 0x4b03d0
mov eax, dword [esp + 0x86]
mov ecx, dword [esp + 0x10]
and eax, 0xff
mov dword [esi], ebx
mov dword [esp + 0x14], eax
mov dword [ecx], eax
mov dword [esi + 4], ebx
jmp 0x4b03d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x8c]
mov dword [esi], ebx
mov dword [esp + 0x14], eax
mov dword [ecx], eax
mov dword [esi + 4], ebx
jmp 0x4b03d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ecx], eax
jmp 0x4b03d0
cmp al, 0xa
jbe 0x4b03d0
cmp al, 0xb
jne 0x4b0397
fld dword [esp + 0x90]
fstp qword [esp + 0x9c]
jmp 0x4b03b7
cmp al, 0xc
jne 0x4b03b7
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xa0]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
inc edi
add esi, 8
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
jmp 0x4b024c
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55802c
mov ecx, esi
call fcn.00408160
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00405cc0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 4
call fcn.004e66d0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00514120
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push edx
push eax
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xb8], 3
call fcn.004a42a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00514120
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
add esp, 4
lea ecx, [ebp + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push edx
push eax
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xb8], 2
call fcn.00405f70
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x4b0587
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x55802c
mov ecx, esi
call fcn.00408160
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00405cc0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xb8], 4
call fcn.004e66d0
mov edx, dword [esp + 0x2c]
push edx
call fcn.00514120
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xb8], 3
call fcn.004a42a0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00514120
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push eax
push ecx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xb8], 2
call fcn.00405f70
mov edx, dword [ebp + 0x10]
push edx
call fcn.00514120
add esp, 4
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov byte [esp + 0xb0], 1
call fcn.0048a720
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.004975f0
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4b1080
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x70], edx
je 0x4b1080
lea ecx, [ebp + 0x1c]
call fcn.0048ab50
movsx edi, ax
mov dword [esp + 0x38], edi
lea esi, [edi + 1]
push esi
call fcn.00514b36
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
shl ecx, 4
add ecx, edi
push ecx
call fcn.00514b36
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, ecx
mov dword [esp + 0x18], eax
xor eax, eax
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp + 0x1c]
call fcn.0048ab70
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x70]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x4b0675
jmp dword [eax*4 + 0x4b1330]
mov esi, dword [esp + 0x2c]
mov ecx, 6
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x84]
cmp al, 7
jae 0x4b06ff
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.00515a00
add esp, 8
test eax, eax
je 0x4b06e7
push 0x66
push esi
call fcn.00515a00
add esp, 8
test eax, eax
jne 0x4b06ca
push 0x46
push esi
call fcn.00515a00
add esp, 8
test eax, eax
je 0x4b06e7
fild dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push esi
push edx
call fcn.00514b75
add esp, 0x10
jmp 0x4b0a28
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.00514b75
add esp, 0xc
jmp 0x4b0a28
cmp al, 0xa
jbe 0x4b0a28
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.00515a00
add esp, 8
test eax, eax
je 0x4b0755
push 0x66
push esi
call fcn.00515a00
add esp, 8
test eax, eax
jne 0x4b0738
push 0x46
push esi
call fcn.00515a00
add esp, 8
test eax, eax
je 0x4b0755
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push esi
push ecx
call fcn.00514b75
add esp, 0x10
jmp 0x4b0a28
fld qword [esp + 0x4c]
call fcn.00514f08
mov edx, dword [esp + 0x10]
push eax
push esi
push edx
call fcn.00514b75
add esp, 0xc
jmp 0x4b0a28
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
cmp al, 7
jae 0x4b07d3
cmp byte [ecx + 0x18], 7
jae 0x4b07a3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x10
jmp 0x4b0a28
cmp al, 7
jae 0x4b07d3
cmp byte [ecx + 0x18], 0xa
jbe 0x4b07d3
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x14
jmp 0x4b0a28
cmp al, 0xa
jbe 0x4b0a28
cmp byte [ecx + 0x18], 7
jae 0x4b0807
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x14
jmp 0x4b0a28
cmp al, 0xa
jbe 0x4b0a28
cmp byte [ecx + 0x18], 0xa
jbe 0x4b0a28
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x18
jmp 0x4b0a28
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x4b0927
cmp byte [eax + 0x18], 7
jae 0x4b0885
cmp byte [eax + 0x30], 7
jae 0x4b0885
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x14
jmp 0x4b0a28
cmp cl, 7
jae 0x4b0927
cmp byte [eax + 0x18], 7
jae 0x4b08c5
cmp byte [eax + 0x30], 0xa
jbe 0x4b08c5
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
push ecx
push edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x18
jmp 0x4b0a28
cmp cl, 7
jae 0x4b0927
cmp byte [eax + 0x18], 0xa
jbe 0x4b08e6
cmp byte [eax + 0x30], 7
jae 0x4b08e6
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
jmp 0x4b08a8
cmp cl, 7
jae 0x4b0927
cmp byte [eax + 0x18], 0xa
jbe 0x4b0927
cmp byte [eax + 0x30], 0xa
jbe 0x4b0927
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x1c
jmp 0x4b0a28
cmp cl, 0xa
jbe 0x4b0a28
cmp byte [eax + 0x18], 7
jae 0x4b0967
cmp byte [eax + 0x30], 7
jae 0x4b0967
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x18
jmp 0x4b0a28
cmp cl, 0xa
jbe 0x4b0a28
cmp byte [eax + 0x18], 7
jae 0x4b09a9
cmp byte [eax + 0x30], 0xa
jbe 0x4b09a9
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x1c
jmp 0x4b0a28
cmp cl, 0xa
jbe 0x4b0a28
cmp byte [eax + 0x18], 0xa
jbe 0x4b09e7
cmp byte [eax + 0x30], 7
jae 0x4b09e7
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x1c
jmp 0x4b0a28
cmp cl, 0xa
jbe 0x4b0a28
cmp byte [eax + 0x18], 0xa
jbe 0x4b0a28
cmp byte [eax + 0x30], 0xa
jbe 0x4b0a28
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x20
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.00408160
jmp case.default.0x4b0675
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 7
jae 0x4b0a94
cmp byte [eax + 0x30], 7
jae 0x4b0a94
cmp byte [eax + 0x48], 7
jae 0x4b0a94
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x18
jmp 0x4b0ee8
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 7
jae 0x4b0adf
cmp byte [eax + 0x30], 7
jae 0x4b0adf
cmp byte [eax + 0x48], 0xa
jbe 0x4b0adf
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x1c
jmp 0x4b0ee8
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 7
jae 0x4b0b2a
cmp byte [eax + 0x30], 0xa
jbe 0x4b0b2a
cmp byte [eax + 0x48], 7
jae 0x4b0b2a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x1c
jmp 0x4b0ee8
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 7
jae 0x4b0b7a
cmp byte [eax + 0x30], 0xa
jbe 0x4b0b7a
cmp byte [eax + 0x48], 0xa
jbe 0x4b0b7a
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x48]
push ecx
push edx
mov ecx, dword [esp + 0x4c]
push eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x20
jmp 0x4b0ee8
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 0xa
jbe 0x4b0bad
cmp byte [eax + 0x30], 7
jae 0x4b0bad
cmp byte [eax + 0x48], 7
jae 0x4b0bad
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
jmp 0x4b0b0d
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 0xa
jbe 0x4b0be5
cmp byte [eax + 0x30], 7
jae 0x4b0be5
cmp byte [eax + 0x48], 0xa
jbe 0x4b0be5
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
jmp 0x4b0b5d
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 0xa
jbe 0x4b0c35
cmp byte [eax + 0x30], 0xa
jbe 0x4b0c35
cmp byte [eax + 0x48], 7
jae 0x4b0c35
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x20
jmp 0x4b0ee8
cmp cl, 7
jae 0x4b0c86
cmp byte [eax + 0x18], 0xa
jbe 0x4b0c86
cmp byte [eax + 0x30], 0xa
jbe 0x4b0c86
cmp byte [eax + 0x48], 0xa
jbe 0x4b0c86
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x24
jmp 0x4b0ee8
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 7
jae 0x4b0cbe
cmp byte [eax + 0x30], 7
jae 0x4b0cbe
cmp byte [eax + 0x48], 7
jae 0x4b0cbe
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
jmp 0x4b0ac7
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 7
jae 0x4b0d0e
cmp byte [eax + 0x30], 7
jae 0x4b0d0e
cmp byte [eax + 0x48], 0xa
jbe 0x4b0d0e
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.00514b75
add esp, 0x20
jmp 0x4b0ee8
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 7
jae 0x4b0d5e
cmp byte [eax + 0x30], 0xa
jbe 0x4b0d5e
cmp byte [eax + 0x48], 7
jae 0x4b0d5e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x20
jmp 0x4b0ee8
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 7
jae 0x4b0db3
cmp byte [eax + 0x30], 0xa
jbe 0x4b0db3
cmp byte [eax + 0x48], 0xa
jbe 0x4b0db3
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x24
jmp 0x4b0ee8
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 0xa
jbe 0x4b0df0
cmp byte [eax + 0x30], 7
jae 0x4b0df0
cmp byte [eax + 0x48], 7
jae 0x4b0df0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
jmp 0x4b0b62
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 0xa
jbe 0x4b0e45
cmp byte [eax + 0x30], 7
jae 0x4b0e45
cmp byte [eax + 0x48], 0xa
jbe 0x4b0e45
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x24
jmp 0x4b0ee8
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 0xa
jbe 0x4b0e97
cmp byte [eax + 0x30], 0xa
jbe 0x4b0e97
cmp byte [eax + 0x48], 7
jae 0x4b0e97
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00514b75
add esp, 0x24
jmp 0x4b0ee8
cmp cl, 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x18], 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x30], 0xa
jbe 0x4b0ee8
cmp byte [eax + 0x48], 0xa
jbe 0x4b0ee8
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00514b75
add esp, 0x28
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ecx
push ecx
lea ecx, [esp + 0x7c]
call fcn.00408220
test al, al
je case.default.0x4b0675
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x78]
mov ecx, eax
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 ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov byte [eax + ecx], bl
mov edx, dword [esp + 0x14]
push edx
call fcn.00514120
mov eax, dword [esp + 0x14]
push eax
call fcn.00514120
mov edi, dword [ebp + 8]
mov cl, byte [esp + 0x7c]
add esp, 8
lea eax, [esp + 0x74]
mov byte [edi], cl
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov edx, dword [0x531160]
mov ecx, edi
push edx
push ebx
push eax
call fcn.00407be0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x4b0f9b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b0f92
cmp al, 0xff
je 0x4b0f92
dec al
mov byte [ecx], al
jmp 0x4b0f9b
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
push ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.00514120
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 4
cmp esi, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xb0], 3
mov dword [esp + 0x38], eax
je 0x4b0ff6
push 1
mov ecx, esi
call fcn.00405cc0
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp esi, eax
jne 0x4b0fde
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514120
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
add esp, 4
cmp esi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
mov dword [esp + 0x38], eax
je 0x4b1036
mov ecx, esi
call fcn.0048a720
mov eax, dword [esp + 0x38]
add esi, 4
cmp esi, eax
jne 0x4b1021
mov esi, dword [ebp + 0x10]
push esi
call fcn.00514120
add esp, 4
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov byte [esp + 0xb0], 1
call fcn.0048a720
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.004975f0
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c
mov edx, dword [ebp + 8]
mov al, byte [esp + 0xf]
mov edi, 0x55802c
or ecx, 0xffffffff
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ecx
push ecx
mov ecx, edx
call fcn.00408220
test al, al
je 0x4b10df
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov esi, 0x55802c
mov edi, dword [ecx + 4]
mov ecx, eax
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 ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ecx + 8], eax
add eax, edx
mov byte [eax], bl
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x4b110c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b1103
cmp al, 0xff
je 0x4b1103
dec al
mov byte [ecx], al
jmp 0x4b110c
push ecx
call fcn.00514120
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
push eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.00514120
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 4
cmp edi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xb0], 3
je 0x4b115f
push 1
mov ecx, edi
call fcn.00405cc0
add edi, 0x10
cmp edi, esi
jne 0x4b114b
mov edi, dword [esp + 0x1c]
push edi
call fcn.00514120
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
add esp, 4
cmp edi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
mov esi, eax
je 0x4b12b5
mov ecx, edi
call fcn.0048a720
add edi, 4
cmp edi, esi
jne 0x4b118c
jmp 0x4b12b2
mov edx, dword [ebp + 8]
mov cl, byte [esp + 0xf]
mov edi, 0x55802c
xor eax, eax
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x74], ecx
push ecx
mov ecx, edx
call fcn.00408220
test al, al
je 0x4b11fb
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, 0x55802c
mov edi, dword [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov dword [eax + 8], ecx
mov eax, dword [eax + 4]
add eax, ecx
mov byte [eax], bl
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x4b1228
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b121f
cmp al, 0xff
je 0x4b121f
dec al
mov byte [ecx], al
jmp 0x4b1228
push ecx
call fcn.00514120
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
push eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.00514120
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 4
cmp edi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0xb0], 3
je 0x4b127b
push 1
mov ecx, edi
call fcn.00405cc0
add edi, 0x10
cmp edi, esi
jne 0x4b1267
mov edi, dword [esp + 0x1c]
push edi
call fcn.00514120
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
add esp, 4
cmp edi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
mov esi, eax
je 0x4b12b5
mov ecx, edi
call fcn.0048a720
add edi, 4
cmp edi, esi
jne 0x4b12a4
mov edi, dword [ebp + 0x10]
push edi
call fcn.00514120
add esp, 4
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov byte [esp + 0xb0], 1
call fcn.0048a720
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.004975f0
mov ecx, dword [esp + 0xa8]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x3c