Function at 0x52e907
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
mov ebp, dword [esp + 0x88]
mov eax, dword [ebp + 4]
cmp eax, 0xa
mov ebx, dword [ebp]
push esi
push edi
jne 0x52c98a
xor ecx, ecx
mov dword [ebp + 0xfa14], ecx
mov dword [ebp + 0xfa18], ecx
mov dword [ebp + 0xfa1c], ecx
mov dword [ebp + 0xfa20], ecx
mov dword [ebp + 0xfa24], ecx
mov dword [ebp + 0xfa28], ecx
mov dword [ebp + 0xfa2c], ecx
mov dword [ebp + 0xfa30], ecx
mov dword [ebp + 0xfa34], ecx
mov dword [ebp + 0xfa38], ecx
mov dword [ebp + 0xfa3c], ecx
mov dword [ebp + 0xfa40], ecx
mov dword [ebp + 0xfa44], ecx
mov dword [ebp + 0xfa48], ecx
mov dword [ebp + 0xfa4c], ecx
mov dword [ebp + 0xfa50], ecx
mov dword [ebp + 0xfa54], ecx
mov dword [ebp + 0xfa58], ecx
mov dword [ebp + 0xfa5c], ecx
mov dword [ebp + 0xfa60], ecx
mov dword [ebp + 0xfa64], ecx
mov dword [ebp + 0xfa68], ecx
mov dword [ebp + 0xfa6c], ecx
mov dword [ebp + 0xfa70], ecx
mov ecx, dword [ebp + 0xfa14]
mov edx, dword [ebp + 0xfa18]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xfa1c]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0xfa20]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xfa24]
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 0xfa28]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0xfa2c]
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0xfa30]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0xfa34]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0xfa38]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0xfa3c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xfa40]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0xfa44]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0xfa48]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xfa4c]
mov dword [esp + 0x58], edx
mov edx, dword [ebp + 0xfa50]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xfa54]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0xfa58]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xfa5c]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0xfa60]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0xfa64]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp + 0xfa68]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 0xfa6c]
mov dword [esp + 0x54], edx
mov edx, dword [ebp + 0xfa70]
add eax, 0xfffffff6
xor esi, esi
cmp eax, 0x28
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x4c], edx
ja case.default.0x52ca8b
lea edi, [esi + 1]
jmp dword [eax*4 + 0x52ec34]
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0xa
jge 0x52cae3
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov esi, dword [eax]
movzx esi, byte [esi]
mov edx, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl edx, 8
or edx, esi
mov dword [ebp + 0x1c], edx
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], 0xffffffff
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cade
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52caa3
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x42
je case.0x52ca8b.11
mov esi, 0xfffffffb
jmp 0x52eb2a
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0xb
jge 0x52cb60
jmp 0x52cb20
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov esi, dword [eax]
movzx esi, byte [esi]
mov edx, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl edx, 8
or edx, esi
mov dword [ebp + 0x1c], edx
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], 0xffffffff
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cb5b
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cb20
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x5a
jne 0x52cafd
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0xc
jge 0x52cbd0
jmp 0x52cb90
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov esi, dword [eax]
movzx esi, byte [esi]
mov edx, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl edx, 8
or edx, esi
mov dword [ebp + 0x1c], edx
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], 0xffffffff
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cbcb
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cb90
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x68
jne 0x52cafd
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0xd
jge 0x52cc40
nop
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov esi, dword [eax]
movzx esi, byte [esi]
mov edx, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl edx, 8
or edx, esi
mov dword [ebp + 0x1c], edx
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], 0xffffffff
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cc3b
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cc00
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp eax, 0x31
mov dword [ebp + 0x24], eax
jl 0x52cafd
cmp eax, 0x39
jg 0x52cafd
add eax, 0xffffffd0
cmp byte [ebp + 0x28], 0
mov dword [ebp + 0x24], eax
push edi
je 0x52ccc3
mov ecx, dword [ebx + 0x24]
imul eax, eax, 0x30d40
push eax
mov eax, dword [ebx + 0x2c]
push eax
call ecx
mov edx, dword [ebp + 0x24]
imul edx, edx, 0x186a0
add edx, edi
push edi
mov dword [ebp + 0xc50], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x24]
sar edx, 1
push edx
push eax
call ecx
cmp dword [ebp + 0xc50], 0
mov dword [ebp + 0xc54], eax
je 0x52ccb9
test eax, eax
jne case.0x52ca8b.14
mov esi, 0xfffffffd
jmp 0x52eb2a
mov edx, dword [ebx + 0x2c]
imul eax, eax, 0x61a80
push eax
mov eax, dword [ebx + 0x24]
push edx
call eax
test eax, eax
mov dword [ebp + 0xc4c], eax
jne case.0x52ca8b.14
lea esi, [eax - 3]
jmp 0x52eb2a
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0xe
jge 0x52cd3f
or edx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cd3a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cd00
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x17
je case.0x52ca8b.42
cmp al, 0x31
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0xf
jge 0x52cdbf
or edx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cdba
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cd80
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x41
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x10
jge 0x52ce30
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52ce2b
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cdf1
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x59
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x11
jge 0x52cea1
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52ce9c
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52ce62
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x26
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x12
jge 0x52cf12
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cf0d
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52ced3
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x53
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x13
jge 0x52cf8f
or edx, 0xffffffff
jmp 0x52cf50
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52cf8a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cf50
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x59
jne 0x52dc06
add dword [ebp + 0x2c], edi
mov dword [ebp + 0xc58], 0
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x14
jge 0x52d00f
or edx, 0xffffffff
mov edi, edi
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d00a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52cfd0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc58]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc58], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x15
jge 0x52d08f
or edx, 0xffffffff
lea ecx, [ecx]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d08a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52d050
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc58]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc58], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x16
jge 0x52d10f
or edx, 0xffffffff
lea ecx, [ecx]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d10a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52d0d0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc58]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc58], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x17
jge 0x52d18f
or edx, 0xffffffff
lea ecx, [ecx]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d18a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52d150
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc58]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc58], ecx
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x18
jge 0x52d20f
or edx, 0xffffffff
lea ecx, [edx + 9]
jmp 0x52d1d0
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d20a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52d1d0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
mov dword [ebp + 0x34], 0
and eax, edi
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
mov byte [ebp + 0x10], al
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x19
jge 0x52d27f
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d27a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52d240
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0x34]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x34], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x1a
jge 0x52d2ff
or edx, 0xffffffff
jmp 0x52d2c0
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d2fa
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52d2c0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0x34]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x34], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x1b
jge 0x52d37f
or edx, 0xffffffff
jmp 0x52d340
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d37a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52d340
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
lea ecx, [eax - 8]
shr edx, cl
add eax, 0xfffffff8
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x34]
and edx, 0xff
movzx ecx, dl
shl eax, 8
or eax, ecx
mov dword [ebp + 0x34], eax
jl 0x52dc06
mov edx, dword [ebp + 0x24]
imul edx, edx, 0x186a0
add edx, 0xa
cmp eax, edx
jg 0x52dc06
mov dword [esp + 0x10], 0
jmp 0x52d448
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x1c
jge 0x52d41f
mov edx, 8
or ecx, 0xffffffff
nop
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d41a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52d3e0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
cmp al, 1
mov eax, dword [esp + 0x10]
sete cl
mov byte [eax + ebp + 0xd6c], cl
add eax, edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0x10
jl case.0x52ca8b.28
push 0x100
lea eax, [ebp + 0xc6c]
push 0
push eax
call fcn.00549e40
add esp, 0xc
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x52d512
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x1d
jge 0x52d4cf
mov edx, 8
or ecx, 0xffffffff
jmp 0x52d490
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d4ca
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52d490
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
cmp al, 1
jne 0x52d4fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
shl edx, 4
add edx, ebp
mov byte [edx + eax + 0xc6c], 1
add dword [esp + 0x18], edi
cmp dword [esp + 0x18], 0x10
jl case.0x52ca8b.29
add dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
cmp eax, 0x10
jge 0x52d52b
cmp byte [eax + ebp + 0xd6c], 0
je 0x52d50a
mov dword [esp + 0x18], 0
jmp 0x52d4ff
mov eax, ebp
call fcn.0052c890
mov eax, dword [ebp + 0xc68]
test eax, eax
je 0x52dc06
add eax, 2
mov dword [esp + 0x64], eax
cmp dword [ebp + 0x20], 3
mov dword [ebp + 4], 0x1e
jge 0x52d5a0
mov edx, 8
or ecx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d59a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], 3
jl 0x52d560
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 3]
shr eax, cl
add edx, 0xfffffffd
mov dword [ebp + 0x20], edx
and eax, 7
cmp eax, 2
mov dword [esp + 0x50], eax
jl 0x52dc06
cmp eax, 6
jg 0x52dc06
cmp dword [ebp + 0x20], 0xf
mov dword [ebp + 4], 0x1f
jge 0x52d620
mov edx, 8
or ecx, 0xffffffff
nop
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d61a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], 0xf
jl 0x52d5e0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 0xf]
shr eax, cl
add edx, 0xfffffff1
mov dword [ebp + 0x20], edx
and eax, 0x7fff
cmp eax, edi
mov edx, eax
mov dword [esp + 0x48], edx
jl 0x52dc06
mov dword [esp + 0x10], 0
jmp 0x52d6df
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x20
jge 0x52d6af
mov edx, 8
or ecx, 0xffffffff
jmp 0x52d670
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d6aa
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52d670
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
test al, al
jne 0x52d6f2
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x18]
mov edx, dword [esp + 0x48]
mov byte [eax + ebp + 0x650e], cl
add eax, edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], edx
jge 0x52d710
mov dword [esp + 0x18], 0
jmp case.0x52ca8b.32
mov eax, dword [esp + 0x18]
add eax, edi
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
jl case.0x52ca8b.32
mov esi, 0xfffffffc
jmp 0x52eb2a
mov esi, dword [esp + 0x50]
xor al, al
test esi, esi
jle 0x52d730
xor ecx, ecx
lea esp, [esp]
mov byte [esp + ecx + 0x80], al
add al, 1
movzx ecx, al
cmp ecx, esi
jl 0x52d720
test edx, edx
mov dword [esp + 0x10], 0
jle 0x52d78f
lea esp, [esp]
mov edx, dword [esp + 0x10]
mov al, byte [edx + ebp + 0x650e]
test al, al
movzx ecx, al
mov dl, byte [esp + ecx + 0x80]
lea ecx, [esp + ecx + 0x80]
jbe 0x52d771
mov bl, byte [ecx - 1]
mov byte [ecx], bl
add al, 0xff
sub ecx, edi
test al, al
ja 0x52d760
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov byte [eax + ebp + 0x1ebc], dl
add eax, edi
cmp eax, dword [esp + 0x48]
mov byte [esp + 0x80], dl
mov dword [esp + 0x10], eax
jl 0x52d740
mov dword [esp + 0x38], 0
jmp 0x52d8d1
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x23
jge 0x52d7ef
mov edx, 8
or ecx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d7ea
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52d7b0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
test al, al
jne 0x52d80c
add dword [esp + 0x30], edi
jmp 0x52d810
sub dword [esp + 0x30], edi
mov eax, dword [esp + 0x30]
cmp eax, edi
jl 0x52dc06
cmp eax, 0x14
jg 0x52dc06
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x22
jge 0x52d87f
mov edx, 8
or ecx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d87a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52d840
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 1]
shr eax, cl
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
test al, al
jne case.0x52ca8b.35
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
imul ecx, ecx, 0x102
mov dl, byte [esp + 0x30]
add ecx, ebp
mov byte [ecx + eax + 0xab60], dl
add eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x64]
jl 0x52d810
add dword [esp + 0x38], edi
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x38], esi
jge 0x52d955
cmp dword [ebp + 0x20], 5
mov dword [ebp + 4], 0x21
jge 0x52d930
mov edx, 8
or ecx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52d92a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], 5
jl 0x52d8f0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 5]
shr eax, cl
mov dword [esp + 0x10], 0
and eax, 0x1f
add edx, 0xfffffffb
mov dword [ebp + 0x20], edx
mov dword [esp + 0x30], eax
jmp 0x52d8bb
test esi, esi
mov dword [esp + 0x38], 0
jle 0x52d9eb
mov eax, dword [esp + 0x50]
lea ecx, [ebp + 0xf9fc]
mov dword [esp + 0x5c], ecx
lea esi, [ebp + 0xc99c]
lea ebx, [ebp + 0xab60]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
xor edx, edx
xor ecx, ecx
cmp dword [esp + 0x64], edx
mov edi, 0x20
jle 0x52d9af
movzx eax, byte [ebx + edx]
cmp eax, ecx
jle 0x52d9a0
mov ecx, eax
cmp eax, edi
jge 0x52d9a6
mov edi, eax
add edx, 1
cmp edx, dword [esp + 0x64]
jl 0x52d996
mov edx, dword [esp + 0x64]
push edx
push ecx
push edi
push ebx
lea eax, [esi + 0x1830]
push eax
push esi
lea ecx, [esi - 0x1830]
push ecx
call fcn.0052f070
mov eax, dword [esp + 0x5c]
mov dword [eax], edi
add eax, 4
add ebx, 0x102
add esi, 0x408
sub dword [esp + 0x34], 1
mov dword [esp + 0x5c], eax
jne 0x52d987
mov eax, dword [ebp + 0xc68]
add eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x24]
imul eax, eax, 0x186a0
mov dword [esp + 0x34], eax
xor eax, eax
lea edi, [ebp + 0x40]
mov ecx, 0x100
mov edx, 0xf
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x10], 0x100
mov eax, 0xfff
mov dword [esp + 0x2c], edx
lea esi, [ebp + 0x1eb8]
mov ecx, 0xf
shl dl, 4
lea ecx, [ecx]
mov bl, cl
add bl, dl
mov byte [eax + ebp + 0xe7c], bl
sub eax, 1
sub ecx, 1
jns 0x52da40
lea edx, [eax + 1]
mov dword [esi], edx
mov edx, dword [esp + 0x2c]
sub edx, 1
sub esi, 4
test edx, edx
mov dword [esp + 0x2c], edx
jge 0x52da35
cmp dword [esp + 0x48], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
jle 0x52dc06
movzx eax, byte [ebp + 0x1ebc]
mov ecx, dword [ebp + eax*4 + 0xf9fc]
mov dword [esp + 0x6c], eax
imul eax, eax, 0x408
add eax, ebp
lea edx, [eax + 0xb16c]
mov dword [esp + 0x54], edx
lea edx, [eax + 0xe1cc]
add eax, 0xc99c
mov dword [esp + 0x60], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x31
mov dword [esp + 0x14], ecx
mov edi, 1
mov eax, dword [ebp + 0x20]
cmp eax, dword [esp + 0x14]
mov dword [ebp + 4], 0x24
jge 0x52db33
mov edx, 8
or ecx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52db2a
add dword [eax + 0xc], edi
mov eax, dword [ebp + 0x20]
cmp eax, dword [esp + 0x14]
jl 0x52daf0
mov edx, dword [ebp + 0x20]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
sub edx, esi
mov ecx, edx
shr eax, cl
mov ebx, edi
mov ecx, esi
shl ebx, cl
mov dword [ebp + 0x20], edx
sub ebx, edi
and eax, ebx
mov dword [esp + 0x28], eax
jmp 0x52dbd9
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x25
jge 0x52dbaf
mov edx, 8
or ecx, 0xffffffff
lea ecx, [ecx]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52dbaa
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52db70
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x14]
lea ecx, [edx - 1]
shr eax, cl
mov ecx, dword [esp + 0x28]
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
lea edx, [ecx + ecx]
or edx, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], edx
mov eax, edx
cmp esi, 0x14
jg 0x52dc06
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + esi*4]
jle 0x52dbf2
add esi, edi
mov dword [esp + 0x14], esi
jmp case.0x52ca8b.37
mov edx, dword [esp + 0x3c]
sub eax, dword [edx + esi*4]
js 0x52dc06
cmp eax, 0x102
jl 0x52dcc5
mov esi, 0xfffffffc
jmp 0x52eb2a
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x29
jge 0x52dc6f
mov edx, 8
or ecx, 0xffffffff
jmp 0x52dc30
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52dc6a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52dc30
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [esp + 0x14]
lea ecx, [edx - 1]
shr eax, cl
mov ecx, dword [esp + 0x28]
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
and eax, edi
lea edx, [ecx + ecx]
mov dword [esp + 0x68], eax
or eax, edx
cmp ebx, 0x14
mov dword [esp + 0x28], eax
jg 0x52dc06
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + ebx*4]
jg 0x52e2c5
mov edx, dword [esp + 0x3c]
sub eax, dword [edx + ebx*4]
js 0x52dc06
cmp eax, 0x102
jge 0x52dc06
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x5c]
je 0x52e2d0
test ecx, ecx
je 0x52dcea
cmp ecx, edi
jne 0x52df8a
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x52dd08
mov eax, dword [esp + 0x58]
add dword [esp + 0x24], eax
jmp 0x52dd1b
cmp eax, edi
jne 0x52dd1b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x58]
lea eax, [ecx + edx*2]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x58]
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov dword [esp + 0x58], edx
jne 0x52dd83
mov eax, dword [esp + 0x2c]
add eax, edi
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
jge 0x52dc06
movzx eax, byte [eax + ebp + 0x1ebc]
mov edx, dword [ebp + eax*4 + 0xf9fc]
mov dword [esp + 0x6c], eax
imul eax, eax, 0x408
add eax, ebp
mov dword [esp + 0x60], edx
lea edx, [eax + 0xb16c]
mov dword [esp + 0x54], edx
lea edx, [eax + 0xe1cc]
add eax, 0xc99c
mov ecx, 0x32
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
sub ecx, edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [esp + 0x14]
mov dword [ebp + 4], 0x26
jge 0x52ddf3
mov edx, 8
or ecx, 0xffffffff
lea esp, [esp]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52ddea
add dword [eax + 0xc], edi
mov eax, dword [ebp + 0x20]
cmp eax, dword [esp + 0x14]
jl 0x52ddb0
mov edx, dword [ebp + 0x20]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
sub edx, ebx
mov ecx, edx
shr eax, cl
mov esi, edi
mov ecx, ebx
shl esi, cl
mov dword [ebp + 0x20], edx
sub esi, edi
and eax, esi
cmp ebx, 0x14
mov dword [esp + 0x28], eax
jg 0x52dc06
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx + ebx*4]
jle 0x52deb8
add ebx, edi
mov dword [esp + 0x14], ebx
cmp dword [ebp + 0x20], edi
mov dword [ebp + 4], 0x27
jge 0x52de8f
mov edx, 8
or ecx, 0xffffffff
jmp 0x52de50
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52de8a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], edi
jl 0x52de50
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [esp + 0x14]
lea ecx, [edx - 1]
shr eax, cl
add edx, 0xffffffff
mov dword [ebp + 0x20], edx
mov edx, dword [esp + 0x28]
and eax, edi
lea ecx, [edx + edx]
mov dword [esp + 0x68], eax
or eax, ecx
jmp 0x52de10
mov edx, dword [esp + 0x3c]
sub eax, dword [edx + ebx*4]
js 0x52dc06
cmp eax, 0x102
jge 0x52dc06
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + eax*4]
test eax, eax
mov dword [esp + 0x44], eax
je 0x52dcf6
cmp eax, edi
je 0x52dcf6
mov eax, dword [ebp + 0x1e7c]
movzx ecx, byte [eax + ebp + 0xe7c]
mov cl, byte [ecx + ebp + 0xd7c]
mov edx, dword [esp + 0x24]
add edx, edi
movzx eax, cl
add dword [ebp + eax*4 + 0x40], edx
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x24], edx
je 0x52df50
test edx, edx
jle 0x52dcd0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
jge 0x52dc06
mov ebx, dword [ebp + 0xc50]
movzx si, cl
sub edx, edi
mov word [ebx + eax*2], si
add eax, edi
test edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jg 0x52df23
jmp 0x52dcd0
test edx, edx
jle 0x52dcd0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp ecx, esi
jge 0x52dc06
mov ebx, dword [ebp + 0xc4c]
sub edx, edi
mov dword [ebx + ecx*4], eax
add ecx, edi
test edx, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jg 0x52df64
jmp 0x52dcd0
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x20], edx
jge 0x52dc06
add ecx, 0xffffffff
cmp ecx, 0x10
jae 0x52e06e
cmp ecx, 3
mov esi, dword [ebp + 0x1e7c]
lea edx, [esi + ebp]
mov bl, byte [ecx + edx + 0xe7c]
mov dword [esp + 0x80], edx
mov byte [esp + 0x1f], bl
jbe 0x52e04c
lea eax, [esi + ecx]
lea edx, [ebp + 0xe7b]
mov esi, ebp
sub esi, edx
add esi, 0xe7c
mov dword [esp + 0x7c], esi
mov esi, ebp
sub esi, edx
lea edi, [esi + 0xe7a]
mov esi, ebp
sub esi, edx
add esi, 0xe78
mov dword [esp + 0x74], esi
mov esi, ebp
sub esi, edx
add esi, 0xe79
mov dword [esp + 0x70], esi
lea esi, [ecx - 4]
shr esi, 2
add eax, edx
add esi, 1
movzx edx, byte [eax]
mov ebx, dword [esp + 0x7c]
mov byte [ebx + eax], dl
movzx edx, byte [edi + eax]
mov byte [eax], dl
mov edx, dword [esp + 0x70]
movzx ebx, byte [edx + eax]
mov byte [edi + eax], bl
mov ebx, dword [esp + 0x74]
movzx ebx, byte [ebx + eax]
mov byte [edx + eax], bl
sub ecx, 4
sub eax, 4
sub esi, 1
jne 0x52e010
mov edx, dword [esp + 0x80]
mov bl, byte [esp + 0x1f]
test ecx, ecx
jbe 0x52e063
sub ecx, 1
mov al, byte [ecx + edx + 0xe7c]
mov byte [ecx + edx + 0xe7d], al
jne 0x52e050
mov byte [edx + 0xe7c], bl
jmp 0x52e18d
mov edx, ecx
shr edx, 4
mov edi, dword [ebp + edx*4 + 0x1e7c]
lea esi, [ebp + edx*4 + 0x1e7c]
and ecx, 0xf
add ecx, edi
cmp ecx, edi
mov bl, byte [ecx + ebp + 0xe7c]
mov byte [esp + 0x1f], bl
jle 0x52e0b5
jmp 0x52e0a0
mov al, byte [ecx + ebp + 0xe7b]
mov byte [ecx + ebp + 0xe7c], al
sub ecx, 1
cmp ecx, dword [esi]
jg 0x52e0a0
add dword [esi], 1
test edx, edx
jle 0x52e0e0
mov eax, esi
mov edi, edi
add dword [eax], 0xffffffff
mov ecx, dword [eax - 4]
mov esi, dword [eax]
mov cl, byte [ecx + ebp + 0xe8b]
sub edx, 1
sub eax, 4
test edx, edx
mov byte [esi + ebp + 0xe7c], cl
jg 0x52e0c0
add dword [ebp + 0x1e7c], 0xffffffff
mov eax, dword [ebp + 0x1e7c]
mov byte [eax + ebp + 0xe7c], bl
cmp dword [ebp + 0x1e7c], 0
jne 0x52e18d
mov ecx, 0xfff
mov edi, 0xf
lea esi, [ebp + 0x1eb8]
mov eax, 0xf
jmp 0x52e120
mov ebx, dword [esi]
lea edx, [eax + ebp]
movzx edx, byte [edx + ebx + 0xe7c]
mov byte [ecx + ebp + 0xe7c], dl
mov ebx, dword [esi]
lea edx, [eax + ebp]
movzx edx, byte [edx + ebx + 0xe7b]
mov byte [ecx + ebp + 0xe7b], dl
mov ebx, dword [esi]
lea edx, [eax + ebp]
movzx edx, byte [edx + ebx + 0xe7a]
mov byte [ecx + ebp + 0xe7a], dl
mov ebx, dword [esi]
lea edx, [eax + ebp]
movzx edx, byte [edx + ebx + 0xe79]
mov byte [ecx + ebp + 0xe79], dl
sub eax, 4
sub ecx, 4
test eax, eax
jge 0x52e120
lea eax, [ecx + 1]
mov dword [esi], eax
sub edi, 1
sub esi, 4
test edi, edi
jge 0x52e111
mov bl, byte [esp + 0x1f]
movzx ecx, bl
movzx edx, byte [ecx + ebp + 0xd7c]
add dword [ebp + edx*4 + 0x40], 1
cmp byte [ebp + 0x28], 0
lea eax, [ecx + ebp + 0xd7c]
lea ecx, [ebp + edx*4 + 0x40]
mov edx, dword [esp + 0x20]
je 0x52e1c2
movzx ax, byte [eax]
mov ecx, dword [ebp + 0xc50]
mov word [ecx + edx*2], ax
jmp 0x52e1ce
movzx eax, byte [eax]
mov ecx, dword [ebp + 0xc4c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x40]
add dword [esp + 0x20], 1
test ecx, ecx
jne 0x52e231
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
jge 0x52dc06
movzx eax, byte [eax + ebp + 0x1ebc]
mov edx, dword [ebp + eax*4 + 0xf9fc]
mov dword [esp + 0x6c], eax
imul eax, eax, 0x408
add eax, ebp
mov dword [esp + 0x60], edx
lea edx, [eax + 0xb16c]
mov dword [esp + 0x54], edx
lea edx, [eax + 0xe1cc]
add eax, 0xc99c
mov ecx, 0x32
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
sub ecx, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
mov edi, 1
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [esp + 0x14]
mov dword [ebp + 4], 0x28
jge 0x52e2a3
mov edx, 8
or ecx, 0xffffffff
lea ecx, [ecx]
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], edx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], ecx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e29a
add dword [eax + 0xc], edi
mov eax, dword [ebp + 0x20]
cmp eax, dword [esp + 0x14]
jl 0x52e260
mov edx, dword [ebp + 0x20]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
sub edx, ebx
mov ecx, edx
shr eax, cl
mov esi, edi
mov ecx, ebx
shl esi, cl
mov dword [ebp + 0x20], edx
sub esi, edi
and eax, esi
jmp 0x52dc93
add ebx, edi
mov dword [esp + 0x14], ebx
jmp case.0x52ca8b.41
mov eax, dword [ebp + 0x34]
test eax, eax
jl 0x52dc06
cmp eax, dword [esp + 0x20]
jge 0x52dc06
lea eax, [ebp + 0x448]
lea esi, [ebp + 0x40]
mov ecx, 0x100
mov edi, eax
mov dword [ebp + 0x444], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov ebx, 1
jmp 0x52e310
mov edx, dword [eax - 4]
add dword [eax], edx
add eax, 4
sub ecx, ebx
jne 0x52e310
mov edx, dword [esp + 0x20]
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], esi
lea eax, [ebp + 0x444]
mov edi, edi
mov ecx, dword [eax]
cmp ecx, edi
jl 0x52e3c9
cmp ecx, edx
jg 0x52e3c9
add esi, ebx
add eax, 4
cmp esi, 0x100
jle 0x52e330
cmp byte [ebp + 0x28], 0
mov dword [esp + 0x10], esi
mov dword [ebp + 0xc], edi
mov byte [ebp + 8], 0
mov dword [ebp + 0xc60], 0xffffffff
mov dword [ebp + 4], 2
je 0x52e5c9
lea edi, [ebp + 0x848]
mov ecx, 0x101
lea esi, [ebp + 0x444]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
test edx, edx
jle 0x52e3f9
mov edi, edi
mov eax, dword [ebp + 0xc50]
lea edx, [eax + ecx*2]
movzx eax, byte [edx]
mov si, word [ebp + eax*4 + 0x848]
lea eax, [ebp + eax*4 + 0x848]
mov word [edx], si
mov esi, dword [ebp + 0xc54]
mov edx, ecx
sar edx, 1
add esi, edx
test cl, 1
jne 0x52e3d7
mov dl, byte [esi]
and dl, 0xf0
or dl, byte [eax + 2]
jmp 0x52e3ed
mov dword [esp + 0x10], esi
mov esi, 0xfffffffc
jmp 0x52eb2a
mov edx, dword [eax]
mov ebx, dword [eax]
sar edx, 0xc
xor dl, byte [esi]
sar ebx, 0xc
and dl, 0xf
xor dl, bl
mov ebx, 1
mov byte [esi], dl
add dword [eax], ebx
add ecx, ebx
cmp ecx, dword [esp + 0x20]
jl 0x52e390
mov edx, dword [ebp + 0x34]
mov ecx, dword [ebp + 0xc54]
mov eax, edx
sar eax, 1
movzx eax, byte [eax + ecx]
movzx ecx, dl
and cl, 1
add cl, cl
add cl, cl
shr eax, cl
mov ecx, dword [ebp + 0xc50]
mov dword [esp + 0x10], edx
movzx edx, word [ecx + edx*2]
and eax, 0xf
shl eax, 0x10
or eax, edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc50]
lea esi, [eax + ecx*2]
mov eax, dword [ebp + 0xc54]
mov edx, ecx
and cl, 1
add cl, cl
sar edx, 1
movzx eax, byte [edx + eax]
add cl, cl
shr eax, cl
movzx ecx, word [esi]
and eax, 0xf
shl eax, 0x10
or eax, ecx
test byte [esp + 0x18], 1
mov cx, word [esp + 0x10]
mov word [esi], cx
mov ecx, dword [ebp + 0xc54]
lea esi, [edx + ecx]
mov ecx, dword [esp + 0x10]
jne 0x52e489
mov dl, byte [esi]
sar ecx, 0x10
and dl, 0xf0
or cl, dl
mov byte [esi], cl
jmp 0x52e49a
mov edx, ecx
sar edx, 0xc
xor dl, byte [esi]
sar ecx, 0xc
and dl, 0xf
xor dl, cl
mov byte [esi], dl
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x52e430
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x34]
imul ecx, ecx, 0x186a0
xor esi, esi
cmp byte [ebp + 0x10], 0
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x440], esi
je 0x52e572
cmp eax, ecx
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], esi
jb 0x52e4ed
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00549750
add esp, 0x7c
ret 4
lea ecx, [ebp + 0x444]
push ecx
push eax
call fcn.0052a220
mov edx, dword [ebp + 0x38]
mov edi, dword [ebp + 0xc54]
mov ecx, edx
shr ecx, 1
mov dword [ebp + 0x3c], eax
movzx edi, byte [ecx + edi]
movzx ecx, dl
and cl, 1
add cl, cl
add cl, cl
shr edi, cl
mov ecx, dword [ebp + 0xc50]
movzx edx, word [ecx + edx*2]
add dword [ebp + 0x440], ebx
and edi, 0xf
shl edi, 0x10
or edi, edx
cmp dword [ebp + 0x14], esi
mov dword [ebp + 0x38], edi
jne 0x52e558
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx*4 + 0x596680]
add ecx, 1
cmp ecx, 0x200
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x18], ecx
jne 0x52e558
mov dword [ebp + 0x18], esi
add dword [ebp + 0x14], 0xffffffff
mov ecx, dword [ebp + 0x14]
xor edx, edx
cmp ecx, ebx
sete dl
xor edx, eax
mov dword [ebp + 0x3c], edx
xor esi, esi
jmp 0x52eb2a
cmp eax, ecx
jae 0x52e4d6
lea ecx, [ebp + 0x444]
push ecx
push eax
call fcn.0052a220
mov ecx, dword [ebp + 0xc54]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x38]
mov edx, eax
shr edx, 1
movzx edx, byte [edx + ecx]
movzx ecx, al
and cl, 1
add cl, cl
add cl, cl
shr edx, cl
mov ecx, dword [ebp + 0xc50]
movzx eax, word [ecx + eax*2]
add dword [ebp + 0x440], ebx
and edx, 0xf
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x38], edx
xor esi, esi
jmp 0x52eb2a
cmp edx, edi
mov dword [esp + 0x10], edi
jle 0x52e608
mov ecx, dword [ebp + 0xc4c]
mov edx, dword [esp + 0x10]
movzx eax, byte [ecx + edx*4]
mov esi, dword [ebp + eax*4 + 0x444]
lea eax, [ebp + eax*4 + 0x444]
shl edx, 8
or dword [ecx + esi*4], edx
add dword [eax], ebx
mov eax, dword [esp + 0x10]
lea ecx, [ecx + esi*4]
add eax, ebx
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
jl 0x52e5d1
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0xc4c]
mov edx, dword [eax + ecx*4]
shr edx, 8
mov dword [ebp + 0x38], edx
mov edx, dword [ebp + 0x24]
xor ecx, ecx
imul edx, edx, 0x186a0
cmp byte [ebp + 0x10], cl
mov dword [ebp + 0x440], ecx
je 0x52e67b
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0x38]
cmp ecx, edx
jae 0x52e4d6
mov eax, dword [eax + ecx*4]
movzx ecx, al
mov dword [ebp + 0x38], eax
shr dword [ebp + 0x38], 8
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x440], ebx
mov edx, dword [0x596680]
mov dword [ebp + 0x14], edx
add dword [ebp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x14]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp + 0x18], ebx
xor dword [ebp + 0x3c], ecx
xor esi, esi
jmp 0x52eb2a
mov ecx, dword [ebp + 0x38]
cmp ecx, edx
jae 0x52e4d6
mov eax, dword [eax + ecx*4]
movzx ecx, al
mov dword [ebp + 0x38], eax
shr dword [ebp + 0x38], 8
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x440], ebx
xor esi, esi
jmp 0x52eb2a
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x2a
jge 0x52e6f2
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e6ed
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e6b7
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x72
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x2b
jge 0x52e76f
or edx, 0xffffffff
jmp 0x52e730
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e76a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e730
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x45
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x2c
jge 0x52e7e0
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e7db
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e7a1
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x38
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x2d
jge 0x52e85f
or edx, 0xffffffff
jmp 0x52e820
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e85a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e820
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x50
jne 0x52dc06
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x2e
jge 0x52e8df
or edx, 0xffffffff
jmp 0x52e8a0
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e8da
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e8a0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
cmp al, 0x90
jne 0x52dc06
mov dword [ebp + 0xc5c], 0
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x2f
jge 0x52e95f
or edx, 0xffffffff
nop
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e95a
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e920
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
mov edx, dword [ebp + 0xc5c]
and eax, 0xff
movzx eax, al
shl edx, 8
or edx, eax
mov dword [ebp + 0xc5c], edx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x30
jge 0x52e9e0
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52e9db
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52e9a1
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc5c]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc5c], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x31
jge 0x52ea61
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52ea5c
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52ea22
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc5c]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc5c], ecx
mov ecx, 8
cmp dword [ebp + 0x20], ecx
mov dword [ebp + 4], 0x32
jge 0x52eae2
or edx, 0xffffffff
mov eax, dword [ebp]
cmp dword [eax + 4], 0
je 0x52e69c
mov ebx, dword [eax]
movzx ebx, byte [ebx]
mov esi, dword [ebp + 0x1c]
add dword [ebp + 0x20], ecx
shl esi, 8
or esi, ebx
mov dword [ebp + 0x1c], esi
add dword [eax], edi
mov eax, dword [ebp]
add dword [eax + 4], edx
mov eax, dword [ebp]
add dword [eax + 8], edi
mov eax, dword [ebp]
cmp dword [eax + 8], 0
jne 0x52eadd
add dword [eax + 0xc], edi
cmp dword [ebp + 0x20], ecx
jl 0x52eaa3
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea ecx, [edx - 8]
shr eax, cl
mov ecx, dword [ebp + 0xc5c]
add edx, 0xfffffff8
mov dword [ebp + 0x20], edx
and eax, 0xff
movzx edx, al
shl ecx, 8
or ecx, edx
mov dword [ebp + 0xc5c], ecx
mov dword [ebp + 4], edi
mov esi, 4
jmp 0x52eb2a
push 0xfa1
call fcn.004ada90
push 0xfa2
call fcn.004ada90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov dword [ebp + 0xfa14], eax
mov eax, dword [esp + 0x64]
mov dword [ebp + 0xfa18], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebp + 0xfa1c], edx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0xfa20], eax
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0xfa24], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebp + 0xfa28], edx
mov edx, dword [esp + 0x40]
mov dword [ebp + 0xfa2c], eax
mov eax, dword [esp + 0x44]
mov dword [ebp + 0xfa30], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0xfa34], edx
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xfa38], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 0xfa3c], ecx
mov ecx, dword [esp + 0x58]
mov dword [ebp + 0xfa40], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 0xfa44], eax
mov eax, dword [esp + 0x78]
mov dword [ebp + 0xfa48], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0xfa4c], edx
mov edx, dword [esp + 0x28]
mov dword [ebp + 0xfa50], eax
mov eax, dword [esp + 0x68]
mov dword [ebp + 0xfa54], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ebp + 0xfa58], edx
mov edx, dword [esp + 0x60]
mov dword [ebp + 0xfa5c], eax
mov eax, dword [esp + 0x54]
mov dword [ebp + 0xfa60], ecx
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp + 0xfa64], edx
mov edx, dword [esp + 0x48]
mov dword [ebp + 0xfa68], eax
mov dword [ebp + 0xfa6c], ecx
mov ecx, dword [esp + 0x84]
mov eax, esi
pop esi
mov dword [ebp + 0xfa70], edx
pop ebp
pop ebx
xor ecx, esp
call fcn.00549750
add esp, 0x7c
ret 4