Function at 0x4c80f0
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 0x4c8c56
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 0x4c816f
push eax
push edx
call fcn.005180c0
mov ecx, dword [ebp - 8]
add esp, 8
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x1c]
jmp 0x4c817d
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 0x4c81c6
push edi
push ecx
call fcn.004eab80
add esp, 8
test eax, eax
jne 0x4c8c54
test dword [edi + 4], 0x800
mov eax, dword [edi + 0x14]
push eax
push dword [ebp - 0x1c]
je 0x4c81bc
call fcn.004ca530
add esp, 8
jmp 0x4c81fc
call fcn.00518030
add esp, 8
jmp 0x4c81fc
cmp eax, 0x32
jne 0x4c81db
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
jmp 0x4c81fc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4c81ee
push eax
push edx
call fcn.005180c0
add esp, 8
jmp 0x4c81fc
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.005180c0
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
cmp dword [ecx], 0
je 0x4c822c
mov edx, 0x1000
or word [esi + 0xa], dx
test byte [edi + 4], 1
je 0x4c828a
movsx eax, word [edi + 0x24]
push eax
push ecx
call fcn.00518280
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 0x4c8298
ja 0x4c8273
cmp dword [ebp - 0x10], ecx
jb 0x4c8298
push str.ON_clause_references_tables_to_its_right
push dword [ebp - 8]
call fcn.004ea2c0
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 0x4c829b
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 0x4c83f0
cmp al, 0x35
jb 0x4c82cf
cmp al, 0x39
jbe 0x4c83f0
cmp al, 0x32
je 0x4c83f0
cmp al, 0x2d
je 0x4c83f0
mov al, byte [edi]
cmp al, 0x30
jne 0x4c83cb
cmp byte [ebx + 8], 0x2c
jne 0x4c8c42
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 0x4c831d
push 0
push 0
push eax
push dword [ebp - 0x14]
call fcn.004c9930
add esp, 0x10
mov esi, eax
jmp 0x4c831f
xor esi, esi
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4c8338
push 0
push 0
push eax
push dword [ebp - 0x14]
call fcn.004c9930
add esp, 0x10
jmp 0x4c833a
xor eax, eax
push esi
push eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0x5825e0]
push eax
push dword [ebp - 8]
call fcn.004f8cc0
add esp, 0x10
test eax, eax
je 0x4c8367
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.00523df0
mov esi, eax
push esi
push ebx
push dword [ebp + 8]
call fcn.004c80f0
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 0x4c8303
jmp 0x4c867a
cmp al, 0x2b
jne 0x4c867d
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.004c8c60
mov esi, dword [ebx + 0x14]
add esp, 0xc
add esi, dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
jmp 0x4c867d
push dword [edi + 0xc]
call fcn.004ee9a0
push dword [edi + 0x10]
mov dword [ebp - 0x10], eax
call fcn.004ee9a0
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 0x4c8427
mov dword [ebp - 0x48], 0x800
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x4c843d
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ecx*4 - 0x10]
jmp 0x4c8440
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.004ca150
mov edx, dword [ebp - 0x44]
add esp, 0x18
test eax, eax
je 0x4c847d
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x58]
push edx
mov dword [esi + 0x1c], eax
call fcn.004d4b90
add esp, 4
and ax, word [ebp - 0x48]
mov word [esi + 0xc], ax
cmp byte [ebp - 1], 0x2d
mov eax, 0x800
jne 0x4c848c
or word [esi + 0xa], ax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4c867d
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ebp + 8]
call fcn.004ca150
add esp, 0x18
test eax, eax
je 0x4c867d
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x4c], 0
jl 0x4c85d3
mov esi, dword [ebp - 0x14]
push 0
push edi
push esi
call fcn.004ed630
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp byte [esi + 0x51], 0
je 0x4c84f8
test eax, eax
je 0x4c8c54
push eax
push esi
call fcn.004ed570
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
push eax
push ebx
call fcn.00523df0
add esp, 0xc
test eax, eax
je 0x4c8c54
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.004d21a0
add esp, 0xc
cmp byte [ebp - 1], 0x2d
jne 0x4c8535
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 0x4c85dc
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x35
je 0x4c8561
cmp dl, 0x2d
jne 0x4c85dc
test byte [eax + 4], 1
jne 0x4c85dc
push dword [eax + 0xc]
call fcn.004ea530
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
call fcn.004ea530
mov cl, al
add esp, 8
mov al, byte [ebp - 1]
cmp al, cl
je 0x4c8592
cmp al, 0x43
jl 0x4c85d9
cmp cl, 0x43
jl 0x4c85d9
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.004ed500
add esp, 8
test eax, eax
je 0x4c85c5
cmp dword [eax + 0xc], fcn.004bfb00
je 0x4c85c5
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [ebp - 8]
call fcn.004ed240
add esp, 0xc
test eax, eax
je 0x4c85d9
mov eax, 0x800
or word [esi + 0xc], ax
mov dword [ebp - 0x4c], eax
jmp 0x4c85d9
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 0x4c8614
mov edx, dword [esi + 0x10]
cmp byte [edx], 0xae
je 0x4c8614
push edx
push eax
push ecx
call fcn.004e1c10
mov esi, eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push dword [eax + 0x10]
push dword [ebp - 8]
call fcn.004e1c10
add esp, 0x18
cmp esi, eax
mov esi, dword [ebp - 0x10]
je 0x4c861b
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 0x4c8635
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.004d4b90
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 0x4c8c42
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.004d0b60
add esp, 0x14
test eax, eax
je 0x4c88dc
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x4c86cf
push 0
push 0
push ecx
push dword [ebp - 0x14]
call fcn.004c9930
mov ecx, dword [ebp - 0x28]
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x4c86d6
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x40], 0
je 0x4c8735
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x4c8735
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 0x4c8735
mov edi, dword [ebp - 0x28]
mov ebx, eax
movzx edx, cl
mov al, byte [edx + 0x581a60]
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 + 0x581e78]
mov byte [esi + ecx], al
inc esi
mov ebx, dword [edi + 8]
add ebx, esi
mov cl, byte [ebx]
test cl, cl
jne 0x4c8703
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 0x51], 0
jne 0x4c878c
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 8]
test edx, edx
jne 0x4c874c
xor ecx, ecx
jmp 0x4c8760
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c8751
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 0x4c877f
xor esi, esi
cmp al, 0x40
movzx eax, al
cmove ecx, esi
mov al, byte [eax + 0x581e78]
inc al
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov byte [edx - 1], al
jmp 0x4c8792
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x40], 0
mov eax, 0x581b60
mov esi, str.NOCASE
cmove esi, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], esi
test eax, eax
je 0x4c87bd
push 0
push 0
push eax
push ecx
call fcn.004c9930
add esp, 0x10
jmp 0x4c87bf
xor eax, eax
push dword [ebp - 0x28]
push esi
mov esi, dword [ebp - 8]
push eax
push esi
call fcn.004ea450
add esp, 0xc
push eax
push 0x39
push esi
call fcn.004f8cc0
add esp, 0x10
test eax, eax
je 0x4c87f1
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.00523df0
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x48], eax
call fcn.004c80f0
mov eax, dword [ebp - 0x4c]
add esp, 0x18
test eax, eax
je 0x4c8826
push 0
push 0
push eax
push dword [ebp - 0x14]
call fcn.004c9930
add esp, 0x10
jmp 0x4c8828
xor eax, eax
push dword [ebp - 0x38]
push dword [ebp - 0x54]
push eax
push esi
call fcn.004ea450
add esp, 0xc
push eax
push 0x38
push esi
call fcn.004f8cc0
add esp, 0x10
test eax, eax
je 0x4c8859
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.00523df0
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x54], eax
call fcn.004c80f0
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 0x4c88dc
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 0x4c8c42
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.004d03f0
add esp, 0x14
test eax, eax
jle 0x4c8ac9
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 0x4c893c
push esi
push dword [ebp - 0x1c]
call fcn.005180c0
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ebp - 0x40], edx
jmp 0x4c894d
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 0x4c8962
push ecx
push dword [ebp - 0x1c]
call fcn.005180c0
add esp, 8
jmp 0x4c8970
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 0x4c8aae
test esi, esi
je 0x4c8992
push eax
push eax
push esi
push dword [ebp - 0x14]
call fcn.004c9930
add esp, 0x10
jmp 0x4c8994
xor eax, eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
push 0
push 0x34
push dword [eax]
call fcn.004e8630
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c8a01
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 0x4c89da
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
push esi
call fcn.004ca680
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4c8a16
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004ea2c0
add esp, 0xc
jmp 0x4c8a16
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4c8a16
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.004ed570
add esp, 8
test byte [edi + 4], 1
je 0x4c8a2c
test esi, esi
je 0x4c8a2c
or dword [esi + 4], 1
mov ax, word [edi + 0x24]
mov word [esi + 0x24], ax
push 3
push esi
push ebx
call fcn.00523df0
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 0x4c8920
mov esi, dword [ebp - 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x4c8c42
mov al, byte [edi]
cmp al, 0x35
je 0x4c8ae1
cmp al, 0x2d
jne 0x4c8bc5
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4c8aee
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4c8af8
mov edx, dword [eax + 0x14]
jmp 0x4c8b07
cmp cl, 0x88
jne 0x4c8bc5
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov edx, dword [edx]
mov dword [ebp - 0x54], edx
cmp edx, 1
jle 0x4c8bc5
mov eax, dword [edi + 0x10]
push eax
call fcn.004eeab0
add esp, 4
cmp eax, edx
jne 0x4c8bc5
mov eax, dword [edi + 0xc]
test dword [eax + 4], 0x800
je 0x4c8b45
mov eax, dword [edi + 0x10]
test dword [eax + 4], 0x800
jne 0x4c8bc5
xor eax, eax
mov dword [ebp + 0xc], eax
test edx, edx
jle 0x4c8bb4
nop
push eax
push dword [edi + 0xc]
push dword [ebp - 8]
call fcn.004ed660
push dword [ebp + 0xc]
mov esi, eax
push dword [edi + 0x10]
push dword [ebp - 8]
call fcn.004ed660
push eax
movzx eax, byte [edi]
push esi
push eax
push dword [ebp - 8]
call fcn.004f8cc0
add esp, 0x28
test eax, eax
je 0x4c8b92
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.00523df0
push eax
push ebx
push dword [ebp + 8]
call fcn.004c80f0
mov eax, dword [ebp + 0xc]
add esp, 0x18
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x54]
jl 0x4c8b50
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 0x4c8c42
cmp byte [edi], 0x31
jne 0x4c8c42
cmp dword [esi + 0x18], 0
jne 0x4c8c42
mov edx, dword [edi + 0xc]
cmp byte [edx], 0xae
jne 0x4c8c42
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4c8c42
cmp dword [eax + 0x44], 0
jne 0x4c8c42
xor ecx, ecx
push edx
mov dword [ebp + 0xc], ecx
call fcn.004eeab0
add esp, 4
test eax, eax
jle 0x4c8c42
nop
push 2
push edi
push ebx
call fcn.00523df0
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.004c80f0
push dword [ebp + 0x10]
push esi
push ebx
call fcn.004d21a0
push dword [edi + 0xc]
call fcn.004eeab0
add esp, 0x28
cmp dword [ebp + 0xc], eax
jl 0x4c8c00
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