Function at 0x4caed0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov edx, dword [ebx]
mov dword [ebp - 0x40], 0
mov byte [ebp - 2], 0
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x51], 0
jne 0x4cba36
mov eax, dword [ebp + 0x10]
add edx, 0x1e8
push esi
push edi
mov dword [ebp - 0x1c], edx
lea esi, [eax + eax*2]
shl esi, 4
mov dword [ebp - 0xc], esi
add esi, dword [ebx + 0x14]
mov dword [ebp - 0x18], esi
mov edi, dword [esi]
mov dword [ebp - 0x54], edi
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4caf4f
push eax
push edx
call fcn.0051ae70
mov ecx, dword [ebp - 8]
add esp, 8
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x1c]
jmp 0x4caf5d
movlpd qword [ebp - 0x5c], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov al, byte [edi]
mov byte [ebp - 1], al
movzx eax, al
mov dword [ebp - 0x44], eax
cmp eax, 0x31
jne 0x4cafa6
push edi
push ecx
call fcn.004ed950
add esp, 8
test eax, eax
jne 0x4cba34
test dword [edi + 4], 0x800
mov eax, dword [edi + 0x14]
push eax
push dword [ebp - 0x1c]
je 0x4caf9c
call fcn.004cd310
add esp, 8
jmp 0x4cafdc
call fcn.0051ade0
add esp, 8
jmp 0x4cafdc
cmp eax, 0x32
jne 0x4cafbb
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
jmp 0x4cafdc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4cafce
push eax
push edx
call fcn.0051ae70
add esp, 8
jmp 0x4cafdc
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
push edi
mov dword [esi + 0x24], edx
push eax
mov dword [eax], 0
call fcn.0051ae70
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
cmp dword [ecx], 0
je 0x4cb00c
mov edx, 0x1000
or word [esi + 0xa], dx
test byte [edi + 4], 1
je 0x4cb06a
movsx eax, word [edi + 0x24]
push eax
push ecx
call fcn.0051b030
or dword [ebp - 0x24], edx
mov ecx, eax
mov eax, dword [ebp - 0x20]
add esp, 8
or eax, ecx
mov dword [ebp - 0x2c], ecx
add dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
adc dword [ebp - 0x30], 0xffffffff
shrd dword [ebp - 0x10], eax, 1
shr eax, 1
cmp eax, edx
jb 0x4cb078
ja 0x4cb053
cmp dword [ebp - 0x10], ecx
jb 0x4cb078
push str.ON_clause_references_tables_to_its_right
push dword [ebp - 8]
call fcn.004ed090
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
jmp 0x4cb07b
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x2c], eax
xor eax, eax
mov word [esi + 0xc], ax
mov al, byte [ebp - 1]
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
cmp al, 0x31
je 0x4cb1d0
cmp al, 0x35
jb 0x4cb0af
cmp al, 0x39
jbe 0x4cb1d0
cmp al, 0x32
je 0x4cb1d0
cmp al, 0x2d
je 0x4cb1d0
mov al, byte [edi]
cmp al, 0x30
jne 0x4cb1ab
cmp byte [ebx + 8], 0x2c
jne 0x4cba22
mov eax, dword [edi + 0x14]
add eax, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
test eax, eax
je 0x4cb0fd
push 0
push 0
push eax
push dword [ebp - 0x14]
call fcn.004cc710
add esp, 0x10
mov esi, eax
jmp 0x4cb0ff
xor esi, esi
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4cb118
push 0
push 0
push eax
push dword [ebp - 0x14]
call fcn.004cc710
add esp, 0x10
jmp 0x4cb11a
xor eax, eax
push esi
push eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x585c60]
push eax
push dword [ebp - 8]
call fcn.004fba90
add esp, 0x10
test eax, eax
je 0x4cb147
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 3
push eax
push ebx
call fcn.00526ba0
mov esi, eax
push esi
push ebx
push dword [ebp + 8]
call fcn.004caed0
mov ecx, dword [ebx + 0x14]
add esp, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add edx, ecx
mov dword [ebp - 0x18], edx
lea edx, [esi + esi*2]
mov esi, dword [ebp - 0xc]
add edx, edx
mov dword [ecx + edx*8 + 0x10], eax
mov ecx, dword [ebx + 0x14]
mov ax, word [esi + ecx + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x38]
inc ecx
mov dword [ebp - 0x38], ecx
inc byte [eax + esi + 0xe]
mov eax, dword [ebp - 0x48]
add eax, 0x14
mov dword [ebp - 0x48], eax
cmp ecx, 2
jl 0x4cb0e3
jmp 0x4cb45a
cmp al, 0x2b
jne 0x4cb45d
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.004cba40
mov esi, dword [ebx + 0x14]
add esp, 0xc
add esi, dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
jmp 0x4cb45d
push dword [edi + 0xc]
call fcn.004f1770
push dword [edi + 0x10]
mov dword [ebp - 0x10], eax
call fcn.004f1770
mov edx, dword [esi + 0x20]
add esp, 8
mov ecx, dword [esi + 0x24]
and edx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x38]
or edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x1fff
je 0x4cb207
mov dword [ebp - 0x48], 0x800
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x4cb21d
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ecx*4 - 0x10]
jmp 0x4cb220
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp + 8]
call fcn.004ccf30
mov edx, dword [ebp - 0x44]
add esp, 0x18
test eax, eax
je 0x4cb25d
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x58]
push edx
mov dword [esi + 0x1c], eax
call fcn.004d7970
add esp, 4
and ax, word [ebp - 0x48]
mov word [esi + 0xc], ax
cmp byte [ebp - 1], 0x2d
mov eax, 0x800
jne 0x4cb26c
or word [esi + 0xa], ax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4cb45d
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ebp + 8]
call fcn.004ccf30
add esp, 0x18
test eax, eax
je 0x4cb45d
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x4c], 0
jl 0x4cb3b3
mov esi, dword [ebp - 0x14]
push 0
push edi
push esi
call fcn.004f0400
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp byte [esi + 0x51], 0
je 0x4cb2d8
test eax, eax
je 0x4cba34
push eax
push esi
call fcn.004f0340
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
push eax
push ebx
call fcn.00526ba0
add esp, 0xc
test eax, eax
je 0x4cba34
mov ecx, dword [ebp + 0x10]
lea esi, [eax + eax*2]
push ecx
shl esi, 4
add esi, dword [ebx + 0x14]
push eax
push ebx
mov dword [ebp - 0x44], esi
call fcn.004d4f80
add esp, 0xc
cmp byte [ebp - 1], 0x2d
jne 0x4cb315
mov eax, 0x800
or word [esi + 0xa], ax
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], esi
or word [esi + 0xa], 8
mov eax, dword [ecx]
test byte [eax + 0x4c], 0x80
jne 0x4cb3bc
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x35
je 0x4cb341
cmp dl, 0x2d
jne 0x4cb3bc
test byte [eax + 4], 1
jne 0x4cb3bc
push dword [eax + 0xc]
call fcn.004ed300
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
call fcn.004ed300
mov cl, al
add esp, 8
mov al, byte [ebp - 1]
cmp al, cl
je 0x4cb372
cmp al, 0x43
jl 0x4cb3b9
cmp cl, 0x43
jl 0x4cb3b9
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.004f02d0
add esp, 8
test eax, eax
je 0x4cb3a5
cmp dword [eax + 0xc], fcn.004c28e0
je 0x4cb3a5
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [ebp - 8]
call fcn.004f0010
add esp, 0xc
test eax, eax
je 0x4cb3b9
mov eax, 0x800
or word [esi + 0xc], ax
mov dword [ebp - 0x4c], eax
jmp 0x4cb3b9
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x44], esi
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
cmp byte [eax], 0xae
je 0x4cb3f4
mov edx, dword [esi + 0x10]
cmp byte [edx], 0xae
je 0x4cb3f4
push edx
push eax
push ecx
call fcn.004e49e0
mov esi, eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [eax + 0x10]
push dword [ebp - 8]
call fcn.004e49e0
add esp, 0x18
cmp esi, eax
mov esi, dword [ebp - 0x10]
je 0x4cb3fb
xor dword [esi + 4], 0x200
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov al, byte [esi]
mov dword [esi + 0xc], ecx
cmp al, 0x36
jb 0x4cb415
sub al, 0x36
xor al, 2
add al, 0x36
mov byte [esi], al
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x38]
or ecx, dword [ebp - 0x30]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x2c]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x24], ecx
mov dword [edx + 0x2c], eax
movzx eax, byte [esi]
push eax
call fcn.004d7970
add ax, word [ebp - 0x4c]
add esp, 4
and ax, word [ebp - 0x48]
mov word [edx + 0xc], ax
mov esi, dword [ebp - 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x4cba22
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 8]
call fcn.004d3940
add esp, 0x14
test eax, eax
je 0x4cb6bc
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x4cb4af
push 0
push 0
push ecx
push dword [ebp - 0x14]
call fcn.004cc710
mov ecx, dword [ebp - 0x28]
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x4cb4b6
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x40], 0
je 0x4cb515
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x4cb515
mov eax, 0x400
or word [esi + 0xa], ax
xor esi, esi
mov eax, dword [ecx + 8]
mov dword [ebp - 0x48], eax
mov cl, byte [eax]
test cl, cl
je 0x4cb515
mov edi, dword [ebp - 0x28]
mov ebx, eax
movzx edx, cl
mov al, byte [edx + 0x5850e0]
and al, 0x20
not al
and al, cl
mov byte [ebx], al
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
mov al, byte [edx + 0x5854f8]
mov byte [esi + ecx], al
inc esi
mov ebx, dword [edi + 8]
add ebx, esi
mov cl, byte [ebx]
test cl, cl
jne 0x4cb4e3
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0x51], 0
jne 0x4cb56c
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 8]
test edx, edx
jne 0x4cb52c
xor ecx, ecx
jmp 0x4cb540
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4cb531
sub ecx, esi
and ecx, 0x3fffffff
mov al, byte [edx + ecx - 1]
add edx, ecx
cmp dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x3c]
je 0x4cb55f
xor esi, esi
cmp al, 0x40
movzx eax, al
cmove ecx, esi
mov al, byte [eax + 0x5854f8]
inc al
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov byte [edx - 1], al
jmp 0x4cb572
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x40], 0
mov eax, 0x5851e0
mov esi, str.NOCASE
cmove esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], esi
test eax, eax
je 0x4cb59d
push 0
push 0
push eax
push ecx
call fcn.004cc710
add esp, 0x10
jmp 0x4cb59f
xor eax, eax
push dword [ebp - 0x28]
push esi
mov esi, dword [ebp - 8]
push eax
push esi
call fcn.004ed220
add esp, 0xc
push eax
push 0x39
push esi
call fcn.004fba90
add esp, 0x10
test eax, eax
je 0x4cb5d1
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
push eax
push ebx
call fcn.00526ba0
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x48], eax
call fcn.004caed0
mov eax, dword [ebp - 0x4c]
add esp, 0x18
test eax, eax
je 0x4cb606
push 0
push 0
push eax
push dword [ebp - 0x14]
call fcn.004cc710
add esp, 0x10
jmp 0x4cb608
xor eax, eax
push dword [ebp - 0x38]
push dword [ebp - 0x54]
push eax
push esi
call fcn.004ed220
add esp, 0xc
push eax
push 0x38
push esi
call fcn.004fba90
add esp, 0x10
test eax, eax
je 0x4cb639
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
push eax
push ebx
call fcn.00526ba0
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x54], eax
call fcn.004caed0
mov ecx, dword [ebx + 0x14]
add esp, 0x18
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 0xc]
lea esi, [ecx + eax]
mov dword [ebp - 0x18], esi
je 0x4cb6bc
mov eax, dword [ebp - 0x48]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
add edx, edx
mov dword [ecx + edx*8 + 0x10], eax
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xc]
inc byte [eax + ecx + 0xe]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x14]
add edx, edx
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xc]
inc byte [eax + ecx + 0xe]
cmp byte [ebx + 8], 0x2c
jne 0x4cba22
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 2]
push eax
push edi
push dword [ebp - 0x14]
call fcn.004d31d0
add esp, 0x14
test eax, eax
jle 0x4cb8a9
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], esi
mov dword [ebp + 0xc], ecx
dec eax
mov dword [ebp - 0x54], eax
test esi, esi
je 0x4cb71c
push esi
push dword [ebp - 0x1c]
call fcn.0051ae70
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ebp - 0x40], edx
jmp 0x4cb72d
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
test ecx, ecx
je 0x4cb742
push ecx
push dword [ebp - 0x1c]
call fcn.0051ae70
add esp, 8
jmp 0x4cb750
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
and eax, dword [ebp - 0x44]
and edx, dword [ebp - 0x40]
or eax, edx
jne 0x4cb88e
test esi, esi
je 0x4cb772
push eax
push eax
push esi
push dword [ebp - 0x14]
call fcn.004cc710
add esp, 0x10
jmp 0x4cb774
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
push 0
push 0x34
push dword [eax]
call fcn.004eb400
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4cb7e1
push 0x34
push 0
push esi
call sub.msvcrt.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x2e
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4cb7ba
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.004cd460
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4cb7f6
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004ed090
add esp, 0xc
jmp 0x4cb7f6
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4cb7f6
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.004f0340
add esp, 8
test byte [edi + 4], 1
je 0x4cb80c
test esi, esi
je 0x4cb80c
or dword [esi + 4], 1
mov ax, word [edi + 0x24]
mov word [esi + 0x24], ax
push 3
push esi
push ebx
call fcn.00526ba0
mov esi, dword [ebx + 0x14]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x44]
shl edx, 4
add esi, edx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
movsx eax, word [ecx + 0x20]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, 0x40
mov word [esi + 0xc], ax
mov al, byte [ebp - 2]
mov byte [esi + 0xf], al
mov eax, dword [ebx + 0x14]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov ax, word [ecx + eax + 8]
mov word [ecx + edx + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0xc]
inc byte [eax + ecx + 0xe]
mov edx, dword [ebx + 0x14]
add edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [edx + 0x28]
or word [edx + 0xa], 8
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x2c], eax
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov esi, eax
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], esi
test eax, eax
jg 0x4cb700
mov esi, dword [ebp - 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x4cba22
mov al, byte [edi]
cmp al, 0x35
je 0x4cb8c1
cmp al, 0x2d
jne 0x4cb9a5
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4cb8ce
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4cb8d8
mov edx, dword [eax + 0x14]
jmp 0x4cb8e7
cmp cl, 0x88
jne 0x4cb9a5
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov edx, dword [edx]
mov dword [ebp - 0x54], edx
cmp edx, 1
jle 0x4cb9a5
mov eax, dword [edi + 0x10]
push eax
call fcn.004f1880
add esp, 4
cmp eax, edx
jne 0x4cb9a5
mov eax, dword [edi + 0xc]
test dword [eax + 4], 0x800
je 0x4cb925
mov eax, dword [edi + 0x10]
test dword [eax + 4], 0x800
jne 0x4cb9a5
xor eax, eax
mov dword [ebp + 0xc], eax
test edx, edx
jle 0x4cb994
nop
push eax
push dword [edi + 0xc]
push dword [ebp - 8]
call fcn.004f0430
push dword [ebp + 0xc]
mov esi, eax
push dword [edi + 0x10]
push dword [ebp - 8]
call fcn.004f0430
push eax
movzx eax, byte [edi]
push esi
push eax
push dword [ebp - 8]
call fcn.004fba90
add esp, 0x28
test eax, eax
je 0x4cb972
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 1
push eax
push ebx
call fcn.00526ba0
push eax
push ebx
push dword [ebp + 8]
call fcn.004caed0
mov eax, dword [ebp + 0xc]
add esp, 0x18
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x54]
jl 0x4cb930
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
or word [esi + 0xa], 6
xor eax, eax
mov word [esi + 0xc], ax
cmp byte [ebx + 8], 0x2c
jne 0x4cba22
cmp byte [edi], 0x31
jne 0x4cba22
cmp dword [esi + 0x18], 0
jne 0x4cba22
mov edx, dword [edi + 0xc]
cmp byte [edx], 0xae
jne 0x4cba22
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4cba22
cmp dword [eax + 0x44], 0
jne 0x4cba22
xor ecx, ecx
push edx
mov dword [ebp + 0xc], ecx
call fcn.004f1880
add esp, 4
test eax, eax
jle 0x4cba22
nop
push 2
push edi
push ebx
call fcn.00526ba0
mov ecx, dword [ebx + 0x14]
mov esi, eax
mov eax, dword [ebp + 0xc]
push esi
inc eax
lea edx, [esi + esi*2]
mov dword [ebp + 0xc], eax
add edx, edx
push ebx
push dword [ebp + 8]
mov dword [ecx + edx*8 + 0x18], eax
call fcn.004caed0
push dword [ebp + 0x10]
push esi
push ebx
call fcn.004d4f80
push dword [edi + 0xc]
call fcn.004f1880
add esp, 0x28
cmp dword [ebp + 0xc], eax
jl 0x4cb9e0
mov eax, dword [ebx + 0x14]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
or dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x30]
or dword [eax + 0x24], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret