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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c19ed
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.00403270
lea ecx, [ebp + 0x1c]
mov byte [esp + 0xb0], 6
call fcn.0048d410
test ax, ax
jne 0x4a4867
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov edi, 0x4e20c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4e20c8
mov ecx, esi
call fcn.00413980
mov dword [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 5
call fcn.00403270
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.004949b0
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ac910
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.0048a1b0
mov eax, dword [esp + 0x1c]
push eax
call fcn.004ac910
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.00405330
mov eax, dword [ebp + 0x10]
push eax
jmp 0x4a4eb7
lea ecx, [esp + 0x18]
lea edx, [ebp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0048d0b0
mov ecx, esi
call fcn.004a4370
cmp eax, ebx
je 0x4a4b54
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4a489f
mov ecx, dword [ebp + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x4a48ab
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
jmp 0x4a4df2
lea eax, [esp + 0x84]
lea edx, [ebp + 0x20]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004a5c70
push ebx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xc8], 7
call fcn.00405320
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.0048d0b0
mov ecx, esi
mov byte [esp + 0xc8], 6
call fcn.004a3b40
cmp eax, ebx
je 0x4a4a83
mov ecx, dword [esp + 0x84]
mov eax, ecx
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x4a4915
jmp dword [eax*4 + 0x4a5c30]
movsx eax, ch
jmp 0x4a493f
mov eax, dword [esp + 0x88]
jmp 0x4a493f
mov eax, dword [esp + 0x86]
and eax, 0xff
jmp 0x4a493f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4a4954
mov edx, dword [esp + 0x20]
sub edx, ecx
sar edx, 4
cmp eax, edx
jb 0x4a498e
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov edi, 0x4dd654
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4dd654
mov ecx, esi
call fcn.00413980
mov dword [esp + 0x6c], 1
jmp 0x4a47cb
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.00403270
mov edx, dword [0x4c21b8]
mov ecx, edi
push edx
push ebx
push esi
call fcn.00403070
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00403270
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.004949b0
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ac910
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.0048a1b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ac910
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.00405330
mov edx, dword [ebp + 0x10]
push edx
jmp 0x4a5967
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00403270
mov edi, 0x4e20c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4e20c8
jmp 0x4a497a
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00403270
mov edi, 0x4e20c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4e20c8
mov ecx, esi
call fcn.00413980
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00403270
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.004949b0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ac910
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.0048a1b0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ac910
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.00405330
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x4a4eb7
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ecx, ebx
je 0x4a4b6e
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 4
ja 0x4a5acf
lea edx, [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x4c]
cmp ecx, ebx
je 0x4a4f00
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4a4f00
lea eax, [esp + 0x84]
lea edx, [ebp + 0x20]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004a5c70
push edi
lea ecx, [ebp + 0xc]
mov byte [esp + 0xc8], 8
call fcn.00405320
push ecx
mov ecx, esp
mov dword [esp + 0xbc], esp
push eax
call fcn.0048d0b0
mov ecx, dword [esp + 0x88]
mov byte [esp + 0xc8], 6
call fcn.004a3b40
cmp eax, ebx
je 0x4a4deb
mov al, byte [esp + 0x84]
cmp al, 7
jb 0x4a4bfb
cmp al, 0xa
jbe 0x4a4d1a
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004a6290
mov eax, dword [esp + 0x84]
cmp al, 7
jae 0x4a4caf
mov edx, eax
and edx, 0xff
lea ecx, [edx - 1]
cmp ecx, 5
ja case.default.0x4a4c30
jmp dword [ecx*4 + 0x4a5c48]
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 0x4a4d00
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 0x4a4d00
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 0x4a4d00
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 0x4a4d00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ecx], eax
jmp 0x4a4d00
cmp al, 0xa
jbe 0x4a4d00
cmp al, 0xb
jne 0x4a4cc7
fld dword [esp + 0x90]
fstp qword [esp + 0x9c]
jmp 0x4a4ce7
cmp al, 0xc
jne 0x4a4ce7
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 0x4a4b7c
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00403270
mov edi, 0x4e20c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4e20c8
mov ecx, esi
call fcn.00413980
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00403270
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.004949b0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004ac910
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.0048a1b0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ac910
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.00405330
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x4a4eb7
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00403270
mov edi, 0x4e20c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4e20c8
mov ecx, esi
call fcn.00413980
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00403270
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.004949b0
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ac910
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.0048a1b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004ac910
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.00405330
mov edx, dword [ebp + 0x10]
push edx
call fcn.004ac910
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.0048d1e0
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.0048d8d0
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 0x28
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4a59b0
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 0x4a59b0
lea ecx, [ebp + 0x1c]
call fcn.0048d410
movsx edi, ax
mov dword [esp + 0x38], edi
lea esi, [edi + 1]
push esi
call fcn.004ad096
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
shl ecx, 4
add ecx, edi
push ecx
call fcn.004ad096
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.0048d420
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.0x4a4fa5
jmp dword [eax*4 + 0x4a5c60]
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 0x4a502f
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.004adc70
add esp, 8
test eax, eax
je 0x4a5017
push 0x66
push esi
call fcn.004adc70
add esp, 8
test eax, eax
jne 0x4a4ffa
push 0x46
push esi
call fcn.004adc70
add esp, 8
test eax, eax
je 0x4a5017
fild dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push esi
push edx
call fcn.004ad4e5
add esp, 0x10
jmp 0x4a5358
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.004ad4e5
add esp, 0xc
jmp 0x4a5358
cmp al, 0xa
jbe 0x4a5358
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.004adc70
add esp, 8
test eax, eax
je 0x4a5085
push 0x66
push esi
call fcn.004adc70
add esp, 8
test eax, eax
jne 0x4a5068
push 0x46
push esi
call fcn.004adc70
add esp, 8
test eax, eax
je 0x4a5085
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.004ad4e5
add esp, 0x10
jmp 0x4a5358
fld qword [esp + 0x4c]
call fcn.004ad538
mov edx, dword [esp + 0x10]
push eax
push esi
push edx
call fcn.004ad4e5
add esp, 0xc
jmp 0x4a5358
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
cmp al, 7
jae 0x4a5103
cmp byte [ecx + 0x18], 7
jae 0x4a50d3
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.004ad4e5
add esp, 0x10
jmp 0x4a5358
cmp al, 7
jae 0x4a5103
cmp byte [ecx + 0x18], 0xa
jbe 0x4a5103
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.004ad4e5
add esp, 0x14
jmp 0x4a5358
cmp al, 0xa
jbe 0x4a5358
cmp byte [ecx + 0x18], 7
jae 0x4a5137
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.004ad4e5
add esp, 0x14
jmp 0x4a5358
cmp al, 0xa
jbe 0x4a5358
cmp byte [ecx + 0x18], 0xa
jbe 0x4a5358
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.004ad4e5
add esp, 0x18
jmp 0x4a5358
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x4a5257
cmp byte [eax + 0x18], 7
jae 0x4a51b5
cmp byte [eax + 0x30], 7
jae 0x4a51b5
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.004ad4e5
add esp, 0x14
jmp 0x4a5358
cmp cl, 7
jae 0x4a5257
cmp byte [eax + 0x18], 7
jae 0x4a51f5
cmp byte [eax + 0x30], 0xa
jbe 0x4a51f5
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.004ad4e5
add esp, 0x18
jmp 0x4a5358
cmp cl, 7
jae 0x4a5257
cmp byte [eax + 0x18], 0xa
jbe 0x4a5216
cmp byte [eax + 0x30], 7
jae 0x4a5216
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
jmp 0x4a51d8
cmp cl, 7
jae 0x4a5257
cmp byte [eax + 0x18], 0xa
jbe 0x4a5257
cmp byte [eax + 0x30], 0xa
jbe 0x4a5257
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.004ad4e5
add esp, 0x1c
jmp 0x4a5358
cmp cl, 0xa
jbe 0x4a5358
cmp byte [eax + 0x18], 7
jae 0x4a5297
cmp byte [eax + 0x30], 7
jae 0x4a5297
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.004ad4e5
add esp, 0x18
jmp 0x4a5358
cmp cl, 0xa
jbe 0x4a5358
cmp byte [eax + 0x18], 7
jae 0x4a52d9
cmp byte [eax + 0x30], 0xa
jbe 0x4a52d9
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.004ad4e5
add esp, 0x1c
jmp 0x4a5358
cmp cl, 0xa
jbe 0x4a5358
cmp byte [eax + 0x18], 0xa
jbe 0x4a5317
cmp byte [eax + 0x30], 7
jae 0x4a5317
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.004ad4e5
add esp, 0x1c
jmp 0x4a5358
cmp cl, 0xa
jbe 0x4a5358
cmp byte [eax + 0x18], 0xa
jbe 0x4a5358
cmp byte [eax + 0x30], 0xa
jbe 0x4a5358
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.004ad4e5
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.00413980
jmp case.default.0x4a4fa5
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 7
jae 0x4a53c4
cmp byte [eax + 0x30], 7
jae 0x4a53c4
cmp byte [eax + 0x48], 7
jae 0x4a53c4
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.004ad4e5
add esp, 0x18
jmp 0x4a5818
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 7
jae 0x4a540f
cmp byte [eax + 0x30], 7
jae 0x4a540f
cmp byte [eax + 0x48], 0xa
jbe 0x4a540f
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.004ad4e5
add esp, 0x1c
jmp 0x4a5818
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 7
jae 0x4a545a
cmp byte [eax + 0x30], 0xa
jbe 0x4a545a
cmp byte [eax + 0x48], 7
jae 0x4a545a
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.004ad4e5
add esp, 0x1c
jmp 0x4a5818
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 7
jae 0x4a54aa
cmp byte [eax + 0x30], 0xa
jbe 0x4a54aa
cmp byte [eax + 0x48], 0xa
jbe 0x4a54aa
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.004ad4e5
add esp, 0x20
jmp 0x4a5818
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 0xa
jbe 0x4a54dd
cmp byte [eax + 0x30], 7
jae 0x4a54dd
cmp byte [eax + 0x48], 7
jae 0x4a54dd
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 0x4a543d
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 0xa
jbe 0x4a5515
cmp byte [eax + 0x30], 7
jae 0x4a5515
cmp byte [eax + 0x48], 0xa
jbe 0x4a5515
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 0x4a548d
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 0xa
jbe 0x4a5565
cmp byte [eax + 0x30], 0xa
jbe 0x4a5565
cmp byte [eax + 0x48], 7
jae 0x4a5565
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.004ad4e5
add esp, 0x20
jmp 0x4a5818
cmp cl, 7
jae 0x4a55b6
cmp byte [eax + 0x18], 0xa
jbe 0x4a55b6
cmp byte [eax + 0x30], 0xa
jbe 0x4a55b6
cmp byte [eax + 0x48], 0xa
jbe 0x4a55b6
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.004ad4e5
add esp, 0x24
jmp 0x4a5818
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 7
jae 0x4a55ee
cmp byte [eax + 0x30], 7
jae 0x4a55ee
cmp byte [eax + 0x48], 7
jae 0x4a55ee
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 0x4a53f7
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 7
jae 0x4a563e
cmp byte [eax + 0x30], 7
jae 0x4a563e
cmp byte [eax + 0x48], 0xa
jbe 0x4a563e
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.004ad4e5
add esp, 0x20
jmp 0x4a5818
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 7
jae 0x4a568e
cmp byte [eax + 0x30], 0xa
jbe 0x4a568e
cmp byte [eax + 0x48], 7
jae 0x4a568e
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.004ad4e5
add esp, 0x20
jmp 0x4a5818
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 7
jae 0x4a56e3
cmp byte [eax + 0x30], 0xa
jbe 0x4a56e3
cmp byte [eax + 0x48], 0xa
jbe 0x4a56e3
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.004ad4e5
add esp, 0x24
jmp 0x4a5818
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 0xa
jbe 0x4a5720
cmp byte [eax + 0x30], 7
jae 0x4a5720
cmp byte [eax + 0x48], 7
jae 0x4a5720
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 0x4a5492
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 0xa
jbe 0x4a5775
cmp byte [eax + 0x30], 7
jae 0x4a5775
cmp byte [eax + 0x48], 0xa
jbe 0x4a5775
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.004ad4e5
add esp, 0x24
jmp 0x4a5818
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 0xa
jbe 0x4a57c7
cmp byte [eax + 0x30], 0xa
jbe 0x4a57c7
cmp byte [eax + 0x48], 7
jae 0x4a57c7
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.004ad4e5
add esp, 0x24
jmp 0x4a5818
cmp cl, 0xa
jbe 0x4a5818
cmp byte [eax + 0x18], 0xa
jbe 0x4a5818
cmp byte [eax + 0x30], 0xa
jbe 0x4a5818
cmp byte [eax + 0x48], 0xa
jbe 0x4a5818
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.004ad4e5
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.00403400
test al, al
je case.default.0x4a4fa5
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.004ac910
mov eax, dword [esp + 0x14]
push eax
call fcn.004ac910
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 [0x4c21b8]
mov ecx, edi
push edx
push ebx
push eax
call fcn.00403070
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x4a58cb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a58c2
cmp al, 0xff
je 0x4a58c2
dec al
mov byte [ecx], al
jmp 0x4a58cb
push ecx
call fcn.004ac910
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.004ac910
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 0x4a5926
push 1
mov ecx, esi
call fcn.00403270
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp esi, eax
jne 0x4a590e
mov esi, dword [esp + 0x1c]
push esi
call fcn.004ac910
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 0x4a5966
mov ecx, esi
call fcn.0048d1e0
mov eax, dword [esp + 0x38]
add esi, 4
cmp esi, eax
jne 0x4a5951
mov esi, dword [ebp + 0x10]
push esi
call fcn.004ac910
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.0048d1e0
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.0048d8d0
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 0x28
mov edx, dword [ebp + 8]
mov al, byte [esp + 0xf]
mov edi, 0x4e20c8
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.00403400
test al, al
je 0x4a5a0f
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov esi, 0x4e20c8
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 0x4a5a3c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a5a33
cmp al, 0xff
je 0x4a5a33
dec al
mov byte [ecx], al
jmp 0x4a5a3c
push ecx
call fcn.004ac910
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.004ac910
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 0x4a5a8f
push 1
mov ecx, edi
call fcn.00403270
add edi, 0x10
cmp edi, esi
jne 0x4a5a7b
mov edi, dword [esp + 0x1c]
push edi
call fcn.004ac910
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 0x4a5be5
mov ecx, edi
call fcn.0048d1e0
add edi, 4
cmp edi, esi
jne 0x4a5abc
jmp 0x4a5be2
mov edx, dword [ebp + 8]
mov cl, byte [esp + 0xf]
mov edi, 0x4e20c8
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.00403400
test al, al
je 0x4a5b2b
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, 0x4e20c8
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 0x4a5b58
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a5b4f
cmp al, 0xff
je 0x4a5b4f
dec al
mov byte [ecx], al
jmp 0x4a5b58
push ecx
call fcn.004ac910
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.004ac910
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 0x4a5bab
push 1
mov ecx, edi
call fcn.00403270
add edi, 0x10
cmp edi, esi
jne 0x4a5b97
mov edi, dword [esp + 0x1c]
push edi
call fcn.004ac910
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 0x4a5be5
mov ecx, edi
call fcn.0048d1e0
add edi, 4
cmp edi, esi
jne 0x4a5bd4
mov edi, dword [ebp + 0x10]
push edi
call fcn.004ac910
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.0048d1e0
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.0048d8d0
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 0x28