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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f59d
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.004013e0
lea ecx, [ebp + 0x1c]
mov byte [esp + 0xb0], 6
call fcn.004f5d00
test ax, ax
jne 0x50cd67
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004013e0
mov edi, 0x554048
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x554048
mov ecx, esi
call fcn.00401510
mov dword [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 5
call fcn.004013e0
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.004f5420
mov eax, dword [esp + 0x2c]
push eax
call fcn.00514140
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.00507930
mov eax, dword [esp + 0x1c]
push eax
call fcn.00514140
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.0041ff50
mov eax, dword [ebp + 0x10]
push eax
jmp 0x50d3b7
lea ecx, [esp + 0x18]
lea edx, [ebp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004f5850
mov ecx, esi
call fcn.0050c870
cmp eax, ebx
je 0x50d054
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x50cd9f
mov ecx, dword [ebp + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x50cdab
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
jmp 0x50d2f2
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.0050e170
push ebx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 7
call fcn.0041fe70
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.004f5850
mov ecx, esi
mov byte [esp + 0xdc], 6
call fcn.0050c040
cmp eax, ebx
je 0x50cf83
mov ecx, dword [esp + 0x84]
mov eax, ecx
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x50ce15
jmp dword [eax*4 + 0x50e130]
movsx eax, ch
jmp 0x50ce3f
mov eax, dword [esp + 0x88]
jmp 0x50ce3f
mov eax, dword [esp + 0x86]
and eax, 0xff
jmp 0x50ce3f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x50ce54
mov edx, dword [esp + 0x20]
sub edx, ecx
sar edx, 4
cmp eax, edx
jb 0x50ce8e
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004013e0
mov edi, 0x54e1dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x54e1dc
mov ecx, esi
call fcn.00401510
mov dword [esp + 0x6c], 1
jmp 0x50cccb
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.004013e0
mov edx, dword [0x530168]
mov ecx, edi
push edx
push ebx
push esi
call fcn.004011e0
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004013e0
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.004f5420
mov edx, dword [esp + 0x2c]
push edx
call fcn.00514140
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.00507930
mov edx, dword [esp + 0x1c]
push edx
call fcn.00514140
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.0041ff50
mov edx, dword [ebp + 0x10]
push edx
jmp 0x50de67
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004013e0
mov edi, 0x554048
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x554048
jmp 0x50ce7a
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004013e0
mov edi, 0x554048
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x554048
mov ecx, esi
call fcn.00401510
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004013e0
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.004f5420
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00514140
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.00507930
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00514140
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.0041ff50
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x50d3b7
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ecx, ebx
je 0x50d06e
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 4
ja 0x50dfcf
lea edx, [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x4c]
cmp ecx, ebx
je 0x50d400
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x50d400
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.0050e170
push edi
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 8
call fcn.0041fe70
push ecx
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.004f5850
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0xdc], 6
call fcn.0050c040
cmp eax, ebx
je 0x50d2eb
mov al, byte [esp + 0x84]
cmp al, 7
jb 0x50d0fb
cmp al, 0xa
jbe 0x50d21a
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0050e7e0
mov eax, dword [esp + 0x84]
cmp al, 7
jae 0x50d1af
mov edx, eax
and edx, 0xff
lea ecx, [edx - 1]
cmp ecx, 5
ja case.default.0x50d130
jmp dword [ecx*4 + 0x50e148]
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 0x50d200
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 0x50d200
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 0x50d200
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 0x50d200
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ecx], eax
jmp 0x50d200
cmp al, 0xa
jbe 0x50d200
cmp al, 0xb
jne 0x50d1c7
fld dword [esp + 0x90]
fstp qword [esp + 0x9c]
jmp 0x50d1e7
cmp al, 0xc
jne 0x50d1e7
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 0x50d07c
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004013e0
mov edi, 0x554048
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x554048
mov ecx, esi
call fcn.00401510
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004013e0
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.004f5420
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00514140
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.00507930
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00514140
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.0041ff50
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x50d3b7
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.004013e0
mov edi, 0x554048
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x554048
mov ecx, esi
call fcn.00401510
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004013e0
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.004f5420
mov edx, dword [esp + 0x2c]
push edx
call fcn.00514140
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.00507930
mov edx, dword [esp + 0x1c]
push edx
call fcn.00514140
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.0041ff50
mov edx, dword [ebp + 0x10]
push edx
call fcn.00514140
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.004f5980
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.004f71e0
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 0x50deb0
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 0x50deb0
lea ecx, [ebp + 0x1c]
call fcn.004f5d00
movsx edi, ax
mov dword [esp + 0x38], edi
lea esi, [edi + 1]
push esi
call fcn.00514a8b
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
shl ecx, 4
add ecx, edi
push ecx
call fcn.00514a8b
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.004f5d20
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.0x50d4a5
jmp dword [eax*4 + 0x50e160]
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 0x50d52f
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.00515aa0
add esp, 8
test eax, eax
je 0x50d517
push 0x66
push esi
call fcn.00515aa0
add esp, 8
test eax, eax
jne 0x50d4fa
push 0x46
push esi
call fcn.00515aa0
add esp, 8
test eax, eax
je 0x50d517
fild dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push esi
push edx
call fcn.0051497a
add esp, 0x10
jmp 0x50d858
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.0051497a
add esp, 0xc
jmp 0x50d858
cmp al, 0xa
jbe 0x50d858
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.00515aa0
add esp, 8
test eax, eax
je 0x50d585
push 0x66
push esi
call fcn.00515aa0
add esp, 8
test eax, eax
jne 0x50d568
push 0x46
push esi
call fcn.00515aa0
add esp, 8
test eax, eax
je 0x50d585
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.0051497a
add esp, 0x10
jmp 0x50d858
fld qword [esp + 0x4c]
call fcn.00514a64
mov edx, dword [esp + 0x10]
push eax
push esi
push edx
call fcn.0051497a
add esp, 0xc
jmp 0x50d858
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
cmp al, 7
jae 0x50d603
cmp byte [ecx + 0x18], 7
jae 0x50d5d3
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.0051497a
add esp, 0x10
jmp 0x50d858
cmp al, 7
jae 0x50d603
cmp byte [ecx + 0x18], 0xa
jbe 0x50d603
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.0051497a
add esp, 0x14
jmp 0x50d858
cmp al, 0xa
jbe 0x50d858
cmp byte [ecx + 0x18], 7
jae 0x50d637
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.0051497a
add esp, 0x14
jmp 0x50d858
cmp al, 0xa
jbe 0x50d858
cmp byte [ecx + 0x18], 0xa
jbe 0x50d858
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.0051497a
add esp, 0x18
jmp 0x50d858
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x50d757
cmp byte [eax + 0x18], 7
jae 0x50d6b5
cmp byte [eax + 0x30], 7
jae 0x50d6b5
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.0051497a
add esp, 0x14
jmp 0x50d858
cmp cl, 7
jae 0x50d757
cmp byte [eax + 0x18], 7
jae 0x50d6f5
cmp byte [eax + 0x30], 0xa
jbe 0x50d6f5
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.0051497a
add esp, 0x18
jmp 0x50d858
cmp cl, 7
jae 0x50d757
cmp byte [eax + 0x18], 0xa
jbe 0x50d716
cmp byte [eax + 0x30], 7
jae 0x50d716
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
jmp 0x50d6d8
cmp cl, 7
jae 0x50d757
cmp byte [eax + 0x18], 0xa
jbe 0x50d757
cmp byte [eax + 0x30], 0xa
jbe 0x50d757
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.0051497a
add esp, 0x1c
jmp 0x50d858
cmp cl, 0xa
jbe 0x50d858
cmp byte [eax + 0x18], 7
jae 0x50d797
cmp byte [eax + 0x30], 7
jae 0x50d797
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.0051497a
add esp, 0x18
jmp 0x50d858
cmp cl, 0xa
jbe 0x50d858
cmp byte [eax + 0x18], 7
jae 0x50d7d9
cmp byte [eax + 0x30], 0xa
jbe 0x50d7d9
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.0051497a
add esp, 0x1c
jmp 0x50d858
cmp cl, 0xa
jbe 0x50d858
cmp byte [eax + 0x18], 0xa
jbe 0x50d817
cmp byte [eax + 0x30], 7
jae 0x50d817
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.0051497a
add esp, 0x1c
jmp 0x50d858
cmp cl, 0xa
jbe 0x50d858
cmp byte [eax + 0x18], 0xa
jbe 0x50d858
cmp byte [eax + 0x30], 0xa
jbe 0x50d858
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.0051497a
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.00401510
jmp case.default.0x50d4a5
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 7
jae 0x50d8c4
cmp byte [eax + 0x30], 7
jae 0x50d8c4
cmp byte [eax + 0x48], 7
jae 0x50d8c4
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.0051497a
add esp, 0x18
jmp 0x50dd18
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 7
jae 0x50d90f
cmp byte [eax + 0x30], 7
jae 0x50d90f
cmp byte [eax + 0x48], 0xa
jbe 0x50d90f
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.0051497a
add esp, 0x1c
jmp 0x50dd18
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 7
jae 0x50d95a
cmp byte [eax + 0x30], 0xa
jbe 0x50d95a
cmp byte [eax + 0x48], 7
jae 0x50d95a
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.0051497a
add esp, 0x1c
jmp 0x50dd18
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 7
jae 0x50d9aa
cmp byte [eax + 0x30], 0xa
jbe 0x50d9aa
cmp byte [eax + 0x48], 0xa
jbe 0x50d9aa
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.0051497a
add esp, 0x20
jmp 0x50dd18
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 0xa
jbe 0x50d9dd
cmp byte [eax + 0x30], 7
jae 0x50d9dd
cmp byte [eax + 0x48], 7
jae 0x50d9dd
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 0x50d93d
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 0xa
jbe 0x50da15
cmp byte [eax + 0x30], 7
jae 0x50da15
cmp byte [eax + 0x48], 0xa
jbe 0x50da15
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 0x50d98d
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 0xa
jbe 0x50da65
cmp byte [eax + 0x30], 0xa
jbe 0x50da65
cmp byte [eax + 0x48], 7
jae 0x50da65
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.0051497a
add esp, 0x20
jmp 0x50dd18
cmp cl, 7
jae 0x50dab6
cmp byte [eax + 0x18], 0xa
jbe 0x50dab6
cmp byte [eax + 0x30], 0xa
jbe 0x50dab6
cmp byte [eax + 0x48], 0xa
jbe 0x50dab6
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.0051497a
add esp, 0x24
jmp 0x50dd18
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 7
jae 0x50daee
cmp byte [eax + 0x30], 7
jae 0x50daee
cmp byte [eax + 0x48], 7
jae 0x50daee
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 0x50d8f7
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 7
jae 0x50db3e
cmp byte [eax + 0x30], 7
jae 0x50db3e
cmp byte [eax + 0x48], 0xa
jbe 0x50db3e
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.0051497a
add esp, 0x20
jmp 0x50dd18
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 7
jae 0x50db8e
cmp byte [eax + 0x30], 0xa
jbe 0x50db8e
cmp byte [eax + 0x48], 7
jae 0x50db8e
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.0051497a
add esp, 0x20
jmp 0x50dd18
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 7
jae 0x50dbe3
cmp byte [eax + 0x30], 0xa
jbe 0x50dbe3
cmp byte [eax + 0x48], 0xa
jbe 0x50dbe3
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.0051497a
add esp, 0x24
jmp 0x50dd18
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 0xa
jbe 0x50dc20
cmp byte [eax + 0x30], 7
jae 0x50dc20
cmp byte [eax + 0x48], 7
jae 0x50dc20
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 0x50d992
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 0xa
jbe 0x50dc75
cmp byte [eax + 0x30], 7
jae 0x50dc75
cmp byte [eax + 0x48], 0xa
jbe 0x50dc75
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.0051497a
add esp, 0x24
jmp 0x50dd18
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 0xa
jbe 0x50dcc7
cmp byte [eax + 0x30], 0xa
jbe 0x50dcc7
cmp byte [eax + 0x48], 7
jae 0x50dcc7
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.0051497a
add esp, 0x24
jmp 0x50dd18
cmp cl, 0xa
jbe 0x50dd18
cmp byte [eax + 0x18], 0xa
jbe 0x50dd18
cmp byte [eax + 0x30], 0xa
jbe 0x50dd18
cmp byte [eax + 0x48], 0xa
jbe 0x50dd18
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.0051497a
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.004016f0
test al, al
je case.default.0x50d4a5
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.00514140
mov eax, dword [esp + 0x14]
push eax
call fcn.00514140
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 [0x530168]
mov ecx, edi
push edx
push ebx
push eax
call fcn.004011e0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x50ddcb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50ddc2
cmp al, 0xff
je 0x50ddc2
dec al
mov byte [ecx], al
jmp 0x50ddcb
push ecx
call fcn.00514140
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.00514140
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 0x50de26
push 1
mov ecx, esi
call fcn.004013e0
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp esi, eax
jne 0x50de0e
mov esi, dword [esp + 0x1c]
push esi
call fcn.00514140
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 0x50de66
mov ecx, esi
call fcn.004f5980
mov eax, dword [esp + 0x38]
add esi, 4
cmp esi, eax
jne 0x50de51
mov esi, dword [ebp + 0x10]
push esi
call fcn.00514140
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.004f5980
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.004f71e0
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, 0x554048
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.004016f0
test al, al
je 0x50df0f
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov esi, 0x554048
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 0x50df3c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50df33
cmp al, 0xff
je 0x50df33
dec al
mov byte [ecx], al
jmp 0x50df3c
push ecx
call fcn.00514140
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.00514140
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 0x50df8f
push 1
mov ecx, edi
call fcn.004013e0
add edi, 0x10
cmp edi, esi
jne 0x50df7b
mov edi, dword [esp + 0x1c]
push edi
call fcn.00514140
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 0x50e0e5
mov ecx, edi
call fcn.004f5980
add edi, 4
cmp edi, esi
jne 0x50dfbc
jmp 0x50e0e2
mov edx, dword [ebp + 8]
mov cl, byte [esp + 0xf]
mov edi, 0x554048
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.004016f0
test al, al
je 0x50e02b
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, 0x554048
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 0x50e058
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50e04f
cmp al, 0xff
je 0x50e04f
dec al
mov byte [ecx], al
jmp 0x50e058
push ecx
call fcn.00514140
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.00514140
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 0x50e0ab
push 1
mov ecx, edi
call fcn.004013e0
add edi, 0x10
cmp edi, esi
jne 0x50e097
mov edi, dword [esp + 0x1c]
push edi
call fcn.00514140
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 0x50e0e5
mov ecx, edi
call fcn.004f5980
add edi, 4
cmp edi, esi
jne 0x50e0d4
mov edi, dword [ebp + 0x10]
push edi
call fcn.00514140
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.004f5980
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.004f71e0
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