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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4efb2d
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.004019e0
lea ecx, [ebp + 0x1c]
mov byte [esp + 0xb0], 6
call fcn.00454280
test ax, ax
jne 0x472457
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004019e0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x512a68
mov ecx, esi
call fcn.00404080
mov dword [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 5
call fcn.004019e0
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.004ca170
mov eax, dword [esp + 0x2c]
push eax
call fcn.004db420
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.0041e7b0
mov eax, dword [esp + 0x1c]
push eax
call fcn.004db420
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.00404010
mov eax, dword [ebp + 0x10]
push eax
jmp 0x472aa7
lea ecx, [esp + 0x18]
lea edx, [ebp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00453d70
mov ecx, esi
call fcn.00471f60
cmp eax, ebx
je 0x472744
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x47248f
mov ecx, dword [ebp + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x47249b
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
jmp 0x4729e2
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.0041bd10
push ebx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 7
call fcn.00403fc0
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.00453d70
mov ecx, esi
mov byte [esp + 0xdc], 6
call fcn.00471730
cmp eax, ebx
je 0x472673
mov ecx, dword [esp + 0x84]
mov eax, ecx
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x472505
jmp dword [eax*4 + 0x473820]
movsx eax, ch
jmp 0x47252f
mov eax, dword [esp + 0x88]
jmp 0x47252f
mov eax, dword [esp + 0x86]
and eax, 0xff
jmp 0x47252f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x472544
mov edx, dword [esp + 0x20]
sub edx, ecx
sar edx, 4
cmp eax, edx
jb 0x47257e
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004019e0
mov edi, 0x509a30
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509a30
mov ecx, esi
call fcn.00404080
mov dword [esp + 0x6c], 1
jmp 0x4723bb
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.004019e0
mov edx, dword [0x4f4164]
mov ecx, edi
push edx
push ebx
push esi
call fcn.004017e0
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004019e0
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.004ca170
mov edx, dword [esp + 0x2c]
push edx
call fcn.004db420
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.0041e7b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004db420
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.00404010
mov edx, dword [ebp + 0x10]
push edx
jmp 0x473557
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.004019e0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x512a68
jmp 0x47256a
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004019e0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x512a68
mov ecx, esi
call fcn.00404080
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004019e0
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.004ca170
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004db420
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.0041e7b0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004db420
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.00404010
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x472aa7
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ecx, ebx
je 0x47275e
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 4
ja 0x4736bf
lea edx, [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x4c]
cmp ecx, ebx
je 0x472af0
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x472af0
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.0041bd10
push edi
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 8
call fcn.00403fc0
push ecx
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.00453d70
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0xdc], 6
call fcn.00471730
cmp eax, ebx
je 0x4729db
mov al, byte [esp + 0x84]
cmp al, 7
jb 0x4727eb
cmp al, 0xa
jbe 0x47290a
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00473d20
mov eax, dword [esp + 0x84]
cmp al, 7
jae 0x47289f
mov edx, eax
and edx, 0xff
lea ecx, [edx - 1]
cmp ecx, 5
ja case.default.0x472820
jmp dword [ecx*4 + 0x473838]
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 0x4728f0
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 0x4728f0
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 0x4728f0
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 0x4728f0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ecx], eax
jmp 0x4728f0
cmp al, 0xa
jbe 0x4728f0
cmp al, 0xb
jne 0x4728b7
fld dword [esp + 0x90]
fstp qword [esp + 0x9c]
jmp 0x4728d7
cmp al, 0xc
jne 0x4728d7
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 0x47276c
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004019e0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x512a68
mov ecx, esi
call fcn.00404080
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004019e0
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.004ca170
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004db420
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.0041e7b0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004db420
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.00404010
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x472aa7
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.004019e0
mov edi, 0x512a68
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x512a68
mov ecx, esi
call fcn.00404080
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.004019e0
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.004ca170
mov edx, dword [esp + 0x2c]
push edx
call fcn.004db420
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.0041e7b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004db420
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.00404010
mov edx, dword [ebp + 0x10]
push edx
call fcn.004db420
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.00453ea0
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.0046ed80
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 0x4735a0
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 0x4735a0
lea ecx, [ebp + 0x1c]
call fcn.00454280
movsx edi, ax
mov dword [esp + 0x38], edi
lea esi, [edi + 1]
push esi
call fcn.004dbc04
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
shl ecx, 4
add ecx, edi
push ecx
call fcn.004dbc04
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.004542a0
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.0x472b95
jmp dword [eax*4 + 0x473850]
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 0x472c1f
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.004dc1f0
add esp, 8
test eax, eax
je 0x472c07
push 0x66
push esi
call fcn.004dc1f0
add esp, 8
test eax, eax
jne 0x472bea
push 0x46
push esi
call fcn.004dc1f0
add esp, 8
test eax, eax
je 0x472c07
fild dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push esi
push edx
call fcn.004dbc12
add esp, 0x10
jmp 0x472f48
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.004dbc12
add esp, 0xc
jmp 0x472f48
cmp al, 0xa
jbe 0x472f48
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.004dc1f0
add esp, 8
test eax, eax
je 0x472c75
push 0x66
push esi
call fcn.004dc1f0
add esp, 8
test eax, eax
jne 0x472c58
push 0x46
push esi
call fcn.004dc1f0
add esp, 8
test eax, eax
je 0x472c75
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.004dbc12
add esp, 0x10
jmp 0x472f48
fld qword [esp + 0x4c]
call fcn.004dc2fc
mov edx, dword [esp + 0x10]
push eax
push esi
push edx
call fcn.004dbc12
add esp, 0xc
jmp 0x472f48
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
cmp al, 7
jae 0x472cf3
cmp byte [ecx + 0x18], 7
jae 0x472cc3
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.004dbc12
add esp, 0x10
jmp 0x472f48
cmp al, 7
jae 0x472cf3
cmp byte [ecx + 0x18], 0xa
jbe 0x472cf3
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.004dbc12
add esp, 0x14
jmp 0x472f48
cmp al, 0xa
jbe 0x472f48
cmp byte [ecx + 0x18], 7
jae 0x472d27
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.004dbc12
add esp, 0x14
jmp 0x472f48
cmp al, 0xa
jbe 0x472f48
cmp byte [ecx + 0x18], 0xa
jbe 0x472f48
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.004dbc12
add esp, 0x18
jmp 0x472f48
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x472e47
cmp byte [eax + 0x18], 7
jae 0x472da5
cmp byte [eax + 0x30], 7
jae 0x472da5
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.004dbc12
add esp, 0x14
jmp 0x472f48
cmp cl, 7
jae 0x472e47
cmp byte [eax + 0x18], 7
jae 0x472de5
cmp byte [eax + 0x30], 0xa
jbe 0x472de5
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.004dbc12
add esp, 0x18
jmp 0x472f48
cmp cl, 7
jae 0x472e47
cmp byte [eax + 0x18], 0xa
jbe 0x472e06
cmp byte [eax + 0x30], 7
jae 0x472e06
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
jmp 0x472dc8
cmp cl, 7
jae 0x472e47
cmp byte [eax + 0x18], 0xa
jbe 0x472e47
cmp byte [eax + 0x30], 0xa
jbe 0x472e47
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.004dbc12
add esp, 0x1c
jmp 0x472f48
cmp cl, 0xa
jbe 0x472f48
cmp byte [eax + 0x18], 7
jae 0x472e87
cmp byte [eax + 0x30], 7
jae 0x472e87
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.004dbc12
add esp, 0x18
jmp 0x472f48
cmp cl, 0xa
jbe 0x472f48
cmp byte [eax + 0x18], 7
jae 0x472ec9
cmp byte [eax + 0x30], 0xa
jbe 0x472ec9
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.004dbc12
add esp, 0x1c
jmp 0x472f48
cmp cl, 0xa
jbe 0x472f48
cmp byte [eax + 0x18], 0xa
jbe 0x472f07
cmp byte [eax + 0x30], 7
jae 0x472f07
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.004dbc12
add esp, 0x1c
jmp 0x472f48
cmp cl, 0xa
jbe 0x472f48
cmp byte [eax + 0x18], 0xa
jbe 0x472f48
cmp byte [eax + 0x30], 0xa
jbe 0x472f48
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.004dbc12
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.00404080
jmp case.default.0x472b95
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 7
jae 0x472fb4
cmp byte [eax + 0x30], 7
jae 0x472fb4
cmp byte [eax + 0x48], 7
jae 0x472fb4
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.004dbc12
add esp, 0x18
jmp 0x473408
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 7
jae 0x472fff
cmp byte [eax + 0x30], 7
jae 0x472fff
cmp byte [eax + 0x48], 0xa
jbe 0x472fff
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.004dbc12
add esp, 0x1c
jmp 0x473408
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 7
jae 0x47304a
cmp byte [eax + 0x30], 0xa
jbe 0x47304a
cmp byte [eax + 0x48], 7
jae 0x47304a
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.004dbc12
add esp, 0x1c
jmp 0x473408
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 7
jae 0x47309a
cmp byte [eax + 0x30], 0xa
jbe 0x47309a
cmp byte [eax + 0x48], 0xa
jbe 0x47309a
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.004dbc12
add esp, 0x20
jmp 0x473408
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 0xa
jbe 0x4730cd
cmp byte [eax + 0x30], 7
jae 0x4730cd
cmp byte [eax + 0x48], 7
jae 0x4730cd
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 0x47302d
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 0xa
jbe 0x473105
cmp byte [eax + 0x30], 7
jae 0x473105
cmp byte [eax + 0x48], 0xa
jbe 0x473105
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 0x47307d
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 0xa
jbe 0x473155
cmp byte [eax + 0x30], 0xa
jbe 0x473155
cmp byte [eax + 0x48], 7
jae 0x473155
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.004dbc12
add esp, 0x20
jmp 0x473408
cmp cl, 7
jae 0x4731a6
cmp byte [eax + 0x18], 0xa
jbe 0x4731a6
cmp byte [eax + 0x30], 0xa
jbe 0x4731a6
cmp byte [eax + 0x48], 0xa
jbe 0x4731a6
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.004dbc12
add esp, 0x24
jmp 0x473408
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 7
jae 0x4731de
cmp byte [eax + 0x30], 7
jae 0x4731de
cmp byte [eax + 0x48], 7
jae 0x4731de
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 0x472fe7
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 7
jae 0x47322e
cmp byte [eax + 0x30], 7
jae 0x47322e
cmp byte [eax + 0x48], 0xa
jbe 0x47322e
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.004dbc12
add esp, 0x20
jmp 0x473408
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 7
jae 0x47327e
cmp byte [eax + 0x30], 0xa
jbe 0x47327e
cmp byte [eax + 0x48], 7
jae 0x47327e
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.004dbc12
add esp, 0x20
jmp 0x473408
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 7
jae 0x4732d3
cmp byte [eax + 0x30], 0xa
jbe 0x4732d3
cmp byte [eax + 0x48], 0xa
jbe 0x4732d3
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.004dbc12
add esp, 0x24
jmp 0x473408
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 0xa
jbe 0x473310
cmp byte [eax + 0x30], 7
jae 0x473310
cmp byte [eax + 0x48], 7
jae 0x473310
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 0x473082
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 0xa
jbe 0x473365
cmp byte [eax + 0x30], 7
jae 0x473365
cmp byte [eax + 0x48], 0xa
jbe 0x473365
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.004dbc12
add esp, 0x24
jmp 0x473408
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 0xa
jbe 0x4733b7
cmp byte [eax + 0x30], 0xa
jbe 0x4733b7
cmp byte [eax + 0x48], 7
jae 0x4733b7
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.004dbc12
add esp, 0x24
jmp 0x473408
cmp cl, 0xa
jbe 0x473408
cmp byte [eax + 0x18], 0xa
jbe 0x473408
cmp byte [eax + 0x30], 0xa
jbe 0x473408
cmp byte [eax + 0x48], 0xa
jbe 0x473408
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.004dbc12
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.00401d50
test al, al
je case.default.0x472b95
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.004db420
mov eax, dword [esp + 0x14]
push eax
call fcn.004db420
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 [0x4f4164]
mov ecx, edi
push edx
push ebx
push eax
call fcn.004017e0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x4734bb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4734b2
cmp al, 0xff
je 0x4734b2
dec al
mov byte [ecx], al
jmp 0x4734bb
push ecx
call fcn.004db420
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.004db420
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 0x473516
push 1
mov ecx, esi
call fcn.004019e0
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp esi, eax
jne 0x4734fe
mov esi, dword [esp + 0x1c]
push esi
call fcn.004db420
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 0x473556
mov ecx, esi
call fcn.00453ea0
mov eax, dword [esp + 0x38]
add esi, 4
cmp esi, eax
jne 0x473541
mov esi, dword [ebp + 0x10]
push esi
call fcn.004db420
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.00453ea0
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.0046ed80
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, 0x512a68
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.00401d50
test al, al
je 0x4735ff
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov esi, 0x512a68
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 0x47362c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x473623
cmp al, 0xff
je 0x473623
dec al
mov byte [ecx], al
jmp 0x47362c
push ecx
call fcn.004db420
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.004db420
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 0x47367f
push 1
mov ecx, edi
call fcn.004019e0
add edi, 0x10
cmp edi, esi
jne 0x47366b
mov edi, dword [esp + 0x1c]
push edi
call fcn.004db420
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 0x4737d5
mov ecx, edi
call fcn.00453ea0
add edi, 4
cmp edi, esi
jne 0x4736ac
jmp 0x4737d2
mov edx, dword [ebp + 8]
mov cl, byte [esp + 0xf]
mov edi, 0x512a68
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.00401d50
test al, al
je 0x47371b
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, 0x512a68
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 0x473748
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47373f
cmp al, 0xff
je 0x47373f
dec al
mov byte [ecx], al
jmp 0x473748
push ecx
call fcn.004db420
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.004db420
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 0x47379b
push 1
mov ecx, edi
call fcn.004019e0
add edi, 0x10
cmp edi, esi
jne 0x473787
mov edi, dword [esp + 0x1c]
push edi
call fcn.004db420
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 0x4737d5
mov ecx, edi
call fcn.00453ea0
add edi, 4
cmp edi, esi
jne 0x4737c4
mov edi, dword [ebp + 0x10]
push edi
call fcn.004db420
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.00453ea0
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.0046ed80
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