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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57160d
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.00404bb0
lea ecx, [ebp + 0x1c]
mov byte [esp + 0xb0], 6
call fcn.00531b50
test ax, ax
jne 0x54cbc7
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00404bb0
mov edi, 0x5c65b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5c65b8
mov ecx, esi
call fcn.0040a330
mov dword [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xb4], 5
call fcn.00404bb0
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.00550750
mov eax, dword [esp + 0x2c]
push eax
call fcn.00556360
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.00454c10
mov eax, dword [esp + 0x1c]
push eax
call fcn.00556360
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.00404c00
mov eax, dword [ebp + 0x10]
push eax
jmp 0x54d217
lea ecx, [esp + 0x18]
lea edx, [ebp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00531810
mov ecx, esi
call fcn.0054c6d0
cmp eax, ebx
je 0x54ceb4
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x54cbff
mov ecx, dword [ebp + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 4
je 0x54cc0b
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
jmp 0x54d152
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.0054dfd0
push ebx
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 7
call fcn.0042ab20
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.00531810
mov ecx, esi
mov byte [esp + 0xdc], 6
call fcn.0054bea0
cmp eax, ebx
je 0x54cde3
mov ecx, dword [esp + 0x84]
mov eax, ecx
and eax, 0xff
dec eax
cmp eax, 5
ja case.default.0x54cc75
jmp dword [eax*4 + 0x54df90]
movsx eax, ch
jmp 0x54cc9f
mov eax, dword [esp + 0x88]
jmp 0x54cc9f
mov eax, dword [esp + 0x86]
and eax, 0xff
jmp 0x54cc9f
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x54ccb4
mov edx, dword [esp + 0x20]
sub edx, ecx
sar edx, 4
cmp eax, edx
jb 0x54ccee
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00404bb0
mov edi, 0x5bea48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5bea48
mov ecx, esi
call fcn.0040a330
mov dword [esp + 0x6c], 1
jmp 0x54cb2b
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.00404bb0
mov edx, dword [0x57217c]
mov ecx, edi
push edx
push ebx
push esi
call fcn.004049b0
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00404bb0
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.00550750
mov edx, dword [esp + 0x2c]
push edx
call fcn.00556360
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.00454c10
mov edx, dword [esp + 0x1c]
push edx
call fcn.00556360
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.00404c00
mov edx, dword [ebp + 0x10]
push edx
jmp 0x54dcc7
mov esi, dword [ebp + 8]
mov al, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00404bb0
mov edi, 0x5c65b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5c65b8
jmp 0x54ccda
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00404bb0
mov edi, 0x5c65b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5c65b8
mov ecx, esi
call fcn.0040a330
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00404bb0
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.00550750
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00556360
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.00454c10
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00556360
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.00404c00
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x54d217
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ecx, ebx
je 0x54cece
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edx, 4
ja 0x54de2f
lea edx, [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x10], edx
lea esi, [esp + 0x4c]
cmp ecx, ebx
je 0x54d260
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x54d260
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.0054dfd0
push edi
lea ecx, [ebp + 0xc]
mov byte [esp + 0xdc], 8
call fcn.0042ab20
push ecx
mov ecx, esp
mov dword [esp + 0xd0], esp
push eax
call fcn.00531810
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0xdc], 6
call fcn.0054bea0
cmp eax, ebx
je 0x54d14b
mov al, byte [esp + 0x84]
cmp al, 7
jb 0x54cf5b
cmp al, 0xa
jbe 0x54d07a
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0054e670
mov eax, dword [esp + 0x84]
cmp al, 7
jae 0x54d00f
mov edx, eax
and edx, 0xff
lea ecx, [edx - 1]
cmp ecx, 5
ja case.default.0x54cf90
jmp dword [ecx*4 + 0x54dfa8]
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 0x54d060
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 0x54d060
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 0x54d060
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 0x54d060
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ecx], eax
jmp 0x54d060
cmp al, 0xa
jbe 0x54d060
cmp al, 0xb
jne 0x54d027
fld dword [esp + 0x90]
fstp qword [esp + 0x9c]
jmp 0x54d047
cmp al, 0xc
jne 0x54d047
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 0x54cedc
mov esi, dword [ebp + 8]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00404bb0
mov edi, 0x5c65b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5c65b8
mov ecx, esi
call fcn.0040a330
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00404bb0
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.00550750
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00556360
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.00454c10
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00556360
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.00404c00
mov ecx, dword [ebp + 0x10]
push ecx
jmp 0x54d217
mov esi, dword [ebp + 8]
mov dl, byte [esp + 0xf]
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00404bb0
mov edi, 0x5c65b8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5c65b8
mov ecx, esi
call fcn.0040a330
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 1
mov byte [esp + 0xb4], 5
call fcn.00404bb0
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.00550750
mov edx, dword [esp + 0x2c]
push edx
call fcn.00556360
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.00454c10
mov edx, dword [esp + 0x1c]
push edx
call fcn.00556360
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.00404c00
mov edx, dword [ebp + 0x10]
push edx
call fcn.00556360
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.00531940
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.00539fa0
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 0x54dd10
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 0x54dd10
lea ecx, [ebp + 0x1c]
call fcn.00531b50
movsx edi, ax
mov dword [esp + 0x38], edi
lea esi, [edi + 1]
push esi
call fcn.00556a96
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
shl ecx, 4
add ecx, edi
push ecx
call fcn.00556a96
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.00531b60
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.0x54d305
jmp dword [eax*4 + 0x54dfc0]
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 0x54d38f
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.00556fd0
add esp, 8
test eax, eax
je 0x54d377
push 0x66
push esi
call fcn.00556fd0
add esp, 8
test eax, eax
jne 0x54d35a
push 0x46
push esi
call fcn.00556fd0
add esp, 8
test eax, eax
je 0x54d377
fild dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub esp, 8
fstp qword [esp]
push esi
push edx
call fcn.00556aa4
add esp, 0x10
jmp 0x54d6b8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.00556aa4
add esp, 0xc
jmp 0x54d6b8
cmp al, 0xa
jbe 0x54d6b8
mov esi, dword [esp + 0x14]
push 0x25
push esi
call fcn.00556fd0
add esp, 8
test eax, eax
je 0x54d3e5
push 0x66
push esi
call fcn.00556fd0
add esp, 8
test eax, eax
jne 0x54d3c8
push 0x46
push esi
call fcn.00556fd0
add esp, 8
test eax, eax
je 0x54d3e5
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.00556aa4
add esp, 0x10
jmp 0x54d6b8
fld qword [esp + 0x4c]
call fcn.00556e88
mov edx, dword [esp + 0x10]
push eax
push esi
push edx
call fcn.00556aa4
add esp, 0xc
jmp 0x54d6b8
mov ecx, dword [esp + 0x2c]
mov al, byte [ecx]
cmp al, 7
jae 0x54d463
cmp byte [ecx + 0x18], 7
jae 0x54d433
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.00556aa4
add esp, 0x10
jmp 0x54d6b8
cmp al, 7
jae 0x54d463
cmp byte [ecx + 0x18], 0xa
jbe 0x54d463
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.00556aa4
add esp, 0x14
jmp 0x54d6b8
cmp al, 0xa
jbe 0x54d6b8
cmp byte [ecx + 0x18], 7
jae 0x54d497
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.00556aa4
add esp, 0x14
jmp 0x54d6b8
cmp al, 0xa
jbe 0x54d6b8
cmp byte [ecx + 0x18], 0xa
jbe 0x54d6b8
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.00556aa4
add esp, 0x18
jmp 0x54d6b8
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x54d5b7
cmp byte [eax + 0x18], 7
jae 0x54d515
cmp byte [eax + 0x30], 7
jae 0x54d515
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.00556aa4
add esp, 0x14
jmp 0x54d6b8
cmp cl, 7
jae 0x54d5b7
cmp byte [eax + 0x18], 7
jae 0x54d555
cmp byte [eax + 0x30], 0xa
jbe 0x54d555
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.00556aa4
add esp, 0x18
jmp 0x54d6b8
cmp cl, 7
jae 0x54d5b7
cmp byte [eax + 0x18], 0xa
jbe 0x54d576
cmp byte [eax + 0x30], 7
jae 0x54d576
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
jmp 0x54d538
cmp cl, 7
jae 0x54d5b7
cmp byte [eax + 0x18], 0xa
jbe 0x54d5b7
cmp byte [eax + 0x30], 0xa
jbe 0x54d5b7
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.00556aa4
add esp, 0x1c
jmp 0x54d6b8
cmp cl, 0xa
jbe 0x54d6b8
cmp byte [eax + 0x18], 7
jae 0x54d5f7
cmp byte [eax + 0x30], 7
jae 0x54d5f7
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.00556aa4
add esp, 0x18
jmp 0x54d6b8
cmp cl, 0xa
jbe 0x54d6b8
cmp byte [eax + 0x18], 7
jae 0x54d639
cmp byte [eax + 0x30], 0xa
jbe 0x54d639
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.00556aa4
add esp, 0x1c
jmp 0x54d6b8
cmp cl, 0xa
jbe 0x54d6b8
cmp byte [eax + 0x18], 0xa
jbe 0x54d677
cmp byte [eax + 0x30], 7
jae 0x54d677
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.00556aa4
add esp, 0x1c
jmp 0x54d6b8
cmp cl, 0xa
jbe 0x54d6b8
cmp byte [eax + 0x18], 0xa
jbe 0x54d6b8
cmp byte [eax + 0x30], 0xa
jbe 0x54d6b8
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.00556aa4
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.0040a330
jmp case.default.0x54d305
mov eax, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 7
jae 0x54d724
cmp byte [eax + 0x30], 7
jae 0x54d724
cmp byte [eax + 0x48], 7
jae 0x54d724
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.00556aa4
add esp, 0x18
jmp 0x54db78
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 7
jae 0x54d76f
cmp byte [eax + 0x30], 7
jae 0x54d76f
cmp byte [eax + 0x48], 0xa
jbe 0x54d76f
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.00556aa4
add esp, 0x1c
jmp 0x54db78
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 7
jae 0x54d7ba
cmp byte [eax + 0x30], 0xa
jbe 0x54d7ba
cmp byte [eax + 0x48], 7
jae 0x54d7ba
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.00556aa4
add esp, 0x1c
jmp 0x54db78
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 7
jae 0x54d80a
cmp byte [eax + 0x30], 0xa
jbe 0x54d80a
cmp byte [eax + 0x48], 0xa
jbe 0x54d80a
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.00556aa4
add esp, 0x20
jmp 0x54db78
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 0xa
jbe 0x54d83d
cmp byte [eax + 0x30], 7
jae 0x54d83d
cmp byte [eax + 0x48], 7
jae 0x54d83d
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 0x54d79d
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 0xa
jbe 0x54d875
cmp byte [eax + 0x30], 7
jae 0x54d875
cmp byte [eax + 0x48], 0xa
jbe 0x54d875
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 0x54d7ed
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 0xa
jbe 0x54d8c5
cmp byte [eax + 0x30], 0xa
jbe 0x54d8c5
cmp byte [eax + 0x48], 7
jae 0x54d8c5
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.00556aa4
add esp, 0x20
jmp 0x54db78
cmp cl, 7
jae 0x54d916
cmp byte [eax + 0x18], 0xa
jbe 0x54d916
cmp byte [eax + 0x30], 0xa
jbe 0x54d916
cmp byte [eax + 0x48], 0xa
jbe 0x54d916
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.00556aa4
add esp, 0x24
jmp 0x54db78
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 7
jae 0x54d94e
cmp byte [eax + 0x30], 7
jae 0x54d94e
cmp byte [eax + 0x48], 7
jae 0x54d94e
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 0x54d757
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 7
jae 0x54d99e
cmp byte [eax + 0x30], 7
jae 0x54d99e
cmp byte [eax + 0x48], 0xa
jbe 0x54d99e
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.00556aa4
add esp, 0x20
jmp 0x54db78
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 7
jae 0x54d9ee
cmp byte [eax + 0x30], 0xa
jbe 0x54d9ee
cmp byte [eax + 0x48], 7
jae 0x54d9ee
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.00556aa4
add esp, 0x20
jmp 0x54db78
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 7
jae 0x54da43
cmp byte [eax + 0x30], 0xa
jbe 0x54da43
cmp byte [eax + 0x48], 0xa
jbe 0x54da43
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.00556aa4
add esp, 0x24
jmp 0x54db78
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 0xa
jbe 0x54da80
cmp byte [eax + 0x30], 7
jae 0x54da80
cmp byte [eax + 0x48], 7
jae 0x54da80
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 0x54d7f2
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 0xa
jbe 0x54dad5
cmp byte [eax + 0x30], 7
jae 0x54dad5
cmp byte [eax + 0x48], 0xa
jbe 0x54dad5
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.00556aa4
add esp, 0x24
jmp 0x54db78
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 0xa
jbe 0x54db27
cmp byte [eax + 0x30], 0xa
jbe 0x54db27
cmp byte [eax + 0x48], 7
jae 0x54db27
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.00556aa4
add esp, 0x24
jmp 0x54db78
cmp cl, 0xa
jbe 0x54db78
cmp byte [eax + 0x18], 0xa
jbe 0x54db78
cmp byte [eax + 0x30], 0xa
jbe 0x54db78
cmp byte [eax + 0x48], 0xa
jbe 0x54db78
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.00556aa4
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.00404d70
test al, al
je case.default.0x54d305
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.00556360
mov eax, dword [esp + 0x14]
push eax
call fcn.00556360
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 [0x57217c]
mov ecx, edi
push edx
push ebx
push eax
call fcn.004049b0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], 1
cmp eax, ebx
je 0x54dc2b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x54dc22
cmp al, 0xff
je 0x54dc22
dec al
mov byte [ecx], al
jmp 0x54dc2b
push ecx
call fcn.00556360
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.00556360
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 0x54dc86
push 1
mov ecx, esi
call fcn.00404bb0
mov eax, dword [esp + 0x38]
add esi, 0x10
cmp esi, eax
jne 0x54dc6e
mov esi, dword [esp + 0x1c]
push esi
call fcn.00556360
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 0x54dcc6
mov ecx, esi
call fcn.00531940
mov eax, dword [esp + 0x38]
add esi, 4
cmp esi, eax
jne 0x54dcb1
mov esi, dword [ebp + 0x10]
push esi
call fcn.00556360
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.00531940
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.00539fa0
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, 0x5c65b8
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.00404d70
test al, al
je 0x54dd6f
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov esi, 0x5c65b8
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 0x54dd9c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x54dd93
cmp al, 0xff
je 0x54dd93
dec al
mov byte [ecx], al
jmp 0x54dd9c
push ecx
call fcn.00556360
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.00556360
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 0x54ddef
push 1
mov ecx, edi
call fcn.00404bb0
add edi, 0x10
cmp edi, esi
jne 0x54dddb
mov edi, dword [esp + 0x1c]
push edi
call fcn.00556360
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 0x54df45
mov ecx, edi
call fcn.00531940
add edi, 4
cmp edi, esi
jne 0x54de1c
jmp 0x54df42
mov edx, dword [ebp + 8]
mov cl, byte [esp + 0xf]
mov edi, 0x5c65b8
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.00404d70
test al, al
je 0x54de8b
mov ecx, dword [esp + 0x70]
mov eax, dword [ebp + 8]
mov edx, ecx
mov esi, 0x5c65b8
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 0x54deb8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x54deaf
cmp al, 0xff
je 0x54deaf
dec al
mov byte [ecx], al
jmp 0x54deb8
push ecx
call fcn.00556360
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.00556360
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 0x54df0b
push 1
mov ecx, edi
call fcn.00404bb0
add edi, 0x10
cmp edi, esi
jne 0x54def7
mov edi, dword [esp + 0x1c]
push edi
call fcn.00556360
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 0x54df45
mov ecx, edi
call fcn.00531940
add edi, 4
cmp edi, esi
jne 0x54df34
mov edi, dword [ebp + 0x10]
push edi
call fcn.00556360
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.00531940
lea ecx, [ebp + 0x20]
mov byte [esp + 0xb0], bl
call fcn.00539fa0
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